#include <pasn.h>
Inheritance diagram for PASNInteger:
Public Member Functions | |
PASNInteger (PASNInt val) | |
PASNInteger (const PBYTEArray &buffer, PINDEX &ptr) | |
void | PrintOn (ostream &strm) const |
void | Encode (PBYTEArray &buffer) |
WORD | GetEncodedLength () |
PObject * | Clone () const |
PASNInt | GetInteger () const |
PString | GetString () const |
ASNType | GetType () const |
PString | GetTypeAsString () const |
|
|
|
|
|
Virtual function used to duplicate objects Reimplemented from PASNObject. |
|
Virtual function used to encode the object into ASN format Reimplemented from PASNObject. |
|
Virtual function used to get the length of object when encoded into ASN format Reimplemented from PASNObject. |
|
Return the value of the ASN object as a PASNInt. This function will assert if the object is not a descendant of PASNInteger. Reimplemented from PASNObject. |
|
Return the value of the object as a PString. This function can be use for all ASN object types Reimplemented from PASNObject. |
|
Return a value of type enum ASNType which indicates the type of the object Reimplemented from PASNObject. |
|
Return a string giving the type of the object Reimplemented from PASNObject. |
|
Virtual functions used by the PObject::operator<< function to print the value of the object. Reimplemented from PASNObject. |