Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PASN_Set Class Reference

#include <asner.h>

Inheritance diagram for PASN_Set:

PASN_Sequence PASN_Object PObject

List of all members.

Detailed Description

Class for ASN Set type.

Definition at line 1014 of file asner.h.

Comparison functions

virtual Comparison CompareObjectMemoryDirect (const PObject &obj) const
bool operator!= (const PObject &obj) const
bool operator< (const PObject &obj) const
bool operator<= (const PObject &obj) const
bool operator== (const PObject &obj) const
bool operator> (const PObject &obj) const
bool operator>= (const PObject &obj) const
enum  Comparison { LessThan = -1, EqualTo = 0, GreaterThan = 1 }

Run Time Type functions

virtual const char * GetClass (unsigned=0) const
virtual BOOL InternalIsDescendant (const char *clsName) const
BOOL IsClass (const char *cls) const
static const char * Class ()

I/O functions

virtual void ReadFrom (istream &strm)
ostream & operator<< (ostream &strm, const PObject &obj)
istream & operator>> (istream &strm, PObject &obj)

Public Types

enum  ConstraintType { Unconstrained, PartiallyConstrained, FixedConstraint, ExtendableConstraint }
enum  MaximumValueTag { MaximumValue = INT_MAX }
enum  MinimumValueTag { MinimumValue = INT_MIN }
enum  TagClass {
  UniversalTagClass, ApplicationTagClass, ContextSpecificTagClass, PrivateTagClass,
enum  UniversalTags {
  InvalidUniversalTag, UniversalBoolean, UniversalInteger, UniversalBitString,
  UniversalOctetString, UniversalNull, UniversalObjectId, UniversalObjectDescriptor,
  UniversalExternalType, UniversalReal, UniversalEnumeration, UniversalEmbeddedPDV,
  UniversalSequence = 16, UniversalSet, UniversalNumericString, UniversalPrintableString,
  UniversalTeletexString, UniversalVideotexString, UniversalIA5String, UniversalUTCTime,
  UniversalGeneralisedTime, UniversalGeneralizedTime = UniversalGeneralisedTime, UniversalGraphicString, UniversalVisibleString,
  UniversalGeneralString, UniversalUniversalString, UniversalBMPString = 30

Public Member Functions

virtual PObjectClone () const
virtual Comparison Compare (const PObject &obj) const
virtual BOOL Decode (PASN_Stream &)
virtual void Encode (PASN_Stream &) const
virtual PINDEX GetDataLength () const
PINDEX GetObjectLength () const
PINDEX GetSize () const
unsigned GetTag () const
TagClass GetTagClass () const
virtual PString GetTypeAsString () const
BOOL HasOptionalField (PINDEX opt) const
void IncludeOptionalField (PINDEX opt)
BOOL IsExtendable () const
virtual BOOL IsPrimitive () const
BOOL KnownExtensionDecode (PASN_Stream &strm, PINDEX fld, PASN_Object &field)
BOOL KnownExtensionDecodeBER (PBER_Stream &strm, PINDEX fld, PASN_Object &field)
BOOL KnownExtensionDecodePER (PPER_Stream &strm, PINDEX fld, PASN_Object &field)
void KnownExtensionEncode (PASN_Stream &strm, PINDEX fld, const PASN_Object &field) const
void KnownExtensionEncodeBER (PBER_Stream &strm, PINDEX fld, const PASN_Object &field) const
void KnownExtensionEncodePER (PPER_Stream &strm, PINDEX fld, const PASN_Object &field) const
PASN_Objectoperator[] (PINDEX i) const
 PASN_Set (unsigned tag=UniversalSet, TagClass tagClass=UniversalTagClass, unsigned nOpts=0, BOOL extend=FALSE, unsigned nExtend=0)
BOOL PreambleDecode (PASN_Stream &strm)
BOOL PreambleDecodeBER (PBER_Stream &strm)
BOOL PreambleDecodePER (PPER_Stream &strm)
void PreambleEncode (PASN_Stream &strm) const
void PreambleEncodeBER (PBER_Stream &strm) const
void PreambleEncodePER (PPER_Stream &strm) const
virtual void PrintOn (ostream &strm) const
void RemoveOptionalField (PINDEX opt)
virtual void SetCharacterSet (ConstraintType ctype, unsigned firstChar, unsigned lastChar)
virtual void SetCharacterSet (ConstraintType ctype, const char *charSet)
virtual void SetConstraintBounds (ConstraintType type, int lower, unsigned upper)
void SetConstraints (ConstraintType type, int lower, unsigned upper)
void SetConstraints (ConstraintType, MinimumValueTag lower, MaximumValueTag upper)
void SetConstraints (ConstraintType, MinimumValueTag lower, unsigned upper)
void SetConstraints (ConstraintType, int lower, MaximumValueTag)
void SetConstraints (ConstraintType type, int value)
void SetExtendable (BOOL ext=TRUE)
BOOL SetSize (PINDEX newSize)
virtual void SetTag (unsigned newTag, TagClass tagClass=DefaultTagClass)
BOOL UnknownExtensionsDecode (PASN_Stream &strm)
BOOL UnknownExtensionsDecodeBER (PBER_Stream &strm)
BOOL UnknownExtensionsDecodePER (PPER_Stream &strm)
void UnknownExtensionsEncode (PASN_Stream &strm) const
void UnknownExtensionsEncodeBER (PBER_Stream &strm) const
void UnknownExtensionsEncodePER (PPER_Stream &strm) const
Miscellaneous functions
virtual PINDEX HashFunction () const

Static Public Member Functions

static PINDEX GetMaximumArraySize ()
static PINDEX GetMaximumStringSize ()
static void SetMaximumArraySize (PINDEX sz)
static void SetMaximumStringSize (PINDEX sz)

Protected Member Functions

BOOL NoExtensionsToDecode (PPER_Stream &strm)
BOOL NoExtensionsToEncode (PPER_Stream &strm)

Protected Attributes

PINDEX endBasicEncoding
BOOL extendable
 PER extension capability.
PASN_BitString extensionMap
PASN_ObjectArray fields
int knownExtensions
PASN_BitString optionMap
unsigned tag
 ASN object tag.
TagClass tagClass
 BER tag class.
int totalExtensions

Private Member Functions


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index