#include <asnper.h>
Public Member Functions | |
| PPER_Stream (BOOL aligned=TRUE) | |
| PPER_Stream (const PBYTEArray &bytes, BOOL aligned=TRUE) | |
| PPER_Stream (const BYTE *buf, PINDEX size, BOOL aligned=TRUE) | |
| PPER_Stream & | operator= (const PBYTEArray &bytes) |
| unsigned | GetBitsLeft () const |
| virtual BOOL | Read (PChannel &chan) |
| virtual BOOL | Write (PChannel &chan) |
| virtual BOOL | NullDecode (PASN_Null &) |
| virtual void | NullEncode (const PASN_Null &) |
| virtual BOOL | BooleanDecode (PASN_Boolean &) |
| virtual void | BooleanEncode (const PASN_Boolean &) |
| virtual BOOL | IntegerDecode (PASN_Integer &) |
| virtual void | IntegerEncode (const PASN_Integer &) |
| virtual BOOL | EnumerationDecode (PASN_Enumeration &) |
| virtual void | EnumerationEncode (const PASN_Enumeration &) |
| virtual BOOL | RealDecode (PASN_Real &) |
| virtual void | RealEncode (const PASN_Real &) |
| virtual BOOL | ObjectIdDecode (PASN_ObjectId &) |
| virtual void | ObjectIdEncode (const PASN_ObjectId &) |
| virtual BOOL | BitStringDecode (PASN_BitString &) |
| virtual void | BitStringEncode (const PASN_BitString &) |
| virtual BOOL | OctetStringDecode (PASN_OctetString &) |
| virtual void | OctetStringEncode (const PASN_OctetString &) |
| virtual BOOL | ConstrainedStringDecode (PASN_ConstrainedString &) |
| virtual void | ConstrainedStringEncode (const PASN_ConstrainedString &) |
| virtual BOOL | BMPStringDecode (PASN_BMPString &) |
| virtual void | BMPStringEncode (const PASN_BMPString &) |
| virtual BOOL | ChoiceDecode (PASN_Choice &) |
| virtual void | ChoiceEncode (const PASN_Choice &) |
| virtual BOOL | ArrayDecode (PASN_Array &) |
| virtual void | ArrayEncode (const PASN_Array &) |
| virtual BOOL | SequencePreambleDecode (PASN_Sequence &) |
| virtual void | SequencePreambleEncode (const PASN_Sequence &) |
| virtual BOOL | SequenceKnownDecode (PASN_Sequence &, PINDEX, PASN_Object &) |
| virtual void | SequenceKnownEncode (const PASN_Sequence &, PINDEX, const PASN_Object &) |
| virtual BOOL | SequenceUnknownDecode (PASN_Sequence &) |
| virtual void | SequenceUnknownEncode (const PASN_Sequence &) |
| BOOL | IsAligned () const |
| BOOL | SingleBitDecode () |
| void | SingleBitEncode (BOOL value) |
| BOOL | MultiBitDecode (unsigned nBits, unsigned &value) |
| void | MultiBitEncode (unsigned value, unsigned nBits) |
| BOOL | SmallUnsignedDecode (unsigned &value) |
| void | SmallUnsignedEncode (unsigned value) |
| BOOL | LengthDecode (unsigned lower, unsigned upper, unsigned &len) |
| void | LengthEncode (unsigned len, unsigned lower, unsigned upper) |
| BOOL | UnsignedDecode (unsigned lower, unsigned upper, unsigned &value) |
| void | UnsignedEncode (int value, unsigned lower, unsigned upper) |
| void | AnyTypeEncode (const PASN_Object *value) |
Protected Attributes | |
| BOOL | aligned |
Class for ASN Packed Encoding Rules stream.
| PPER_Stream::PPER_Stream | ( | BOOL | aligned = TRUE |
) |
| PPER_Stream::PPER_Stream | ( | const PBYTEArray & | bytes, | |
| BOOL | aligned = TRUE | |||
| ) |
| PPER_Stream::PPER_Stream | ( | const BYTE * | buf, | |
| PINDEX | size, | |||
| BOOL | aligned = TRUE | |||
| ) |
| void PPER_Stream::AnyTypeEncode | ( | const PASN_Object * | value | ) |
| virtual BOOL PPER_Stream::ArrayDecode | ( | PASN_Array & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::ArrayEncode | ( | const PASN_Array & | ) | [virtual] |
Implements PASN_Stream.
| virtual BOOL PPER_Stream::BitStringDecode | ( | PASN_BitString & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::BitStringEncode | ( | const PASN_BitString & | ) | [virtual] |
Implements PASN_Stream.
| virtual BOOL PPER_Stream::BMPStringDecode | ( | PASN_BMPString & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::BMPStringEncode | ( | const PASN_BMPString & | ) | [virtual] |
Implements PASN_Stream.
| virtual BOOL PPER_Stream::BooleanDecode | ( | PASN_Boolean & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::BooleanEncode | ( | const PASN_Boolean & | ) | [virtual] |
Implements PASN_Stream.
| virtual BOOL PPER_Stream::ChoiceDecode | ( | PASN_Choice & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::ChoiceEncode | ( | const PASN_Choice & | ) | [virtual] |
Implements PASN_Stream.
| virtual BOOL PPER_Stream::ConstrainedStringDecode | ( | PASN_ConstrainedString & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::ConstrainedStringEncode | ( | const PASN_ConstrainedString & | ) | [virtual] |
Implements PASN_Stream.
| virtual BOOL PPER_Stream::EnumerationDecode | ( | PASN_Enumeration & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::EnumerationEncode | ( | const PASN_Enumeration & | ) | [virtual] |
Implements PASN_Stream.
| unsigned PPER_Stream::GetBitsLeft | ( | ) | const |
| virtual BOOL PPER_Stream::IntegerDecode | ( | PASN_Integer & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::IntegerEncode | ( | const PASN_Integer & | ) | [virtual] |
Implements PASN_Stream.
| BOOL PPER_Stream::IsAligned | ( | ) | const [inline] |
References aligned.
| BOOL PPER_Stream::LengthDecode | ( | unsigned | lower, | |
| unsigned | upper, | |||
| unsigned & | len | |||
| ) |
| void PPER_Stream::LengthEncode | ( | unsigned | len, | |
| unsigned | lower, | |||
| unsigned | upper | |||
| ) |
| BOOL PPER_Stream::MultiBitDecode | ( | unsigned | nBits, | |
| unsigned & | value | |||
| ) |
| void PPER_Stream::MultiBitEncode | ( | unsigned | value, | |
| unsigned | nBits | |||
| ) |
| virtual BOOL PPER_Stream::NullDecode | ( | PASN_Null & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::NullEncode | ( | const PASN_Null & | ) | [virtual] |
Implements PASN_Stream.
| virtual BOOL PPER_Stream::ObjectIdDecode | ( | PASN_ObjectId & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::ObjectIdEncode | ( | const PASN_ObjectId & | ) | [virtual] |
Implements PASN_Stream.
| virtual BOOL PPER_Stream::OctetStringDecode | ( | PASN_OctetString & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::OctetStringEncode | ( | const PASN_OctetString & | ) | [virtual] |
Implements PASN_Stream.
| PPER_Stream& PPER_Stream::operator= | ( | const PBYTEArray & | bytes | ) |
| virtual BOOL PPER_Stream::Read | ( | PChannel & | chan | ) | [virtual] |
Implements PASN_Stream.
| virtual BOOL PPER_Stream::RealDecode | ( | PASN_Real & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::RealEncode | ( | const PASN_Real & | ) | [virtual] |
Implements PASN_Stream.
| virtual BOOL PPER_Stream::SequenceKnownDecode | ( | PASN_Sequence & | , | |
| PINDEX | , | |||
| PASN_Object & | ||||
| ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::SequenceKnownEncode | ( | const PASN_Sequence & | , | |
| PINDEX | , | |||
| const PASN_Object & | ||||
| ) | [virtual] |
Implements PASN_Stream.
| virtual BOOL PPER_Stream::SequencePreambleDecode | ( | PASN_Sequence & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::SequencePreambleEncode | ( | const PASN_Sequence & | ) | [virtual] |
Implements PASN_Stream.
| virtual BOOL PPER_Stream::SequenceUnknownDecode | ( | PASN_Sequence & | ) | [virtual] |
Implements PASN_Stream.
| virtual void PPER_Stream::SequenceUnknownEncode | ( | const PASN_Sequence & | ) | [virtual] |
Implements PASN_Stream.
| BOOL PPER_Stream::SingleBitDecode | ( | ) |
| void PPER_Stream::SingleBitEncode | ( | BOOL | value | ) |
| BOOL PPER_Stream::SmallUnsignedDecode | ( | unsigned & | value | ) |
| void PPER_Stream::SmallUnsignedEncode | ( | unsigned | value | ) |
| BOOL PPER_Stream::UnsignedDecode | ( | unsigned | lower, | |
| unsigned | upper, | |||
| unsigned & | value | |||
| ) |
| void PPER_Stream::UnsignedEncode | ( | int | value, | |
| unsigned | lower, | |||
| unsigned | upper | |||
| ) |
| virtual BOOL PPER_Stream::Write | ( | PChannel & | chan | ) | [virtual] |
Implements PASN_Stream.
BOOL PPER_Stream::aligned [protected] |
Referenced by IsAligned().
1.6.1