#include <x509gn.h>
class CX509IPSubnetMask : public CBase |
Public Member Functions | |
---|---|
CX509IPSubnetMask() | |
~CX509IPSubnetMask() | |
IMPORT_C TPtrC8 | BaseAddress() |
IMPORT_C TPtrC8 | Mask() |
IMPORT_C CX509IPSubnetMask * | NewL(const TDesC8 &) |
IMPORT_C CX509IPSubnetMask * | NewLC(const TDesC8 &) |
An IP subnet mask.
Input data is parsed into an 8-bit base address and an 8-bit mask.
IMPORT_C | ~CX509IPSubnetMask | ( | ) |
Destructor.
Frees all resources owned by the object, prior to its destruction.
IMPORT_C TPtrC8 | BaseAddress | ( | ) | const |
Gets the base IP address.
Returns: A pointer descriptor representing the base IP address.
IMPORT_C TPtrC8 | Mask | ( | ) | const |
Gets the subnet mask.
Returns: A pointer descriptor representing the subnet mask.
IMPORT_C CX509IPSubnetMask * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates an IP subnet mask object from the specified buffer containing the binary coded representation.
The data is parsed into an 8-bit base address and an 8-bit mask.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: The new IP subnet mask object.
IMPORT_C CX509IPSubnetMask * | NewLC | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates an IP subnet mask object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.
The data is parsed into an 8-bit base address and an 8-bit mask.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: The new IP subnet mask object.