PASNIPAddress Class Reference

#include <pasn.h>

Inheritance diagram for PASNIPAddress:

PASNString PASNObject PObject List of all members.

Public Member Functions

 PASNIPAddress (const PIPSocket::Address &addr)
 PASNIPAddress (const PString &str)
 PASNIPAddress (const PBYTEArray &buffer)
 PASNIPAddress (const PBYTEArray &buffer, PINDEX &ptr)
PASNObject::ASNType GetType () const
void Encode (PBYTEArray &buffer)
PString GetString () const
PString GetTypeAsString () const
PObjectClone () const
PIPSocket::Address GetIPAddress () const

Detailed Description

A descendant of PASNObject which is an IP address type


Constructor & Destructor Documentation

PASNIPAddress::PASNIPAddress ( const PIPSocket::Address addr  )  [inline]

PASNIPAddress::PASNIPAddress ( const PString str  ) 

PASNIPAddress::PASNIPAddress ( const PBYTEArray buffer  )  [inline]

PASNIPAddress::PASNIPAddress ( const PBYTEArray buffer,
PINDEX &  ptr 
) [inline]


Member Function Documentation

PASNObject::ASNType PASNIPAddress::GetType (  )  const [inline, virtual]

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

Reimplemented from PASNString.

void PASNIPAddress::Encode ( PBYTEArray buffer  )  [inline, virtual]

Virtual function used to encode the object into ASN format

Reimplemented from PASNString.

PString PASNIPAddress::GetString (  )  const [virtual]

Return the value of the object as a PString. This function can be use for all ASN object types

Reimplemented from PASNString.

PString PASNIPAddress::GetTypeAsString (  )  const [virtual]

Return a string giving the type of the object

Reimplemented from PASNString.

PObject* PASNIPAddress::Clone (  )  const [inline, virtual]

Virtual function used to duplicate objects

Reimplemented from PASNString.

PIPSocket::Address PASNIPAddress::GetIPAddress (  )  const [virtual]

Return the value of the object as an IPAddress

This function will assert if the object is not a descendant of PASNIPAddress.

Reimplemented from PASNObject.


The documentation for this class was generated from the following file:
Generated on Mon Feb 23 01:57:55 2009 for PTLib by  doxygen 1.5.1