|
|
|
|
Location:
IpAddr.h
Link against: biut.lib
class CIpAddress : public CBase;
Utility class to hold an IP address as a string on the heap.
This can be useful for parsers that have IP address fields.
CBase - Base class for all classes to be instantiated on the heap
CIpAddress - Utility class to hold an IP address as a string on the heap
Defined in CIpAddress:
Addr(), NewL(), NewL(), NewLC(), NewLC(), SetAddrL(), ~CIpAddress()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
static IMPORT_C CIpAddress *NewL(const TDesC &aAddr);
Allocates and constructs a new IP address object with a specified address.
A buffer is allocated on the heap and aAddr copied into it.
|
|
static IMPORT_C CIpAddress *NewLC(const TDesC &aAddr);
Allocates and constructs a new IP address object with a specified address, leaving the object on the cleanup stack.
A buffer is allocated on the heap and aAddr copied into it.
|
|
static inline CIpAddress *NewL();
Allocates and constructs a new empty IP address object.
|
static inline CIpAddress *NewLC();
Allocates and constructs a new empty IP address object, leaving the object on the cleanup stack.
|
IMPORT_C void SetAddrL(const TDesC &aAddr);
Sets the IP address.
A buffer is allocated on the heap and aAddr copied into it.
|
IMPORT_C const TDesC &Addr() const;
Gets the IP address.
|