#include <asner.h>
Inheritance diagram for PASN_Array:
Public Member Functions | |
PINDEX | GetSize () const |
BOOL | SetSize (PINDEX newSize) |
PASN_Object & | operator[] (PINDEX i) const |
void | Append (PASN_Object *obj) |
void | RemoveAt (PINDEX i) |
void | RemoveAll () |
virtual Comparison | Compare (const PObject &obj) const |
virtual void | PrintOn (ostream &strm) const |
virtual void | SetConstraintBounds (ConstraintType type, int lower, unsigned upper) |
virtual PString | GetTypeAsString () const |
virtual PINDEX | GetDataLength () const |
virtual BOOL | IsPrimitive () const |
virtual BOOL | Decode (PASN_Stream &) |
virtual void | Encode (PASN_Stream &) const |
virtual PASN_Object * | CreateObject () const =0 |
PASN_Array & | operator= (const PASN_Array &other) |
Protected Member Functions | |
PASN_Array (unsigned tag=UniversalSequence, TagClass tagClass=UniversalTagClass) | |
PASN_Array (const PASN_Array &other) | |
Protected Attributes | |
PASN_ObjectArray | array |
|
|
|
|
|
|
|
Compare the two objects and return their relative rank. This function is usually overridden by descendent classes to yield the ranking according to the semantics of the object. The default function is to use the CompareObjectMemoryDirect()# function to do a byte wise memory comparison of the two objects.
Reimplemented from PObject. |
|
|
|
Implements PASN_Object. |
|
Implements PASN_Object. |
|
Implements PASN_Object. |
|
|
|
Return a string giving the type of the object Implements PASN_Object. |
|
Reimplemented from PASN_Object. |
|
|
|
|
|
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 PObject. |
|
|
|
|
|
Reimplemented from PASN_ConstrainedObject. |
|
|
|
|