#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) |
| PBoolean | Decode (const PBYTEArray &buffer, PINDEX &i) |
| WORD | GetEncodedLength () |
| ASNType | GetType () const |
| PString | GetTypeAsString () const |
| PBoolean | Encode (PBYTEArray &buffer, PINDEX maxLen) |
| PASNSequence::PASNSequence | ( | ) |
| PASNSequence::PASNSequence | ( | BYTE | selector | ) |
| PASNSequence::PASNSequence | ( | const PBYTEArray & | buffer | ) |
| PASNSequence::PASNSequence | ( | const PBYTEArray & | buffer, | |
| PINDEX & | i | |||
| ) |
| void PASNSequence::Append | ( | PASNObject * | obj | ) |
| PINDEX PASNSequence::GetSize | ( | ) | const |
| PASNObject& PASNSequence::operator[] | ( | PINDEX | idx | ) | const |
| const PASNSequence& PASNSequence::GetSequence | ( | ) | const [virtual] |
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.
| void PASNSequence::AppendInteger | ( | PASNInt | value | ) |
| void PASNSequence::AppendString | ( | const PString & | str | ) |
| void PASNSequence::AppendObjectID | ( | const PString & | str | ) |
| void PASNSequence::AppendObjectID | ( | PASNOid * | val, | |
| BYTE | len | |||
| ) |
| int PASNSequence::GetChoice | ( | ) | const |
Return the descriminator for Choice sequences
Reimplemented from PASNObject.
| void PASNSequence::PrintOn | ( | ostream & | strm | ) | const [virtual] |
Virtual functions used by the PObject::operator<< function to print the value of the object.
Reimplemented from PASNObject.
| void PASNSequence::Encode | ( | PBYTEArray & | buffer | ) | [virtual] |
Virtual function used to encode the object into ASN format
Reimplemented from PASNObject.
| PBoolean PASNSequence::Decode | ( | const PBYTEArray & | buffer, | |
| PINDEX & | i | |||
| ) |
| WORD PASNSequence::GetEncodedLength | ( | ) | [virtual] |
Virtual function used to get the length of object when encoded into ASN format
Reimplemented from PASNObject.
| ASNType PASNSequence::GetType | ( | ) | const [virtual] |
Return a value of type enum ASNType which indicates the type of the object
Reimplemented from PASNObject.
| PString PASNSequence::GetTypeAsString | ( | ) | const [virtual] |
Return a string giving the type of the object
Reimplemented from PASNObject.
| PBoolean PASNSequence::Encode | ( | PBYTEArray & | buffer, | |
| PINDEX | maxLen | |||
| ) |
1.5.1