CSendAsMessageTypes Class Reference
class CSendAsMessageTypes : public CBase
|
Provides human-readable names and UIDs for the filtered list of message types.
Constructor & Destructor Documentation
CSendAsMessageTypes()
CSendAsMessageTypes
|
(
|
)
|
[private]
|
~CSendAsMessageTypes()
IMPORT_C
|
~CSendAsMessageTypes
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AppendMessageTypeL(const TDesC &, TUid)
IMPORT_C void
|
AppendMessageTypeL
|
(
|
const
TDesC
&
|
aMessageTypeName,
|
|
TUid
|
aMessageTypeUid
|
|
)
|
|
Appends a new message type and associated name pair.
Parameters
const
TDesC
& aMessageTypeName
|
The human readable name with which to associate with the given message type.
|
TUid
aMessageTypeUid
|
The message type to add.
|
AvailableMessageTypes()
IMPORT_C const MDesCArray &
|
AvailableMessageTypes
|
(
|
)
|
const
|
The names of the available message types.
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Count()
IMPORT_C
TInt
|
Count
|
(
|
)
|
const
|
The number of message types.
ExternalizeL(RWriteStream &)
IMPORT_C void
|
ExternalizeL
|
(
|
RWriteStream
&
|
aWriteStream
|
)
|
const
|
InternalizeL(RReadStream &)
IMPORT_C void
|
InternalizeL
|
(
|
RReadStream
&
|
aReadStream
|
)
|
|
MessageTypeUid(TInt)
IMPORT_C
TUid
|
MessageTypeUid
|
(
|
TInt
|
aIndex
|
)
|
const
|
The UID of the message as specified by the index argument.
Parameters
TInt
aIndex
|
The index of the specified message type.
|
NameFromUidL(const TUid)
IMPORT_C
TPtrC
|
NameFromUidL
|
(
|
const
TUid
|
aUid
|
)
|
const
|
The name associated with the given message type.
Parameters
const
TUid
aUid
|
The message type UID whose associated name is to be retrieved.
|
RemoveMessageType(TInt)
IMPORT_C void
|
RemoveMessageType
|
(
|
TInt
|
aIndex
|
)
|
|
Removes an existing message type and associated name pair.
Parameters
TInt
aIndex
|
The index of the entry to remove.
|
Reset()
Deletes all elements from the array.
Size()
IMPORT_C
TInt
|
Size
|
(
|
)
|
const
|
Gives the size of the message types collection.
UidFromNameL(const TDesC &)
IMPORT_C
TUid
|
UidFromNameL
|
(
|
const
TDesC
&
|
aName
|
)
|
const
|
The message type associated with the given name.
Parameters
const
TDesC
& aName
|
The associated name of the message type whose UID is to be returned.
|
Member Data Documentation
CDesCArrayFlat * iMessageTypeNames
RArray< TUid > iMessageTypeUids
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.