#include <pasn.h>
Inheritance diagram for PASNIPAddress:
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 |
PObject * | Clone () const |
PIPSocket::Address | GetIPAddress () const |
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] |
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.