CMcnTopicArray Class Reference
class CMcnTopicArray : public CBase |
CMcnTopicArray represents a list containing the numbers of CB topics which a MCN client to CbsServer has subscribed.
Constructor & Destructor Documentation
CMcnTopicArray(const CMcnTopicArray &)
CMcnTopicArray()
CMcnTopicArray | ( | ) | [private] |
Member Functions Documentation
AddCbTopicL(TUint16)
IMPORT_C void | AddCbTopicL | ( | TUint16 | aTopicNumber | ) | |
Adds a single CB topic to the topic list. Leaves with KErrArgument if the topic number is not in valid range. In this implementation, all values are accepted.
Leave reasons: KErrArgument, aTopicNumber not in valid range.. KErrNoMemory, Out-of-memory occured.
Parameters
TUint16 aTopicNumber | Number of subscribed CB topic. |
ConstructL()
void | ConstructL | ( | ) | [private] |
EnumerateEntries(TUint &)
void | EnumerateEntries | ( | TUint & | aEntries | ) | const |
Returns the number of topic entries in parameter aEntries.
Parameters
TUint & aEntries | The number of topic entires |
GetTopicNumber(const TUint &, TUint &)
IMPORT_C void | GetTopicNumber | ( | const TUint & | aIndex, |
| TUint & | aTopicNumber |
| ) | const |
Returns the number of topic in aTopicNumber corresponding to the index given in aIndex.
Parameters
const TUint & aIndex | Index of the topic number. |
TUint & aTopicNumber | Topic number corresponding to the given index. |
operator=(const CMcnTopicArray &)
Member Data Documentation
CArrayFixFlat< TUint > * iTopicList
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.