#include <asner.h>
Inheritance diagram for PASN_Stream:

Public Member Functions | |
| PASN_Stream () | |
| PASN_Stream (const PBYTEArray &bytes) | |
| PASN_Stream (const BYTE *buf, PINDEX size) | |
| void | PrintOn (ostream &strm) const |
| PINDEX | GetPosition () const |
| void | SetPosition (PINDEX newPos) |
| BOOL | IsAtEnd () |
| void | ResetDecoder () |
| void | BeginEncoding () |
| void | CompleteEncoding () |
| virtual BOOL | Read (PChannel &chan)=0 |
| virtual BOOL | Write (PChannel &chan)=0 |
| virtual BOOL | NullDecode (PASN_Null &)=0 |
| virtual void | NullEncode (const PASN_Null &)=0 |
| virtual BOOL | BooleanDecode (PASN_Boolean &)=0 |
| virtual void | BooleanEncode (const PASN_Boolean &)=0 |
| virtual BOOL | IntegerDecode (PASN_Integer &)=0 |
| virtual void | IntegerEncode (const PASN_Integer &)=0 |
| virtual BOOL | EnumerationDecode (PASN_Enumeration &)=0 |
| virtual void | EnumerationEncode (const PASN_Enumeration &)=0 |
| virtual BOOL | RealDecode (PASN_Real &)=0 |
| virtual void | RealEncode (const PASN_Real &)=0 |
| virtual BOOL | ObjectIdDecode (PASN_ObjectId &)=0 |
| virtual void | ObjectIdEncode (const PASN_ObjectId &)=0 |
| virtual BOOL | BitStringDecode (PASN_BitString &)=0 |
| virtual void | BitStringEncode (const PASN_BitString &)=0 |
| virtual BOOL | OctetStringDecode (PASN_OctetString &)=0 |
| virtual void | OctetStringEncode (const PASN_OctetString &)=0 |
| virtual BOOL | ConstrainedStringDecode (PASN_ConstrainedString &)=0 |
| virtual void | ConstrainedStringEncode (const PASN_ConstrainedString &)=0 |
| virtual BOOL | BMPStringDecode (PASN_BMPString &)=0 |
| virtual void | BMPStringEncode (const PASN_BMPString &)=0 |
| virtual BOOL | ChoiceDecode (PASN_Choice &)=0 |
| virtual void | ChoiceEncode (const PASN_Choice &)=0 |
| virtual BOOL | ArrayDecode (PASN_Array &)=0 |
| virtual void | ArrayEncode (const PASN_Array &)=0 |
| virtual BOOL | SequencePreambleDecode (PASN_Sequence &)=0 |
| virtual void | SequencePreambleEncode (const PASN_Sequence &)=0 |
| virtual BOOL | SequenceKnownDecode (PASN_Sequence &, PINDEX, PASN_Object &)=0 |
| virtual void | SequenceKnownEncode (const PASN_Sequence &, PINDEX, const PASN_Object &)=0 |
| virtual BOOL | SequenceUnknownDecode (PASN_Sequence &)=0 |
| virtual void | SequenceUnknownEncode (const PASN_Sequence &)=0 |
| BYTE | ByteDecode () |
| void | ByteEncode (unsigned value) |
| unsigned | BlockDecode (BYTE *bufptr, unsigned nBytes) |
| void | BlockEncode (const BYTE *bufptr, PINDEX nBytes) |
| void | ByteAlign () |
Protected Attributes | |
| PINDEX | byteOffset |
| unsigned | bitOffset |
| PASN_Stream::PASN_Stream | ( | ) |
| PASN_Stream::PASN_Stream | ( | const PBYTEArray & | bytes | ) |
| PASN_Stream::PASN_Stream | ( | const BYTE * | buf, | |
| PINDEX | size | |||
| ) |
| void PASN_Stream::PrintOn | ( | ostream & | strm | ) | const |
| PINDEX PASN_Stream::GetPosition | ( | ) | const [inline] |
| void PASN_Stream::SetPosition | ( | PINDEX | newPos | ) |
| BOOL PASN_Stream::IsAtEnd | ( | ) | [inline] |
| void PASN_Stream::ResetDecoder | ( | ) |
| void PASN_Stream::BeginEncoding | ( | ) |
| void PASN_Stream::CompleteEncoding | ( | ) |
| virtual BOOL PASN_Stream::Read | ( | PChannel & | chan | ) | [pure virtual] |
| virtual BOOL PASN_Stream::Write | ( | PChannel & | chan | ) | [pure virtual] |
| virtual BOOL PASN_Stream::NullDecode | ( | PASN_Null & | ) | [pure virtual] |
| virtual void PASN_Stream::NullEncode | ( | const PASN_Null & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::BooleanDecode | ( | PASN_Boolean & | ) | [pure virtual] |
| virtual void PASN_Stream::BooleanEncode | ( | const PASN_Boolean & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::IntegerDecode | ( | PASN_Integer & | ) | [pure virtual] |
| virtual void PASN_Stream::IntegerEncode | ( | const PASN_Integer & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::EnumerationDecode | ( | PASN_Enumeration & | ) | [pure virtual] |
| virtual void PASN_Stream::EnumerationEncode | ( | const PASN_Enumeration & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::RealDecode | ( | PASN_Real & | ) | [pure virtual] |
| virtual void PASN_Stream::RealEncode | ( | const PASN_Real & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::ObjectIdDecode | ( | PASN_ObjectId & | ) | [pure virtual] |
| virtual void PASN_Stream::ObjectIdEncode | ( | const PASN_ObjectId & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::BitStringDecode | ( | PASN_BitString & | ) | [pure virtual] |
| virtual void PASN_Stream::BitStringEncode | ( | const PASN_BitString & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::OctetStringDecode | ( | PASN_OctetString & | ) | [pure virtual] |
| virtual void PASN_Stream::OctetStringEncode | ( | const PASN_OctetString & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::ConstrainedStringDecode | ( | PASN_ConstrainedString & | ) | [pure virtual] |
| virtual void PASN_Stream::ConstrainedStringEncode | ( | const PASN_ConstrainedString & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::BMPStringDecode | ( | PASN_BMPString & | ) | [pure virtual] |
| virtual void PASN_Stream::BMPStringEncode | ( | const PASN_BMPString & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::ChoiceDecode | ( | PASN_Choice & | ) | [pure virtual] |
| virtual void PASN_Stream::ChoiceEncode | ( | const PASN_Choice & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::ArrayDecode | ( | PASN_Array & | ) | [pure virtual] |
| virtual void PASN_Stream::ArrayEncode | ( | const PASN_Array & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::SequencePreambleDecode | ( | PASN_Sequence & | ) | [pure virtual] |
| virtual void PASN_Stream::SequencePreambleEncode | ( | const PASN_Sequence & | ) | [pure virtual] |
| virtual BOOL PASN_Stream::SequenceKnownDecode | ( | PASN_Sequence & | , | |
| PINDEX | , | |||
| PASN_Object & | ||||
| ) | [pure virtual] |
| virtual void PASN_Stream::SequenceKnownEncode | ( | const PASN_Sequence & | , | |
| PINDEX | , | |||
| const PASN_Object & | ||||
| ) | [pure virtual] |
| virtual BOOL PASN_Stream::SequenceUnknownDecode | ( | PASN_Sequence & | ) | [pure virtual] |
| virtual void PASN_Stream::SequenceUnknownEncode | ( | const PASN_Sequence & | ) | [pure virtual] |
| BYTE PASN_Stream::ByteDecode | ( | ) |
| void PASN_Stream::ByteEncode | ( | unsigned | value | ) |
| unsigned PASN_Stream::BlockDecode | ( | BYTE * | bufptr, | |
| unsigned | nBytes | |||
| ) |
| void PASN_Stream::BlockEncode | ( | const BYTE * | bufptr, | |
| PINDEX | nBytes | |||
| ) |
| void PASN_Stream::ByteAlign | ( | ) |
PINDEX PASN_Stream::byteOffset [protected] |
unsigned PASN_Stream::bitOffset [protected] |
1.5.1