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 void EncodeInformationElementL ()
void ExternalizeL ( RWriteStream &)
CEmsInformationElement * InternalizeL ( RReadStream &)
IMPORT_C TInt Length ()
IMPORT_C void SetStartPosition ( TUint )
IMPORT_C TUint StartPosition ()
Protected Member Functions
CEmsInformationElement ( TSmsId , TBool )
void CopyL (const CEmsInformationElement &)
void DecodeBodyL (const TPtrC8 , TBool )
void EncodeBodyL ( 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 TBool iStartPosEncoded
Inherited Attributes
CSmsInformationElement::iData
CSmsInformationElement::iIdentifier

Constructor & Destructor Documentation

CEmsInformationElement(TSmsId, TBool)

CEmsInformationElement ( TSmsId aId,
TBool aStartPosEncoded = ETrue
) [protected, inline]

Parameters

TSmsId aId
TBool aStartPosEncoded = ETrue

Member Functions Documentation

CopyL(const CEmsInformationElement &)

void CopyL ( const CEmsInformationElement & aSrc ) [protected]

Parameters

const CEmsInformationElement & aSrc

DecodeBodyL(const TPtrC8, TBool)

void DecodeBodyL ( const TPtrC8 aPtr,
TBool aIsFromSerialisation
) [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)

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

Parameters

TPtr8 aPtr
TBool aIsForSerialisation

EncodeInformationElementL()

IMPORT_C void EncodeInformationElementL ( )

Encodes the EmsInformationElement into a CSmsInformationElement

capability
None

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

CEmsInformationElement * InternalizeL ( RReadStream & aStream ) [static]

Parameters

RReadStream & aStream

Length()

IMPORT_C TInt Length ( ) const
capability
None

SerialisedBodyLength()

TInt SerialisedBodyLength ( ) const [protected, virtual]

SetStartPosition(TUint)

IMPORT_C void SetStartPosition ( TUint aValue )
capability
None

Parameters

TUint aValue

StartPosition()

IMPORT_C TUint StartPosition ( ) const
capability
None

Member Data Documentation

TUint iEncodedBodyLength

TUint iEncodedBodyLength [protected]

const TBool iStartPosEncoded

const TBool iStartPosEncoded [private]

TUint iStartPosition

TUint iStartPosition [protected]