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 &)

voidAcceptL(MWPVisitor &aVisitor)

Accepts a visitor for the contents of the document.

Parameters

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

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

CreateLinksL()

voidCreateLinksL()

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

voidEndCharacteristicL()

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Stores a WAP Provisioning document in a stream.

Parameters

RWriteStream & aStreamStream to write the document to.

InsertL(CWPCharacteristic *)

voidInsertL(CWPCharacteristic *aElement)

Insert an element to the root of the document.

Parameters

CWPCharacteristic * aElementElement to insert. The ownership is transferred to CWPRoot.

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)

Loads a WAP Provisioning document from a stream.

Parameters

RReadStream & aStreamStream to read the document from.

NewL()

CWPRoot *NewL()[static]

Two-phased constructor.

NewLC()

CWPRoot *NewLC()[static]

Two-phased constructor.

ParameterL(TInt, const TDesC &)

voidParameterL(TIntaID,
const TDesC &aValue
)

Parameters

TInt aID
const TDesC & aValue

ParameterL(const TDesC &, const TDesC &)

voidParameterL(const TDesC &aName,
const TDesC &aValue
)

Parameters

const TDesC & aName
const TDesC & aValue

StartCharacteristicL(TInt)

voidStartCharacteristicL(TIntaType)

Parameters

TInt aType

StartCharacteristicL(const TDesC &)

voidStartCharacteristicL(const TDesC &aName)

Parameters

const TDesC & aName

VisitL(CWPCharacteristic &)

voidVisitL(CWPCharacteristic &aCharacteristic)[private]

Parameters

CWPCharacteristic & aCharacteristic

VisitL(CWPParameter &)

voidVisitL(CWPParameter &aParameter)[private]

Parameters

CWPParameter & aParameter

VisitLinkL(CWPCharacteristic &)

voidVisitLinkL(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]