#include <pasn.h>
Inheritance diagram for PASNInteger:

Public Member Functions | |
| PASNInteger (PASNInt val) | |
| PASNInteger (const PBYTEArray &buffer, PINDEX &ptr) | |
| void | PrintOn (ostream &strm) const |
| Virtual functions used by the PObject::operator<< function to print the value of the object. | |
| void | Encode (PBYTEArray &buffer) |
| Virtual function used to encode the object into ASN format. | |
| WORD | GetEncodedLength () |
| Virtual function used to get the length of object when encoded into ASN format. | |
| PObject * | Clone () const |
| Virtual function used to duplicate objects. | |
| PASNInt | GetInteger () const |
| Return the value of the ASN object as a PASNInt. | |
| PString | GetString () const |
| Return the value of the object as a PString. | |
| ASNType | GetType () const |
| Return a value of type enum ASNType which indicates the type of the object. | |
| PString | GetTypeAsString () const |
| Return a string giving the type of the object. | |
| PASNInteger::PASNInteger | ( | PASNInt | val | ) |
| PASNInteger::PASNInteger | ( | const PBYTEArray & | buffer, | |
| PINDEX & | ptr | |||
| ) |
| PObject* PASNInteger::Clone | ( | ) | const [virtual] |
| void PASNInteger::Encode | ( | PBYTEArray & | buffer | ) | [virtual] |
| WORD PASNInteger::GetEncodedLength | ( | ) | [virtual] |
Virtual function used to get the length of object when encoded into ASN format.
Reimplemented from PASNObject.
| PASNInt PASNInteger::GetInteger | ( | ) | const [virtual] |
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.
| PString PASNInteger::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 PASNInteger::GetType | ( | ) | const [virtual] |
Return a value of type enum ASNType which indicates the type of the object.
Reimplemented from PASNObject.
| PString PASNInteger::GetTypeAsString | ( | ) | const [virtual] |
| void PASNInteger::PrintOn | ( | ostream & | strm | ) | const [virtual] |
Virtual functions used by the PObject::operator<< function to print the value of the object.
Reimplemented from PASNObject.
1.4.7