CMPXSubscription Class Reference

class CMPXSubscription : public CMPXMedia

A subscription instance includes one or more subscription items. An MPX client can have one or more subscriptions.

MPXCommon.lib

Inherits from

Public Member Functions
IMPORT_C void AddItemL (const CMPXSubscriptionItem &)
void DebugPrint ()
IMPORT_C const CMPXMediaArray * ItemsL ()
IMPORT_C CMPXSubscription * NewL ()
IMPORT_C CMPXSubscription * NewL ( CMPXMediaArray &)
IMPORT_C TBool operator== (const CMPXSubscription &)
Private Member Functions
void InitializeL ()
void InitializeL ( CMPXMediaArray &)
Inherited Functions
CMPXMedia::Attribute(TInt)const
CMPXMedia::Attributes()const
CMPXMedia::AttributesSet(TInt)const
CMPXMedia::CopyL(const CMPXMedia &)
CMPXMedia::Count()const
CMPXMedia::Data()const
CMPXMedia::Delete(TInt)
CMPXMedia::Delete(const TMPXAttribute &)
CMPXMedia::Error(const TMPXAttribute &)const
CMPXMedia::ExternalizeL(RWriteStream &)const
CMPXMedia::HeapMemoryInfoL(TInt &,TInt &)
CMPXMedia::Index(const TMPXAttribute &)const
CMPXMedia::InternalizeL(RReadStream &)
CMPXMedia::IsSupported(const TMPXAttribute &)const
CMPXMedia::Match(const CMPXMedia &,const TMPXAttribute &)
CMPXMedia::MergeMediaL(const CMPXMedia &)
CMPXMedia::NewL(RReadStream &)
CMPXMedia::NewL(TInt)
CMPXMedia::NewL(const CMPXMedia &)
CMPXMedia::NewL(const TArray< TInt > &)
CMPXMedia::Reset()
CMPXMedia::SetCObjectValueL(const TMPXAttribute &,C *)
CMPXMedia::SetErrorL(const TMPXAttribute &,TInt)
CMPXMedia::SetNoNewLCObjectL(const TMPXAttribute &,C *)
CMPXMedia::SetTObjectValueL(const TMPXAttribute &,T)
CMPXMedia::SetTextValueL(const TMPXAttribute &,const TDesC &)
CMPXMedia::SupportedIds()const
CMPXMedia::Type(TInt)const
CMPXMedia::Type(const TMPXAttribute &)const
CMPXMedia::Value(const TMPXAttribute &)const
CMPXMedia::ValueCObjectL(const TMPXAttribute &)const
CMPXMedia::ValueNoNewLCObjectL(const TMPXAttribute &)const
CMPXMedia::ValueTObjectL(const TMPXAttribute &)const
CMPXMedia::ValueText(const TMPXAttribute &)const
CMPXMedia::operator=(const CMPXMedia &)
CMPXMedia::~CMPXMedia()

Member Functions Documentation

AddItemL(const CMPXSubscriptionItem &)

IMPORT_C void AddItemL ( const CMPXSubscriptionItem & aItem )

Adds a new subscription item to the subscription.

Since
S60 3.2.3

Parameters

const CMPXSubscriptionItem & aItem Subscription item to add.

DebugPrint()

void DebugPrint ( ) const

Prints the subscription.

Since
S60 3.2.3

InitializeL()

void InitializeL ( ) [private]

Third phase constructor.

Since
S60 3.2.3

InitializeL(CMPXMediaArray &)

void InitializeL ( CMPXMediaArray & aMediaArray ) [private]

Third phase constructor.

Since
S60 3.2.3

Parameters

CMPXMediaArray & aMediaArray Subscription item array to initialize with.

ItemsL()

IMPORT_C const CMPXMediaArray * ItemsL ( ) const

Returns the subscription item array.

Since
S60 3.2.3
leave
KErrNoMemory if out of memory

NewL()

IMPORT_C CMPXSubscription * NewL ( ) [static]

Two phased constructor.

Since
S60 3.2.3

NewL(CMPXMediaArray &)

IMPORT_C CMPXSubscription * NewL ( CMPXMediaArray & aMediaArray ) [static]

Two phased constructor.

Since
S60 3.2.3

Parameters

CMPXMediaArray & aMediaArray Subscription item array to initialize with.

operator==(const CMPXSubscription &)

IMPORT_C TBool operator== ( const CMPXSubscription & aSubscription ) const

Comparison operator.

Since
S60 3.2.3

Parameters

const CMPXSubscription & aSubscription subscription to compare with