|
Yate
|
An ASN.1 value. More...
#include <yateasn.h>
Public Types | |
| enum | ValType { INTEGER = 1, STRING = 2, OBJECT_ID = 3, IPADDRESS = 4, COUNTER = 5, TIMETICKS = 6, ARBITRARY = 7, BIG_COUNTER = 8, UNSIGNED_INTEGER = 9 } |
Public Member Functions | |
| AsnValue () | |
| AsnValue (const String &value, int type=STRING) | |
| virtual | ~AsnValue () |
| String | getValue () |
| int | type () |
| AsnValue & | operator= (AsnValue *val) |
| AsnValue & | operator= (AsnValue val) |
| void | setValue (const String &data) |
| void | setType (int type) |
An ASN.1 value.
Class wrapper for different types of ASN.1 values
| enum ValType |
Type of value
| AsnValue | ( | ) | [inline] |
Constructor
| virtual ~AsnValue | ( | ) | [inline, virtual] |
Destructor
Get the value in the form of a string
Referenced by AsnValue::operator=().
Assign operator
References AsnValue::getValue(), and AsnValue::type().
Assign operator
References AsnValue::getValue(), and AsnValue::type().
| void setType | ( | int | type | ) | [inline] |
Set data type
| type | The type assigned |
Set data
| data | The data to which the internal data will be set |
| int type | ( | ) | [inline] |
Get the type of the data so that we know how to interpret it
Referenced by AsnValue::operator=().
1.7.6.1