PTLib
Version 2.10.4
|
Base class for ASN decoder/encoder stream. More...
#include <asner.h>
Base class for ASN decoder/encoder stream.
PASN_Stream::PASN_Stream | ( | const PBYTEArray & | bytes | ) |
PASN_Stream::PASN_Stream | ( | const BYTE * | buf, |
PINDEX | size | ||
) |
virtual PBoolean PASN_Stream::ArrayDecode | ( | PASN_Array & | ) | [pure virtual] |
virtual void PASN_Stream::ArrayEncode | ( | const PASN_Array & | ) | [pure virtual] |
void PASN_Stream::BeginEncoding | ( | ) |
virtual PBoolean PASN_Stream::BitStringDecode | ( | PASN_BitString & | ) | [pure virtual] |
virtual void PASN_Stream::BitStringEncode | ( | const PASN_BitString & | ) | [pure virtual] |
unsigned PASN_Stream::BlockDecode | ( | BYTE * | bufptr, |
unsigned | nBytes | ||
) |
void PASN_Stream::BlockEncode | ( | const BYTE * | bufptr, |
PINDEX | nBytes | ||
) |
virtual PBoolean PASN_Stream::BMPStringDecode | ( | PASN_BMPString & | ) | [pure virtual] |
virtual void PASN_Stream::BMPStringEncode | ( | const PASN_BMPString & | ) | [pure virtual] |
virtual PBoolean PASN_Stream::BooleanDecode | ( | PASN_Boolean & | ) | [pure virtual] |
virtual void PASN_Stream::BooleanEncode | ( | const PASN_Boolean & | ) | [pure virtual] |
void PASN_Stream::ByteAlign | ( | ) |
BYTE PASN_Stream::ByteDecode | ( | ) |
void PASN_Stream::ByteEncode | ( | unsigned | value | ) |
virtual PBoolean PASN_Stream::ChoiceDecode | ( | PASN_Choice & | ) | [pure virtual] |
virtual void PASN_Stream::ChoiceEncode | ( | const PASN_Choice & | ) | [pure virtual] |
void PASN_Stream::CompleteEncoding | ( | ) |
virtual PBoolean PASN_Stream::ConstrainedStringDecode | ( | PASN_ConstrainedString & | ) | [pure virtual] |
virtual void PASN_Stream::ConstrainedStringEncode | ( | const PASN_ConstrainedString & | ) | [pure virtual] |
virtual PBoolean PASN_Stream::EnumerationDecode | ( | PASN_Enumeration & | ) | [pure virtual] |
virtual void PASN_Stream::EnumerationEncode | ( | const PASN_Enumeration & | ) | [pure virtual] |
PINDEX PASN_Stream::GetPosition | ( | ) | const [inline] |
References byteOffset.
virtual PBoolean PASN_Stream::IntegerDecode | ( | PASN_Integer & | ) | [pure virtual] |
virtual void PASN_Stream::IntegerEncode | ( | const PASN_Integer & | ) | [pure virtual] |
PBoolean PASN_Stream::IsAtEnd | ( | ) | [inline] |
References byteOffset, and PContainer::GetSize().
virtual PBoolean PASN_Stream::NullDecode | ( | PASN_Null & | ) | [pure virtual] |
virtual void PASN_Stream::NullEncode | ( | const PASN_Null & | ) | [pure virtual] |
virtual PBoolean PASN_Stream::ObjectIdDecode | ( | PASN_ObjectId & | ) | [pure virtual] |
virtual void PASN_Stream::ObjectIdEncode | ( | const PASN_ObjectId & | ) | [pure virtual] |
virtual PBoolean PASN_Stream::OctetStringDecode | ( | PASN_OctetString & | ) | [pure virtual] |
virtual void PASN_Stream::OctetStringEncode | ( | const PASN_OctetString & | ) | [pure virtual] |
void PASN_Stream::PrintOn | ( | ostream & | strm | ) | const [virtual] |
Output the contents of the object to the stream.
The exact output is dependent on the exact semantics of the descendent class. This is primarily used by the standard operator<<
function.
The default behaviour is to print the class name.
Reimplemented from PAbstractArray.
virtual PBoolean PASN_Stream::Read | ( | PChannel & | chan | ) | [pure virtual] |
virtual PBoolean PASN_Stream::RealDecode | ( | PASN_Real & | ) | [pure virtual] |
virtual void PASN_Stream::RealEncode | ( | const PASN_Real & | ) | [pure virtual] |
void PASN_Stream::ResetDecoder | ( | ) |
virtual PBoolean 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 PBoolean PASN_Stream::SequencePreambleDecode | ( | PASN_Sequence & | ) | [pure virtual] |
virtual void PASN_Stream::SequencePreambleEncode | ( | const PASN_Sequence & | ) | [pure virtual] |
virtual PBoolean PASN_Stream::SequenceUnknownDecode | ( | PASN_Sequence & | ) | [pure virtual] |
virtual void PASN_Stream::SequenceUnknownEncode | ( | const PASN_Sequence & | ) | [pure virtual] |
void PASN_Stream::SetPosition | ( | PINDEX | newPos | ) |
virtual PBoolean PASN_Stream::Write | ( | PChannel & | chan | ) | [pure virtual] |
unsigned PASN_Stream::bitOffset [protected] |
PINDEX PASN_Stream::byteOffset [protected] |
Referenced by GetPosition(), and IsAtEnd().