Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <wtlsnames.h>
Link against: wtlscert.lib

Class CWTLSStructuredText

class CWTLSStructuredText : public CWTLSText;

Description

Derivation

Members

Defined in CWTLSStructuredText:

Inherited from CBase:

Inherited from CWTLSText:


Construction and destruction


NewL(const TDesC8 &)

IMPORT_C static 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(const TDesC8 &)

IMPORT_C static 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(const TDesC8 &,TInt &)

IMPORT_C static 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(const TDesC8 &,TInt &)

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

IMPORT_C HBufC* DisplayNameL() const;

Description

Return value

HBufC16 *


ServiceName()const

IMPORT_C TPtrC ServiceName() const;

Description

Return value

TPtrC16


Organization()const

IMPORT_C TPtrC Organization() const;

Description

Return value

TPtrC16


Country()const

IMPORT_C TPtrC Country() const;

Description

Return value

TPtrC16


Count()const

IMPORT_C TInt Count() const;

Description

Return value

TInt


FieldByName(const TDesC &)const

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

Description

Note

Parameters

const TDesC16 &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(TInt)const

IMPORT_C const TWTLSStructuredTextField& FieldByIndex(TInt aIndex) const;

Description

Parameters

TInt aIndex

Return value

const TWTLSStructuredTextField &