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

Public Member Functions | |
| PASN_ConstrainedString & | operator= (const char *str) |
| PASN_ConstrainedString & | operator= (const PString &str) |
| operator const PString & () const | |
| const PString & | GetValue () const |
| void | SetValue (const char *v) |
| void | SetValue (const PString &v) |
| char | operator[] (PINDEX idx) const |
| void | SetCharacterSet (ConstraintType ctype, const char *charSet) |
| void | SetCharacterSet (ConstraintType ctype, unsigned firstChar=0, unsigned lastChar=255) |
| void | SetCharacterSet (const char *charSet, PINDEX size, ConstraintType ctype) |
| virtual Comparison | Compare (const PObject &obj) const |
| virtual void | PrintOn (ostream &strm) const |
| virtual void | SetConstraintBounds (ConstraintType type, int lower, unsigned upper) |
| virtual PINDEX | GetDataLength () const |
| virtual BOOL | Decode (PASN_Stream &) |
| virtual void | Encode (PASN_Stream &) const |
| BOOL | DecodeBER (PBER_Stream &strm, unsigned len) |
| void | EncodeBER (PBER_Stream &strm) const |
| BOOL | DecodePER (PPER_Stream &strm) |
| void | EncodePER (PPER_Stream &strm) const |
Protected Member Functions | |
| PASN_ConstrainedString (const char *canonicalSet, PINDEX setSize, unsigned tag, TagClass tagClass) | |
Protected Attributes | |
| PString | value |
| PCharArray | characterSet |
| const char * | canonicalSet |
| PINDEX | canonicalSetSize |
| unsigned | canonicalSetBits |
| unsigned | charSetUnalignedBits |
| unsigned | charSetAlignedBits |
|
||||||||||||||||||||
|
|
|
|
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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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_Object. |
|
||||||||||||
|
Reimplemented from PASN_Object. |
|
||||||||||||||||
|
Reimplemented from PASN_ConstrainedObject. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2