![]() |
VR-Forces 4.10 Class Documentation
|
A DtKlvKey instance represents a KLV (Key-Length-Value) Key field. More...
Public Types | |
| enum | Encoding { BER, BER_OID, _16B } |
Public Member Functions | |
| DtKlvKey () | |
| Default CTOR. More... | |
| DtKlvKey (unsigned char *universalKey) | |
| CTOR This version takes a key represented as a string. More... | |
| DtKlvKey (unsigned int tag, Encoding encoding) | |
| CTOR This CTOR takes the tag and encoding type. More... | |
| ~DtKlvKey () | |
| bool | operator== (const DtKlvKey &rhs) |
| Comparison operator. More... | |
| unsigned char * | bytes () |
| Get the set of bytes that makes up this key. More... | |
| void | setBytes (unsigned char *buffer, unsigned int length, Encoding enc) |
| Set the key as a set of bytes. More... | |
| void | setBytes (std::string stringRep) |
| unsigned int | bytesLength () |
| Get the number of bytes in the key. More... | |
| Encoding | encoding () |
| Get the encoding type used by this key. More... | |
| void | setEncoding (Encoding enc) |
| Set the encoding type used by this key. More... | |
| unsigned int | tag () |
| Get the key tag not valid for 16 byte Universal Keys. More... | |
| void | setTag (unsigned int value) |
| Set the key tag. More... | |
Protected Attributes | |
| unsigned char | myBytes [16] |
| unsigned int | myTagLength |
| Encoding | myEncoding |
A DtKlvKey instance represents a KLV (Key-Length-Value) Key field.
| makVrv::DtKlvKey::DtKlvKey | ( | ) |
Default CTOR.
CTOR This version takes a key represented as a string.
CTOR This CTOR takes the tag and encoding type.
| makVrv::DtKlvKey::~DtKlvKey | ( | ) |
Set the key as a set of bytes.
| void makVrv::DtKlvKey::setBytes | ( | std::string | stringRep | ) |
| Encoding makVrv::DtKlvKey::encoding | ( | ) |
Get the encoding type used by this key.
| void makVrv::DtKlvKey::setEncoding | ( | Encoding | enc | ) |
Set the encoding type used by this key.
|
protected |