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(TInformationElementIdaId,
TInformationElementCategory &aCategory
)[static]

This method gets an information element identifier's category.

Parameters

TInformationElementId aIdThe information Element Identifier.
TInformationElementCategory & aCategoryThe category of information element.

TranslateCategoryToIndex(TInformationElementId, TInt &)

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

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

Parameters

TInformationElementId aIdThe information Element Identifier.
TInt & indexThe index into the array of categories

operator=(TSmsInformationElementCategories &)

voidoperator=(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