CSenConsumerPolicy Class Reference

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 Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CSenBaseFragment::AllocContentSaverL()
CSenBaseFragment::AsElement()
CSenBaseFragment::AsXmlL()
CSenBaseFragment::AsXmlUnicodeL()
CSenBaseFragment::BuildFrom(const TDesC8 &)
CSenBaseFragment::CSenBaseFragment()
CSenBaseFragment::ConsistsOfL(MSenFragment &)
CSenBaseFragment::Content()
CSenBaseFragment::ContentOf(const TDesC8 &)
CSenBaseFragment::DelegateParsingL(MSenFragment &)
CSenBaseFragment::DelegateParsingL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenBaseFragment::DetachL()
CSenBaseFragment::EndElementL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenBaseFragment::EnsureNamespace(const TDesC8 &)
CSenBaseFragment::ExtractElement()
CSenBaseFragment::LocalName()const
CSenBaseFragment::Namespace(const TDesC8 &)
CSenBaseFragment::NsPrefix()const
CSenBaseFragment::NsUri()const
CSenBaseFragment::ParseL(const TDesC8 &)
CSenBaseFragment::Reader()
CSenBaseFragment::ResetContentL()
CSenBaseFragment::SaveNamespacesL(const RAttributeArray &,TBool)
CSenBaseFragment::SetContentOfL(const TDesC8 &,const TDesC8 &)
CSenBaseFragment::SetOwner(MSenFragment &)
CSenBaseFragment::SetReader(CSenXmlReader &)
CSenBaseFragment::StartEntity(TDesC8 &)
CSenBaseFragment::WriteAsXMLToL(RWriteStream &)
CSenBaseFragment::~CSenBaseFragment()
CSenDomFragment::BaseConstructL(CSenXmlReader &)
CSenDomFragment::BaseConstructL(const CSenElement &)
CSenDomFragment::BaseConstructL(const TDesC8 &,const TDesC8 &)
CSenDomFragment::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenDomFragment::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenDomFragment::BaseConstructL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,CSenElement &)
CSenDomFragment::CSenDomFragment()
CSenDomFragment::CharactersL(const TDesC8 &,TInt,TInt)
CSenDomFragment::ExpandL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenDomFragment::NewL(const CSenElement &)
CSenDomFragment::NewL(const TDesC8 &)
CSenDomFragment::NewL(const TDesC8 &,const TDesC8 &)
CSenDomFragment::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenDomFragment::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenDomFragment::NewL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &,CSenElement &)
CSenDomFragment::ParseWithL(CSenXmlReader &)
CSenDomFragment::ResumeParsingFromL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenDomFragment::SetAttributesL(const RAttributeArray &)
CSenDomFragment::StartElementL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenDomFragment::WriteEndElementL(const TDesC8 &,const TDesC8 &,const TDesC8 &)
CSenDomFragment::WriteStartElementL(const TDesC8 &,const TDesC8 &,const TDesC8 &,const RAttributeArray &)
CSenDomFragment::~CSenDomFragment()
CSenPolicy::Accepts(MSenPolicy &)
CSenPolicy::AddIdentityProviderIdL(const TDesC8 &)
CSenPolicy::BaseConstructL(const TDesC8 &)
CSenPolicy::BaseConstructL(const TDesC8 &,TUint32)
CSenPolicy::BaseConstructL(const TDesC8 &,TUint32,TBool)
CSenPolicy::CSenPolicy()
CSenPolicy::IapId(TUint32 &)
CSenPolicy::IdentityProviderIds8L()
CSenPolicy::RebuildFrom(MSenPolicy &)
CSenPolicy::SetIapIdL(TUint32)
CSenPolicy::SetIdentityProviderIdsL(CSenIdentityProviderIdArray8 &)
CSenPolicy::SetSnapIdL(TUint32)
CSenPolicy::SnapId(TUint32 &)
CSenPolicy::~CSenPolicy()
Inherited Attributes
CSenBaseFragment::iState
CSenBaseFragment::iWs
CSenBaseFragment::iXmlReader
CSenBaseFragment::ipElement
CSenBaseFragment::ipOwner
CSenDomFragment::ipDomDelegate

Constructor & Destructor Documentation

CSenConsumerPolicy()

CSenConsumerPolicy ( ) [private]

C++ default constructor.

~CSenConsumerPolicy()

~CSenConsumerPolicy ( ) [virtual]

Destructor

Member Functions Documentation

Accepts(MSenConsumerPolicy &)

IMPORT_C TBool Accepts ( MSenConsumerPolicy & aPolicyPattern ) [virtual]

Checks if service pattern accepts given policy.

Parameters

MSenConsumerPolicy & aPolicyPattern the consumer policy to check.

AcceptsL(MSenConsumerPolicy &)

TBool AcceptsL ( MSenConsumerPolicy & aPolicyPattern ) [private]

Leaving variants of the functions.

Parameters

MSenConsumerPolicy & aPolicyPattern

BaseConstructL()

IMPORT_C void BaseConstructL ( ) [private]

By default Symbian 2nd phase constructors are private.

BaseConstructL(TUint32)

IMPORT_C void BaseConstructL ( TUint32 aIapId ) [private]

Parameters

TUint32 aIapId

BaseConstructL(TUint32, TBool)

IMPORT_C void BaseConstructL ( TUint32 aId,
TBool aIsSnapId
) [private]

Parameters

TUint32 aId
TBool aIsSnapId

NewL()

IMPORT_C CSenConsumerPolicy * NewL ( ) [static]

Two-phased constructors. These parameterless constructors are ment to be used for example before parsing XML stream.

NewL(TUint32)

IMPORT_C CSenConsumerPolicy * NewL ( TUint32 aIapId ) [static]

Two-phased constructor.

Parameters

TUint32 aIapId

NewL(TUint32, TBool)

IMPORT_C CSenConsumerPolicy * NewL ( TUint32 aId,
TBool aIsSnapId
) [static]

Parameters

TUint32 aId
TBool aIsSnapId

NewLC()

IMPORT_C CSenConsumerPolicy * NewLC ( ) [static]

NewLC(TUint32)

IMPORT_C CSenConsumerPolicy * NewLC ( TUint32 aIapId ) [static]

Parameters

TUint32 aIapId

NewLC(TUint32, TBool)

IMPORT_C CSenConsumerPolicy * NewLC ( TUint32 aId,
TBool aIsSnapId
) [static]

Parameters

TUint32 aId
TBool aIsSnapId

RebuildFrom(MSenConsumerPolicy &)

IMPORT_C TInt RebuildFrom ( MSenConsumerPolicy & aTemplate ) [virtual]
Method reads provider policy class instance values from given template. Values may include an IAP ID, preferred IdentityProvider IDs etc.
Since
Series60 3.0

Parameters

MSenConsumerPolicy & aTemplate from which the values are read.

RebuildFromL(MSenConsumerPolicy &)

TInt RebuildFromL ( MSenConsumerPolicy & aTemplate ) [private]

Parameters

MSenConsumerPolicy & aTemplate