Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

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

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

Virtual function used to duplicate objects

Reimplemented from PASNString.

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

Virtual function used to encode the object into ASN format

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.

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.

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

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

Reimplemented from PASNString.

PString PASNIPAddress::GetTypeAsString  )  const [virtual]
 

Return a string giving the type of the object

Reimplemented from PASNString.


The documentation for this class was generated from the following file:
Generated on Wed Sep 28 10:27:34 2005 for PWLib by  doxygen 1.4.4