CEmsObjectDistribution Class Reference

class CEmsObjectDistribution : public CEmsInformationElement

CEmsObjectDistribution wraps the creation & modification of the object distribution information element into a single class.

Format of Extended Object. ----------------------------

Position (Octet) Bit Description 1 Number of information Elements 2 Distribution Attr 2 0 NoForwarding Attr (1=NoForward) 2 1..7 Reserved

3gpp Spec V5 section 9.2.3.24.10.1.14

Inherits from

Public Member Functions
IMPORT_C voidCopyL(const CEmsObjectDistribution &)
IMPORT_C CEmsInformationElement *DuplicateL()
IMPORT_C TAttrsForwarding()
IMPORT_C CEmsObjectDistribution *NewL(TUint, TAttrs)
IMPORT_C TUintObjectCount()
IMPORT_C voidSetForwarding(TAttrs)
IMPORT_C voidSetObjectCount(TUint)
Private Member Functions
CEmsObjectDistribution(TUint, TAttrs)
voidDecodeBodyL(const TPtrC8, TBool)
voidEncodeBodyL(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
enumanonymous { EIESize = 2 }
enumTAttrs { EForward = 0x0, ENoForward = 0x01 }
Inherited Enumerations
CSmsInformationElement:TSmsInformationElementIdentifier
Private Attributes
TAttrs iAttr
TUint iObjectCount
Inherited Attributes
CEmsInformationElement::iEncodedBodyLength
CEmsInformationElement::iStartPosition
CSmsInformationElement::iData
CSmsInformationElement::iIdentifier

Constructor & Destructor Documentation

CEmsObjectDistribution(TUint, TAttrs)

CEmsObjectDistribution(TUintaObjectCount = 0,
TAttrsaAttr = EForward
)[private]

Parameters

TUint aObjectCount = 0
TAttrs aAttr = EForward

Member Functions Documentation

CopyL(const CEmsObjectDistribution &)

IMPORT_C voidCopyL(const CEmsObjectDistribution &aSrc)
capability
None

Parameters

const CEmsObjectDistribution & aSrc

DecodeBodyL(const TPtrC8, TBool)

voidDecodeBodyL(const TPtrC8aPtr,
TBoolaIsFromSerialisation
)[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 aPtrThe raw predefined animation data
TBool aIsFromSerialisation

DuplicateL()

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

EncodeBodyL(TPtr8, TBool)

voidEncodeBodyL(TPtr8aPtr,
TBoolaIsForSerialisation
)const [private, virtual]

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

Parameters

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

Forwarding()

IMPORT_C TAttrsForwarding()const
capability
None

NewL(TUint, TAttrs)

IMPORT_C CEmsObjectDistribution *NewL(TUintaObjectCount = 1,
TAttrsaAttr = EForward
)[static]
capability
None

Parameters

TUint aObjectCount = 1
TAttrs aAttr = EForward

ObjectCount()

IMPORT_C TUintObjectCount()const
capability
None

SetForwarding(TAttrs)

IMPORT_C voidSetForwarding(TAttrsaAttr)
capability
None

Parameters

TAttrs aAttr

SetObjectCount(TUint)

IMPORT_C voidSetObjectCount(TUintaObjectCount)
capability
None

Parameters

TUint aObjectCount

Member Enumerations Documentation

Enum anonymous

Enumerators

EIESize = 2

Enum TAttrs

Enumerators

EForward = 0x0
ENoForward = 0x01

Member Data Documentation

TAttrs iAttr

TAttrs iAttr[private]

TUint iObjectCount

TUint iObjectCount[private]