PASNUnsignedInteger Class Reference

#include <pasn.h>

Inheritance diagram for PASNUnsignedInteger:

PASNObject PObject PASNCounter PASNGauge PASNTimeTicks List of all members.

Public Member Functions

 PASNUnsignedInteger (PASNUnsigned val)
 PASNUnsignedInteger (const PBYTEArray &buffer, PINDEX &ptr)
void PrintOn (ostream &strm) const
WORD GetEncodedLength ()
PString GetString () const
PASNUnsigned GetUnsigned () const

Protected Member Functions

 PASNUnsignedInteger ()
PBoolean Decode (const PBYTEArray &buffer, PINDEX &i, PASNObject::ASNType theType)
void Encode (PBYTEArray &buffer, PASNObject::ASNType theType)

Detailed Description

A descendant of PASNObject which is an unsigned ASN integer type.


Constructor & Destructor Documentation

PASNUnsignedInteger::PASNUnsignedInteger ( PASNUnsigned  val  )  [inline]

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

PASNUnsignedInteger::PASNUnsignedInteger (  )  [inline, protected]


Member Function Documentation

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

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

Reimplemented from PASNObject.

WORD PASNUnsignedInteger::GetEncodedLength (  )  [virtual]

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

Reimplemented from PASNObject.

PString PASNUnsignedInteger::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.

PASNUnsigned PASNUnsignedInteger::GetUnsigned (  )  const [virtual]

Return the value of the object as a PASNUnsigned

This function will assert if the object is not a descendant of PASNTimeTicks or

PASNCounter.

Reimplemented from PASNObject.

PBoolean PASNUnsignedInteger::Decode ( const PBYTEArray buffer,
PINDEX &  i,
PASNObject::ASNType  theType 
) [protected]

void PASNUnsignedInteger::Encode ( PBYTEArray buffer,
PASNObject::ASNType  theType 
) [protected]


The documentation for this class was generated from the following file:
Generated on Mon Sep 15 01:21:36 2008 for PTLib by  doxygen 1.5.1