Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509gn.h
Link against: x509.lib

Class CX509IPSubnetMask

class CX509IPSubnetMask : public CBase;

Description

An IP subnet mask.

Input data is parsed into an 8-bit base address and an 8-bit mask.

Derivation

Members

Defined in CX509IPSubnetMask:
BaseAddress(), Mask(), NewL(), NewLC(), ~CX509IPSubnetMask()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C CX509IPSubnetMask *NewL(const TDesC8 &aBinaryData);

Description

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.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509IPSubnetMask *

The new IP subnet mask object.


NewLC()

static IMPORT_C CX509IPSubnetMask *NewLC(const TDesC8 &aBinaryData);

Description

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.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509IPSubnetMask *

The new IP subnet mask object.


~CX509IPSubnetMask()

IMPORT_C ~CX509IPSubnetMask();

Description

Destructor.

Frees all resources owned by the object, prior to its destruction.

[Top]


Member functions


BaseAddress()

IMPORT_C TPtrC8 BaseAddress() const;

Description

Gets the base IP address.

Return value

TPtrC8

A pointer descriptor representing the base IP address.


Mask()

IMPORT_C TPtrC8 Mask() const;

Description

Gets the subnet mask.

Return value

TPtrC8

A pointer descriptor representing the subnet mask.