CEmsPreDefSoundIE Class Reference

class CEmsPreDefSoundIE : public CEmsInformationElement
Public Member Functions
IMPORT_C void CopyL (const CEmsPreDefSoundIE &)
IMPORT_C CEmsInformationElement * DuplicateL ()
IMPORT_C CEmsPreDefSoundIE * NewL ( TPredefinedSound )
IMPORT_C TPredefinedSound PredefinedSound ()
Private Member Functions
CEmsPreDefSoundIE ()
void ConstructL ( TPredefinedSound )
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()
Public Member Enumerations
enum TPredefinedSound {
EChimesHigh  = 0, EChimesLow , EDing , ETaDa , ENotify , EDrum , EClaps , EFanFar , EChordHigh , EChordLow
}
Inherited Enumerations
CSmsInformationElement:TSmsInformationElementIdentifier
Private Attributes
TPredefinedSound iSound
Inherited Attributes
CEmsInformationElement::iEncodedBodyLength
CEmsInformationElement::iStartPosition
CSmsInformationElement::iData
CSmsInformationElement::iIdentifier

Constructor & Destructor Documentation

CEmsPreDefSoundIE()

CEmsPreDefSoundIE ( ) [private]

Member Functions Documentation

ConstructL(TPredefinedSound)

void ConstructL ( TPredefinedSound aSound ) [private]

Parameters

TPredefinedSound aSound

CopyL(const CEmsPreDefSoundIE &)

IMPORT_C void CopyL ( const CEmsPreDefSoundIE & aSrc )
capability
None

Parameters

const CEmsPreDefSoundIE & 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
KErrCorrupt 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(TPredefinedSound)

IMPORT_C CEmsPreDefSoundIE * NewL ( TPredefinedSound aSound = EChimesHigh ) [static]
capability
None

Parameters

TPredefinedSound aSound = EChimesHigh

PredefinedSound()

IMPORT_C TPredefinedSound PredefinedSound ( ) const
capability
None

Member Enumerations Documentation

Enum TPredefinedSound

Enumerators

EChimesHigh = 0
EChimesLow
EDing
ETaDa
ENotify
EDrum
EClaps
EFanFar
EChordHigh
EChordLow

Member Data Documentation

TPredefinedSound iSound

TPredefinedSound iSound [private]