Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: wtlsnames.h
Link against: wtlscert.lib

Class CWTLSStructuredText

class CWTLSStructuredText : public CWTLSText;

Description

Derivation

Members

Defined in CWTLSStructuredText:
Count(), Country(), DisplayNameL(), FieldByIndex(), FieldByName(), NewL(), NewL(), NewLC(), NewLC(), Organization(), ServiceName(), ~CWTLSStructuredText()

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

Inherited from CWTLSText:
CharacterSet(), ExactMatchL(), Name(), iName


Construction and destruction


NewL()

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

Description

Creates a new CWTLSStructuredText object from the specified buffer containing the binary coded representation.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CWTLSStructuredText *

The new CWTLSStructuredText object.


NewLC()

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

Description

Creates a new CWTLSStructuredText object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CWTLSStructuredText *

The new CWTLSStructuredText object.


NewL()

static IMPORT_C CWTLSStructuredText *NewL(const TDesC8 &aBinaryData, TInt &aPos);

Description

Creates a new CWTLSStructuredText object from the specified buffer containing the binary coded representation, starting at the specified offset.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

TInt &aPos

The offset position from which to start decoding. It specifies an offset into the descriptor, and is updated to the position at the end of the object.

Return value

CWTLSStructuredText *

The new CWTLSStructuredText object.


NewLC()

static IMPORT_C CWTLSStructuredText *NewLC(const TDesC8 &aBinaryData, TInt &aPos);

Description

Creates a new CWTLSStructuredText object from the specified buffer containing the binary coded representation, starting at the specified offset, and puts a pointer to it onto the cleanup stack.

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

TInt &aPos

The offset position from which to start decoding. It specifies an offset into the descriptor, and is updated to the position at the end of the object.

Return value

CWTLSStructuredText *

The new CWTLSStructuredText object.


~CWTLSStructuredText()

IMPORT_C ~CWTLSStructuredText();

Description

Destructor.

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

[Top]


Member functions


DisplayNameL()

IMPORT_C HBufC *DisplayNameL() const;

Description

Return value

HBufC *


ServiceName()

IMPORT_C TPtrC ServiceName() const;

Description

Return value

TPtrC


Organization()

IMPORT_C TPtrC Organization() const;

Description

Return value

TPtrC


Country()

IMPORT_C TPtrC Country() const;

Description

Return value

TPtrC


Count()

IMPORT_C TInt Count() const;

Description

Return value

TInt


FieldByName()

IMPORT_C const TWTLSStructuredTextField *FieldByName(const TDesC &aType) const;

Description

Note

Parameters

const TDesC &aType

Return value

const TWTLSStructuredTextField *

A pointer to a TWTLSStructuredTextField object; NULL if field not found. The returned object remains the property of the structured text object (so don't delete it).


FieldByIndex()

IMPORT_C const TWTLSStructuredTextField &FieldByIndex(TInt aIndex) const;

Description

Parameters

TInt aIndex

Return value

const TWTLSStructuredTextField &