PASNObjectID Class Reference

#include <pasn.h>

Inheritance diagram for PASNObjectID:

PASNObject PObject List of all members.

Public Member Functions

 PASNObjectID (const PString &str)
 PASNObjectID (PASNOid *val, BYTE theLen)
 PASNObjectID (const PBYTEArray &buffer)
 PASNObjectID (const PBYTEArray &buffer, PINDEX &ptr)
void PrintOn (ostream &strm) const
void Encode (PBYTEArray &buffer)
WORD GetEncodedLength ()
PObjectClone () const
ASNType GetType () const
PString GetString () const
PString GetTypeAsString () const

Protected Member Functions

PBoolean Decode (const PBYTEArray &buffer, PINDEX &i)

Detailed Description

A descendant of PASNObject which is an unsigned ASN ObjID type.


Constructor & Destructor Documentation

PASNObjectID::PASNObjectID ( const PString str  ) 

PASNObjectID::PASNObjectID ( PASNOid val,
BYTE  theLen 
)

PASNObjectID::PASNObjectID ( const PBYTEArray buffer  ) 

PASNObjectID::PASNObjectID ( const PBYTEArray buffer,
PINDEX &  ptr 
)


Member Function Documentation

PObject* PASNObjectID::Clone (  )  const [virtual]

Virtual function used to duplicate objects

Reimplemented from PASNObject.

PBoolean PASNObjectID::Decode ( const PBYTEArray buffer,
PINDEX &  i 
) [protected]

void PASNObjectID::Encode ( PBYTEArray buffer  )  [virtual]

Virtual function used to encode the object into ASN format

Reimplemented from PASNObject.

WORD PASNObjectID::GetEncodedLength (  )  [virtual]

Virtual function used to get the length of object when encoded into ASN format

Reimplemented from PASNObject.

PString PASNObjectID::GetString (  )  const [virtual]

Return the value of the object as a PString. This function can be use for all ASN object types

Reimplemented from PASNObject.

ASNType PASNObjectID::GetType (  )  const [virtual]

Return a value of type enum ASNType which indicates the type of the object

Reimplemented from PASNObject.

PString PASNObjectID::GetTypeAsString (  )  const [virtual]

Return a string giving the type of the object

Reimplemented from PASNObject.

void PASNObjectID::PrintOn ( ostream &  strm  )  const [virtual]

Virtual functions used by the PObject::operator<< function to print the value of the object.

Reimplemented from PASNObject.


The documentation for this class was generated from the following file:
Generated on Thu May 27 01:36:48 2010 for PTLib by  doxygen 1.4.7