#include <pasn.h>
Inheritance diagram for PASNString:
Public Member Functions | |
PASNString (const PString &str) | |
PASNString (const BYTE *ptr, int len) | |
PASNString (const PBYTEArray &buffer, PASNObject::ASNType=String) | |
PASNString (const PBYTEArray &buffer, PINDEX &ptr, PASNObject::ASNType=String) | |
void | PrintOn (ostream &strm) const |
void | Encode (PBYTEArray &buffer) |
WORD | GetEncodedLength () |
PObject * | Clone () const |
PString | GetString () const |
ASNType | GetType () const |
PString | GetTypeAsString () const |
Protected Member Functions | |
BOOL | Decode (const PBYTEArray &buffer, PINDEX &i, PASNObject::ASNType type) |
void | Encode (PBYTEArray &buffer, PASNObject::ASNType type) |
Protected Attributes | |
PString | value |
WORD | valueLen |
|
|
|
|
|
|
|
|
|
Virtual function used to duplicate objects Reimplemented from PASNObject. Reimplemented in PASNIPAddress. |
|
|
|
|
|
Virtual function used to encode the object into ASN format Reimplemented from PASNObject. Reimplemented in PASNIPAddress. |
|
Virtual function used to get the length of object when encoded into ASN format 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. Reimplemented in PASNIPAddress. |
|
Return a value of type enum ASNType which indicates the type of the object Reimplemented from PASNObject. Reimplemented in PASNIPAddress. |
|
Return a string giving the type of the object Reimplemented from PASNObject. Reimplemented in PASNIPAddress. |
|
Virtual functions used by the PObject::operator<< function to print the value of the object. Reimplemented from PASNObject. |
|
|
|
|