Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: x509gn.h
Link against: x509.lib

Class CX509IPSubnetMask

CX509IPSubnetMask

Support

Supported from 6.0

Description

An IP subnet mask.

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

Derivation

CBaseBase class for all classes to be instantiated on the heap
CX509IPSubnetMaskAn IP subnet mask

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

Inherited from CBase:
operator new()


Construction and destruction


NewL()

static 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 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()

~CX509IPSubnetMask();

Description

Destructor.

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


CX509IPSubnetMask()

CX509IPSubnetMask();

Description

Constructor.

[Top]


Member functions


BaseAddress()

TPtrC8 BaseAddress() const;

Description

Gets the base IP address.

Return value

TPtrC8

A pointer descriptor representing the base IP address.


Mask()

TPtrC8 Mask() const;

Description

Gets the subnet mask.

Return value

TPtrC8

A pointer descriptor representing the subnet mask.