CEmsInformationElement Class Reference

class CEmsInformationElement : public CSmsInformationElement

Abstract base class used to allow ems objects to be passed around, and to be handled as a generic group of objects.

Inherits from

Public Member Functions
CEmsInformationElement *DecodeInformationElementL(const CSmsInformationElement &)
IMPORT_C CEmsInformationElement *DuplicateL()
IMPORT_C voidEncodeInformationElementL()
voidExternalizeL(RWriteStream &)
CEmsInformationElement *InternalizeL(RReadStream &)
IMPORT_C TIntLength()
IMPORT_C voidSetStartPosition(TUint)
IMPORT_C TUintStartPosition()
Protected Member Functions
CEmsInformationElement(TSmsId, TBool)
voidCopyL(const CEmsInformationElement &)
voidDecodeBodyL(const TPtrC8, TBool)
voidEncodeBodyL(TPtr8, TBool)
TInt SerialisedBodyLength()
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()
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
Protected Attributes
TUint iEncodedBodyLength
TUint iStartPosition
Private Attributes
const TBooliStartPosEncoded
Inherited Attributes
CSmsInformationElement::iData
CSmsInformationElement::iIdentifier

Constructor & Destructor Documentation

CEmsInformationElement(TSmsId, TBool)

CEmsInformationElement(TSmsIdaId,
TBoolaStartPosEncoded = ETrue
)[protected, inline]

Parameters

TSmsId aId
TBool aStartPosEncoded = ETrue

Member Functions Documentation

CopyL(const CEmsInformationElement &)

voidCopyL(const CEmsInformationElement &aSrc)[protected]

Parameters

const CEmsInformationElement & aSrc

DecodeBodyL(const TPtrC8, TBool)

voidDecodeBodyL(const TPtrC8aPtr,
TBoolaIsFromSerialisation
)[protected, pure virtual]

Parameters

const TPtrC8 aPtr
TBool aIsFromSerialisation

DecodeInformationElementL(const CSmsInformationElement &)

CEmsInformationElement *DecodeInformationElementL(const CSmsInformationElement &aSmsIe)[static]

Parameters

const CSmsInformationElement & aSmsIe

DuplicateL()

IMPORT_C CEmsInformationElement *DuplicateL()const [pure virtual]

EncodeBodyL(TPtr8, TBool)

voidEncodeBodyL(TPtr8aPtr,
TBoolaIsForSerialisation
)const [protected, pure virtual]

Parameters

TPtr8 aPtr
TBool aIsForSerialisation

EncodeInformationElementL()

IMPORT_C voidEncodeInformationElementL()

Encodes the EmsInformationElement into a CSmsInformationElement

capability
None

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

CEmsInformationElement *InternalizeL(RReadStream &aStream)[static]

Parameters

RReadStream & aStream

Length()

IMPORT_C TIntLength()const
capability
None

SerialisedBodyLength()

TInt SerialisedBodyLength()const [protected, virtual]

SetStartPosition(TUint)

IMPORT_C voidSetStartPosition(TUintaValue)
capability
None

Parameters

TUint aValue

StartPosition()

IMPORT_C TUintStartPosition()const
capability
None

Member Data Documentation

TUint iEncodedBodyLength

TUint iEncodedBodyLength[protected]

const TBool iStartPosEncoded

const TBooliStartPosEncoded[private]

TUint iStartPosition

TUint iStartPosition[protected]