PTLib  Version 2.10.4
PASNNull Class Reference

A descendant of PASNObject which is the NULL type. More...

#include <pasn.h>

Inheritance diagram for PASNNull:
PASNObject PObject

List of all members.

Public Member Functions

 PASNNull ()
 PASNNull (const PBYTEArray &buffer, PINDEX &ptr)
void PrintOn (ostream &strm) const
 Virtual functions used by the PObject::operator<< function to print the value of the object.
void Encode (PBYTEArray &buffer)
 Virtual function used to encode the object into ASN format.
WORD GetEncodedLength ()
 Virtual function used to get the length of object when encoded into ASN format.
PObject * Clone () const
 Virtual function used to duplicate objects.
ASNType GetType () const
 Return a value of type enum ASNType which indicates the type of the object.
PString GetString () const
 Return the value of the object as a PString.
PString GetTypeAsString () const
 Return a string giving the type of the object.

Detailed Description

A descendant of PASNObject which is the NULL type.


Constructor & Destructor Documentation

PASNNull::PASNNull ( const PBYTEArray &  buffer,
PINDEX &  ptr 
)

Member Function Documentation

PObject* PASNNull::Clone ( ) const [virtual]

Virtual function used to duplicate objects.

Reimplemented from PASNObject.

void PASNNull::Encode ( PBYTEArray &  buffer) [virtual]

Virtual function used to encode the object into ASN format.

Reimplemented from PASNObject.

WORD PASNNull::GetEncodedLength ( ) [virtual]

Virtual function used to get the length of object when encoded into ASN format.

Reimplemented from PASNObject.

PString PASNNull::GetString ( ) const [virtual]

Return the value of the object as a PString.

This function can be use for all ASN object types

Reimplemented from PASNObject.

ASNType PASNNull::GetType ( ) const [virtual]

Return a value of type enum ASNType which indicates the type of the object.

Reimplemented from PASNObject.

PString PASNNull::GetTypeAsString ( ) const [virtual]

Return a string giving the type of the object.

Reimplemented from PASNObject.

void PASNNull::PrintOn ( ostream &  strm) const [virtual]

Virtual functions used by the PObject::operator<< function to print the value of the object.

Reimplemented from PASNObject.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines