| 96 | } |
| 97 | |
| 98 | string const ValueRaw::GetAsString |
| 99 | ( |
| 100 | ) const |
| 101 | { |
| 102 | string str = ""; |
| 103 | char bstr[10]; |
| 104 | |
| 105 | for( uint32 i=0; i<m_valueLength; ++i ) |
| 106 | { |
| 107 | if( i ) |
| 108 | { |
| 109 | str += " "; |
| 110 | } |
| 111 | snprintf( bstr, sizeof(bstr), "0x%.2x", m_value[i] ); |
| 112 | str += bstr; |
| 113 | } |
| 114 | |
| 115 | return str; |
| 116 | } |
| 117 | |
| 118 | bool ValueRaw::SetFromString |
| 119 | ( |
nothing calls this directly
no outgoing calls
no test coverage detected