#include <pasn.h>
Inheritance diagram for PASNSequence:
Public Member Functions | |
PASNSequence () | |
PASNSequence (BYTE selector) | |
PASNSequence (const PBYTEArray &buffer) | |
PASNSequence (const PBYTEArray &buffer, PINDEX &i) | |
void | Append (PASNObject *obj) |
PINDEX | GetSize () const |
PASNObject & | operator[] (PINDEX idx) const |
const PASNSequence & | GetSequence () const |
void | AppendInteger (PASNInt value) |
void | AppendString (const PString &str) |
void | AppendObjectID (const PString &str) |
void | AppendObjectID (PASNOid *val, BYTE len) |
int | GetChoice () const |
void | PrintOn (ostream &strm) const |
void | Encode (PBYTEArray &buffer) |
BOOL | Decode (const PBYTEArray &buffer, PINDEX &i) |
WORD | GetEncodedLength () |
ASNType | GetType () const |
PString | GetTypeAsString () const |
BOOL | Encode (PBYTEArray &buffer, PINDEX maxLen) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual function used to encode the object into ASN format Reimplemented from PASNObject. |
|
Return the descriminator for Choice sequences 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 object as a PString This function will assert if the object is not a descendant of PASNSequence. 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. |