PTLib
Version 2.10.4
|
A descendant of PASNObject which is an unsigned ASN counter type. More...
#include <pasn.h>
Public Member Functions | |
PASNCounter (PASNUnsigned val) | |
PASNCounter (const PBYTEArray &buffer, PINDEX &ptr) | |
void | Encode (PBYTEArray &buffer) |
Virtual function used to encode the object into ASN format. | |
PObject * | Clone () const |
Virtual function used to duplicate objects. | |
PASNObject::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. |
A descendant of PASNObject which is an unsigned ASN counter type.
PASNCounter::PASNCounter | ( | PASNUnsigned | val | ) | [inline] |
Referenced by Clone().
PASNCounter::PASNCounter | ( | const PBYTEArray & | buffer, |
PINDEX & | ptr | ||
) | [inline] |
References PASNObject::Counter, and PASNUnsignedInteger::Decode().
PObject* PASNCounter::Clone | ( | ) | const [inline, virtual] |
Virtual function used to duplicate objects.
Reimplemented from PASNObject.
References PASNCounter(), and PNEW.
void PASNCounter::Encode | ( | PBYTEArray & | buffer | ) | [inline, virtual] |
Virtual function used to encode the object into ASN format.
Reimplemented from PASNObject.
References PASNObject::Counter.
PASNObject::ASNType PASNCounter::GetType | ( | ) | const [inline, virtual] |
Return a value of type enum ASNType which indicates the type of the object.
Reimplemented from PASNObject.
References PASNObject::Counter.
PString PASNCounter::GetTypeAsString | ( | ) | const [virtual] |
Return a string giving the type of the object.
Reimplemented from PASNObject.