PASN_ObjectId Class Reference
#include <asner.h>
List of all members.
Detailed Description
Class for ASN Object Identifier type.
Constructor & Destructor Documentation
PASN_ObjectId::PASN_ObjectId |
( |
const char * |
dotstr = NULL |
) |
|
PASN_ObjectId::PASN_ObjectId |
( |
unsigned |
tag, |
|
|
TagClass |
tagClass | |
|
) |
| | |
Member Function Documentation
PString PASN_ObjectId::AsString |
( |
|
) |
const |
virtual PObject* PASN_ObjectId::Clone |
( |
|
) |
const [virtual] |
Create a copy of the class on the heap. The exact semantics of the descendent class determine what is required to make a duplicate of the instance. Not all classes can even { do} a clone operation.
The main user of the clone function is the PDictionary# class as it requires copies of the dictionary keys.
The default behaviour is for this function to assert.
- Returns:
- pointer to new copy of the class instance.
Reimplemented from PObject.
BOOL PASN_ObjectId::CommonDecode |
( |
PASN_Stream & |
strm, |
|
|
unsigned |
dataLen | |
|
) |
| | |
void PASN_ObjectId::CommonEncode |
( |
PBYTEArray & |
eObjId |
) |
const |
virtual BOOL PASN_ObjectId::Decode |
( |
PASN_Stream & |
|
) |
[virtual] |
virtual void PASN_ObjectId::Encode |
( |
PASN_Stream & |
|
) |
const [virtual] |
virtual PINDEX PASN_ObjectId::GetDataLength |
( |
|
) |
const [virtual] |
PINDEX PASN_ObjectId::GetSize |
( |
|
) |
const [inline] |
virtual PString PASN_ObjectId::GetTypeAsString |
( |
|
) |
const [virtual] |
Return a string giving the type of the object
Implements PASN_Object.
bool PASN_ObjectId::operator!= |
( |
const PString & |
dotstr |
) |
const [inline] |
bool PASN_ObjectId::operator!= |
( |
const char * |
dotstr |
) |
const [inline] |
bool PASN_ObjectId::operator== |
( |
const PASN_ObjectId & |
obj |
) |
const [inline] |
Compare the two objects.
- Returns:
- TRUE if objects are equal.
Reimplemented from PObject.
References value.
bool PASN_ObjectId::operator== |
( |
const PString & |
dotstr |
) |
const [inline] |
bool PASN_ObjectId::operator== |
( |
const char * |
dotstr |
) |
const |
unsigned PASN_ObjectId::operator[] |
( |
PINDEX |
idx |
) |
const [inline] |
virtual void PASN_ObjectId::PrintOn |
( |
ostream & |
strm |
) |
const [virtual] |
Output the contents of the object to the stream. The exact output is dependent on the exact semantics of the descendent class. This is primarily used by the standard operator<<# function.
The default behaviour is to print the class name.
Reimplemented from PObject.
void PASN_ObjectId::SetValue |
( |
const unsigned * |
numbers, |
|
|
PINDEX |
size | |
|
) |
| | |
void PASN_ObjectId::SetValue |
( |
const PUnsignedArray & |
numbers |
) |
[inline] |
void PASN_ObjectId::SetValue |
( |
const PString & |
dotstr |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: