class CSenConsumerPolicy : public CSenPolicy |
Example structure of ConsumerPolicy> XML fragment:
<ConsumerPolicy> <Transport> <IapId> 1234567890 </IapId> </Transport>
<IdentityProviderIDs strict="true"> <IdentityProviderID> urn:first.id.example.com </IdentityProviderID> <IdentityProviderID> urn:second.id.example.com </IdentityProviderID> </IdentityProviderIDs> </ConsumerPolicy>
Public Member Functions | |
---|---|
~CSenConsumerPolicy() | |
IMPORT_C TBool | Accepts(MSenConsumerPolicy &) |
IMPORT_C CSenConsumerPolicy * | NewL() |
IMPORT_C CSenConsumerPolicy * | NewL(TUint32) |
IMPORT_C CSenConsumerPolicy * | NewL(TUint32, TBool) |
IMPORT_C CSenConsumerPolicy * | NewLC() |
IMPORT_C CSenConsumerPolicy * | NewLC(TUint32) |
IMPORT_C CSenConsumerPolicy * | NewLC(TUint32, TBool) |
IMPORT_C TInt | RebuildFrom(MSenConsumerPolicy &) |
Private Member Functions | |
---|---|
CSenConsumerPolicy() | |
TBool | AcceptsL(MSenConsumerPolicy &) |
IMPORT_C void | BaseConstructL() |
IMPORT_C void | BaseConstructL(TUint32) |
IMPORT_C void | BaseConstructL(TUint32, TBool) |
TInt | RebuildFromL(MSenConsumerPolicy &) |
Inherited Attributes | |
---|---|
CSenBaseFragment::iState | |
CSenBaseFragment::iWs | |
CSenBaseFragment::iXmlReader | |
CSenBaseFragment::ipElement | |
CSenBaseFragment::ipOwner | |
CSenDomFragment::ipDomDelegate |
IMPORT_C TBool | Accepts | ( | MSenConsumerPolicy & | aPolicyPattern | ) | [virtual] |
Checks if service pattern accepts given policy.
MSenConsumerPolicy & aPolicyPattern | the consumer policy to check. |
TBool | AcceptsL | ( | MSenConsumerPolicy & | aPolicyPattern | ) | [private] |
Leaving variants of the functions.
MSenConsumerPolicy & aPolicyPattern |
IMPORT_C void | BaseConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructors are private.
IMPORT_C void | BaseConstructL | ( | TUint32 | aIapId | ) | [private] |
TUint32 aIapId |
IMPORT_C CSenConsumerPolicy * | NewL | ( | ) | [static] |
Two-phased constructors. These parameterless constructors are ment to be used for example before parsing XML stream.
IMPORT_C CSenConsumerPolicy * | NewL | ( | TUint32 | aIapId | ) | [static] |
Two-phased constructor.
TUint32 aIapId |
IMPORT_C TInt | RebuildFrom | ( | MSenConsumerPolicy & | aTemplate | ) | [virtual] |
MSenConsumerPolicy & aTemplate | from which the values are read. |
TInt | RebuildFromL | ( | MSenConsumerPolicy & | aTemplate | ) | [private] |
MSenConsumerPolicy & aTemplate |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.