CEmsPreDefAnimationIE Class Reference

class CEmsPreDefAnimationIE : public CEmsInformationElement

CEmsPreDefAnimationIE wraps the creation & modification of an EMS predefined animation information element into a single class.

Format of PreDef animation Information Element. -----------------------------------------------

Position (Octet) Bit Description 1 Start Position 2 PreDefined Animation Number

The start position of the information element is relative to the PDU that contains the object. However when within this class it will be an converted to an absolute position within the message.

3gpp Spec V5 section 9.2.3.24.10.1.4

Public Member Functions
IMPORT_C TAnimType Animation ()
IMPORT_C void CopyL (const CEmsPreDefAnimationIE &)
IMPORT_C CEmsInformationElement * DuplicateL ()
IMPORT_C CEmsPreDefAnimationIE * NewL ( TAnimType )
IMPORT_C void SetAnimationL ( TAnimType )
Private Member Functions
CEmsPreDefAnimationIE ( TAnimType )
CEmsPreDefAnimationIE ()
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 TAnimType {
EFlirty  = 0x0, EGlad  = 0x1, ESceptic  = 0x2, ESad  = 0x3, EWow  = 0x4, ECrying  = 0x5, EWinking  = 0x6, ELaughing  = 0x7, EIndifferent  = 0x8, EKissing  = 0x9, EConfused  = 0xA, ETongueOut  = 0xB, EAngry  = 0xC, EGlasses  = 0xD, EDevil  = 0xE
}
Inherited Enumerations
CSmsInformationElement:TSmsInformationElementIdentifier
Private Attributes
TAnimType iAnimNumber
Inherited Attributes
CEmsInformationElement::iEncodedBodyLength
CEmsInformationElement::iStartPosition
CSmsInformationElement::iData
CSmsInformationElement::iIdentifier

Constructor & Destructor Documentation

CEmsPreDefAnimationIE(TAnimType)

CEmsPreDefAnimationIE ( TAnimType aAnimValue ) [private]

Parameters

TAnimType aAnimValue

CEmsPreDefAnimationIE()

CEmsPreDefAnimationIE ( ) [private]

Member Functions Documentation

Animation()

IMPORT_C TAnimType Animation ( ) const
capability
None

CopyL(const CEmsPreDefAnimationIE &)

IMPORT_C void CopyL ( const CEmsPreDefAnimationIE & aSrc )
capability
None

Parameters

const CEmsPreDefAnimationIE & 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 raw Ems information element into a data buffer that can be use to create a normal information element.

Parameters

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

NewL(TAnimType)

IMPORT_C CEmsPreDefAnimationIE * NewL ( TAnimType aAnimValue = EFlirty ) [static]
Creates a new Predifined animation class.
capability
None

Parameters

TAnimType aAnimValue = EFlirty number of the predefined animations

SetAnimationL(TAnimType)

IMPORT_C void SetAnimationL ( TAnimType aValue )
capability
None

Parameters

TAnimType aValue

Member Enumerations Documentation

Enum TAnimType

Enumerators

EFlirty = 0x0
EGlad = 0x1
ESceptic = 0x2
ESad = 0x3
EWow = 0x4
ECrying = 0x5
EWinking = 0x6
ELaughing = 0x7
EIndifferent = 0x8
EKissing = 0x9
EConfused = 0xA
ETongueOut = 0xB
EAngry = 0xC
EGlasses = 0xD
EDevil = 0xE

Member Data Documentation

TAnimType iAnimNumber

TAnimType iAnimNumber [private]