Yate
|
Public Types | |
enum | SimpleSyntaxType { INTEGER_VALUE, STRING_VALUE, OBJECTID_VALUE } |
Public Member Functions | |
SimpleSyntax (void *data, int len) | |
int | decode (DataBlock &data) |
int | encode (DataBlock &data) |
void | getParams (NamedList *params) |
void | setParams (NamedList *params) |
Public Attributes | |
int | m_choiceType |
int32_t | m_integer_value |
OctetString | m_string_value |
ASNObjId | m_objectID_value |
Static Public Attributes | |
static const int | s_type = ASNLib::CHOICE |
static const int32_t | s_integer_valueMinSize = 0x80000000 |
static const int32_t | s_integer_valueMaxSize = 0x7fffffff |
static const u_int16_t | s_string_valueSizeMinSize = 0x0 |
static const u_int16_t | s_string_valueSizeMaxSize = 0xffff |
Function to decode the parameters of this object from given data
data | DataBlock from which the object is decoded |
Implements AsnObject.
Function to encode this object into a datablock
data | The DataBlock in which the object should be encoded |
Implements AsnObject.
Function for obtaining this object's data
params | NamedList in which this object's data should be put |
Implements AsnObject.
Function for setting this object's data
params | NamedList containing the values to which this object's data should be set |
Implements AsnObject.