TSmsInformationElementCategories Class Reference

class TSmsInformationElementCategories

TSmsInformationElementCategories

This class specifies where information elements are located SMS Messages.

It specifies which PDUs each information element can be located in.

The SMS stack uses this information when encoding and decoding SMS messages.

Constructor & Destructor Documentation

TSmsInformationElementCategories()

TSmsInformationElementCategories ( ) [private, inline]

~TSmsInformationElementCategories()

~TSmsInformationElementCategories ( ) [private, inline]

Member Functions Documentation

GetCategoryDefinition(TInformationElementId, TInformationElementCategory &)

TBool GetCategoryDefinition ( TInformationElementId aId,
TInformationElementCategory & aCategory
) [static]

This method gets an information element identifier's category.

Parameters

TInformationElementId aId The information Element Identifier.
TInformationElementCategory & aCategory The category of information element.

TranslateCategoryToIndex(TInformationElementId, TInt &)

TBool TranslateCategoryToIndex ( TInformationElementId aId,
TInt & index
) [private, static]

This method maps an information element to an index into an array of categories.

Parameters

TInformationElementId aId The information Element Identifier.
TInt & index The index into the array of categories

operator=(TSmsInformationElementCategories &)

void operator= ( TSmsInformationElementCategories & aCategory ) [private, inline]

Parameters

TSmsInformationElementCategories & aCategory

operator==(TSmsInformationElementCategories &)

TBool operator== ( TSmsInformationElementCategories & aCategory ) [private, inline]

Parameters

TSmsInformationElementCategories & aCategory

Member Enumerations Documentation

Enum TIndexToCategory

Enumerators

EIndexEmsInformationElement
EIndexCtrlMandatoryInEveryPDUAndWithIdenticalValues
EIndexCtrlMandatoryInEveryPDUMultipleInstancesPerPDU
EIndexCtrlMandatoryInEveryPDUButWithValueSpecificToPDU
EIndexCtrlMandatoryIn1stPDUOnly
EIndexCtrlSingleInstanceOnly
EIndexCtrlMultipleInstancesAllowed
EIndexCtrlOptionalInEveryPDUWithValueSpecificToPDU
ENumberOfIndices

Enum TInformationElementCategory

Enumerators

EEmsInformationElement
ECtrlMandatoryInEveryPDUAndWithIdenticalValues
ECtrlMandatoryInEveryPDUMultipleInstancesPerPDU
ECtrlMandatoryInEveryPDUButWithValueSpecificToPDU
ECtrlMandatoryIn1stPDUOnly
ECtrlSingleInstanceOnly
ECtrlMultipleInstancesAllowed
ENumberOfCategories

Member Type Definitions Documentation

Typedef TInformationElementId

typedef CSmsInformationElement::TSmsInformationElementIdentifier TInformationElementId