CWPRoot Class Reference

class CWPRoot : public CBase

Root for the contents of a WAP Provisioning document.

ProvisioningEngine
Since
2.0

Inherits from

Constructor & Destructor Documentation

CWPRoot()

CWPRoot ( ) [private]

C++ default constructor.

~CWPRoot()

~CWPRoot ( )

Destructor.

Member Functions Documentation

AcceptL(MWPVisitor &)

void AcceptL ( MWPVisitor & aVisitor )

Accepts a visitor for the contents of the document.

Parameters

MWPVisitor & aVisitor Visitor is called for each element in the root of the document.

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

CreateLinksL()

void CreateLinksL ( )

Creates links from logical proxy ids to logical proxies and access point ids to access points. Call this before walking through the document data.

EndCharacteristicL()

void EndCharacteristicL ( )

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const

Stores a WAP Provisioning document in a stream.

Parameters

RWriteStream & aStream Stream to write the document to.

InsertL(CWPCharacteristic *)

void InsertL ( CWPCharacteristic * aElement )

Insert an element to the root of the document.

Parameters

CWPCharacteristic * aElement Element to insert. The ownership is transferred to CWPRoot.

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream )

Loads a WAP Provisioning document from a stream.

Parameters

RReadStream & aStream Stream to read the document from.

NewL()

CWPRoot * NewL ( ) [static]

Two-phased constructor.

NewLC()

CWPRoot * NewLC ( ) [static]

Two-phased constructor.

ParameterL(TInt, const TDesC &)

void ParameterL ( TInt aID,
const TDesC & aValue
)

Parameters

TInt aID
const TDesC & aValue

ParameterL(const TDesC &, const TDesC &)

void ParameterL ( const TDesC & aName,
const TDesC & aValue
)

Parameters

const TDesC & aName
const TDesC & aValue

StartCharacteristicL(TInt)

void StartCharacteristicL ( TInt aType )

Parameters

TInt aType

StartCharacteristicL(const TDesC &)

void StartCharacteristicL ( const TDesC & aName )

Parameters

const TDesC & aName

VisitL(CWPCharacteristic &)

void VisitL ( CWPCharacteristic & aCharacteristic ) [private]

Parameters

CWPCharacteristic & aCharacteristic

VisitL(CWPParameter &)

void VisitL ( CWPParameter & aParameter ) [private]

Parameters

CWPParameter & aParameter

VisitLinkL(CWPCharacteristic &)

void VisitLinkL ( CWPCharacteristic & aCharacteristic ) [private]

Parameters

CWPCharacteristic & aCharacteristic

Member Data Documentation

CWPCharacteristic * iCharStack

CWPCharacteristic * iCharStack [private]

CArrayPtr< CWPCharacteristic > * iContents

CArrayPtr < CWPCharacteristic > * iContents [private]

CDesC16Array * iNeededIDs

CDesC16Array * iNeededIDs [private]

RPointerArray< CWPCharacteristic > iNeeders

RPointerArray < CWPCharacteristic > iNeeders [private]

CDesC16Array * iProviderIDs

CDesC16Array * iProviderIDs [private]

RPointerArray< CWPCharacteristic > iProviders

RPointerArray < CWPCharacteristic > iProviders [private]

RPointerArray< CWPCharacteristic > iStack

RPointerArray < CWPCharacteristic > iStack [private]