#include <mw/ipaddr.h>
Link against: biut.lib
class CIpAddress : public CBase |
Public Member Functions | |
---|---|
~CIpAddress() | |
IMPORT_C const TDesC & | Addr() |
IMPORT_C CIpAddress * | NewL(const TDesC &) |
CIpAddress * | NewL() |
IMPORT_C CIpAddress * | NewLC(const TDesC &) |
CIpAddress * | NewLC() |
IMPORT_C void | SetAddrL(const TDesC &) |
Utility class to hold an IP address as a string on the heap.
This can be useful for parsers that have IP address fields.
IMPORT_C CIpAddress * | NewL | ( | const TDesC & | aAddr | ) | [static] |
Allocates and constructs a new IP address object with a specified address.
A buffer is allocated on the heap and aAddr copied into it.
Parameters | |
---|---|
aAddr | IP address string |
CIpAddress * | NewL | ( | ) | [static, inline] |
Allocates and constructs a new empty IP address object.
IMPORT_C CIpAddress * | NewLC | ( | const TDesC & | aAddr | ) | [static] |
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.
Parameters | |
---|---|
aAddr | IP address string |
CIpAddress * | NewLC | ( | ) | [static, inline] |
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.
Parameters | |
---|---|
aAddr | IP address string |