|
CoT2Klv Converter Version 1.0
|
CEG0601Enc class definition More...
Public Member Functions | |
| const char * | EncodeValue (const unsigned char tag, const void *value, int &length) |
| Converts a value into units according to the EG0601 spec. | |
Public Attributes | |
| unsigned __int64 | m_uval_64 |
| int | m_val_32 |
| unsigned short | m_uval_16 |
\
CEG0601Enc class definition. CEG0601Enc metadata processing module.
| const char* CEG0601Enc::EncodeValue | ( | const unsigned char | tag, |
| const void * | value, | ||
| int & | length | ||
| ) |
EncodeValue converts a value into formated value in units defined in EG0601 spec.
| tag | a 1 byte Key Tag |
| value | a void*. Pointer to value |
| length | a size_t&. A number of bytes (according to EG0601 spec) in returned buffer. |
double_val = 159.9744; p = conv->EncodeValue( 5, &double_val , length );