CEmsUserPrompt Class Reference

class CEmsUserPrompt : public CEmsInformationElement

CEmsUserPrompt wraps the creation & modification of the user prompt information elements into a single class.

Format of EMS Object ------------------------------------------

Position (Octet) Bit Description 1 Object count

3gpp Spec V5 section 9.2.3.24.10.1.10

Public Member Functions
IMPORT_C void CopyL (const CEmsUserPrompt &)
IMPORT_C CEmsInformationElement * DuplicateL ()
IMPORT_C CEmsUserPrompt * NewL ( TUint )
IMPORT_C TUint ObjectCount ()
IMPORT_C void SetObjectCount ( TUint )
Private Member Functions
CEmsUserPrompt ( TUint )
void DecodeBodyL (const TPtrC8 , TBool )
void EncodeBodyL ( TPtr8 , TBool )
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CEmsInformationElement::CEmsInformationElement(TSmsId,TBool)
CEmsInformationElement::CopyL(const CEmsInformationElement &)
CEmsInformationElement::DecodeInformationElementL(const CSmsInformationElement &)
CEmsInformationElement::EncodeInformationElementL()
CEmsInformationElement::ExternalizeL(RWriteStream &)const
CEmsInformationElement::InternalizeL(RReadStream &)
CEmsInformationElement::Length()const
CEmsInformationElement::SerialisedBodyLength()const
CEmsInformationElement::SetStartPosition(TUint)
CEmsInformationElement::StartPosition()const
CSmsInformationElement::CSmsInformationElement(TSmsInformationElementIdentifier)
CSmsInformationElement::ConstructL(const TDesC8 &)
CSmsInformationElement::Data()
CSmsInformationElement::Data()const
CSmsInformationElement::DecodeL(TGsmuLex8 &)
CSmsInformationElement::EncodeL(TUint8 *)const
CSmsInformationElement::Identifier()const
CSmsInformationElement::NewDataL(TInt)
CSmsInformationElement::NewL()
CSmsInformationElement::NewL(TSmsInformationElementIdentifier,const TDesC8 &)
CSmsInformationElement::~CSmsInformationElement()
Inherited Enumerations
CSmsInformationElement:TSmsInformationElementIdentifier
Private Attributes
TUint iObjectCount
Inherited Attributes
CEmsInformationElement::iEncodedBodyLength
CEmsInformationElement::iStartPosition
CSmsInformationElement::iData
CSmsInformationElement::iIdentifier

Constructor & Destructor Documentation

CEmsUserPrompt(TUint)

CEmsUserPrompt ( TUint aObjectCount = 0 ) [private]

Parameters

TUint aObjectCount = 0

Member Functions Documentation

CopyL(const CEmsUserPrompt &)

IMPORT_C void CopyL ( const CEmsUserPrompt & aSrc )
capability
None

Parameters

const CEmsUserPrompt & aSrc

DecodeBodyL(const TPtrC8, TBool)

void DecodeBodyL ( const TPtrC8 aPtr,
TBool aIsFromSerialisation
) [private, virtual]

Decodes the raw data out of an information element into this class.

leave
KErrArgument If the size of the data does not match what is expected.

Parameters

const TPtrC8 aPtr The raw predefined animation data
TBool aIsFromSerialisation

DuplicateL()

IMPORT_C CEmsInformationElement * DuplicateL ( ) const [virtual]
capability
None

EncodeBodyL(TPtr8, TBool)

void EncodeBodyL ( TPtr8 aPtr,
TBool aIsForSerialisation
) const [private, virtual]

Encodes the information element into its raw format. (no IE id)

Parameters

TPtr8 aPtr the buffer to be used which is to contain the data
TBool aIsForSerialisation

NewL(TUint)

IMPORT_C CEmsUserPrompt * NewL ( TUint aObjectCount = 1 ) [static]
capability
None

Parameters

TUint aObjectCount = 1

ObjectCount()

IMPORT_C TUint ObjectCount ( ) const
capability
None

SetObjectCount(TUint)

IMPORT_C void SetObjectCount ( TUint aObjectCount )
capability
None

Parameters

TUint aObjectCount

Member Data Documentation

TUint iObjectCount

TUint iObjectCount [private]