|
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 AsnValue &original) | |
| AsnValue (const String &value, int type=STRING) | |
| virtual | ~AsnValue () |
| const String & | getValue () |
| int | type () |
| AsnValue & | operator= (AsnValue *val) |
| AsnValue & | operator= (AsnValue val) |
| void | setValue (const String &data) |
| void | setType (int type) |
Public Member Functions inherited from GenObject | |
| GenObject () | |
| virtual | ~GenObject () |
| virtual bool | alive () const |
| virtual void | destruct () |
| virtual const String & | toString () const |
| virtual const String & | traceId () const |
| virtual void * | getObject (const String &name) const |
| NamedCounter * | getObjCounter () const |
| NamedCounter * | setObjCounter (NamedCounter *counter) |
Additional Inherited Members | |
Static Public Member Functions inherited from GenObject | |
| static void * | getObject (const String &name, const GenObject *obj) |
| static bool | getObjCounting () |
| static void | setObjCounting (bool enable) |
| static NamedCounter * | getObjCounter (const String &name, bool create=true) |
| static ObjList & | getObjCounters () |
An ASN.1 value.
Class wrapper for different types of ASN.1 values
| enum ValType |
Type of value
|
inline |
Constructor
Referenced by AsnValue(), operator=(), and operator=().
|
inlinevirtual |
Destructor
|
inline |
Get the value in the form of a string
Referenced by operator=(), and operator=().
Assign operator
References AsnValue(), getValue(), and type().
Assign operator
References AsnValue(), getValue(), and type().
|
inline |
|
inline |
Set data
| data | The data to which the internal data will be set |
|
inline |
Get the type of the data so that we know how to interpret it
Referenced by AsnValue(), operator=(), operator=(), and setType().