CEmsPictureIE Class Reference

class CEmsPictureIE : public CEmsInformationElement

CEmsPictureIE wraps the creation & modification of the picture small/large and vriable information element into a single class.

Format of Small/Large ----------------------------

Position (Octet) Bit Description 1 Start Position 2..n Picture Data

Format of variable ----------------------------

Position (Octet) Bit Description 1 Start Position 2 Width 3 Height 4..n Picture Data

3gpp Spec V5 section 9.2.3.24.10.1.7/8/9

Public Member Functions
~CEmsPictureIE()
IMPORT_C voidCopyL(const CEmsPictureIE &)
IMPORT_C CEmsInformationElement *DuplicateL()
IMPORT_C CFbsBitmap *GetBitmapL()
IMPORT_C CEmsPictureIE *NewL(const CFbsBitmap &)
CEmsPictureIE *NewL()
IMPORT_C TSizeSizeInPixels()
Private Member Functions
CEmsPictureIE()
voidConstructL(const CFbsBitmap &)
HBufC8 *CreatePictureBufferL(const CFbsBitmap &)
voidDecodeBodyL(const TPtrC8, TBool)
voidEncodeBodyL(TPtr8, TBool)
HBufC8 *PictureBuf()
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(TSmsInformationElementIdentifier,const TDesC8 &)
CSmsInformationElement::~CSmsInformationElement()
Public Member Enumerations
enumTColors { EWhite = 0, EBlack = 1 }
Inherited Enumerations
CSmsInformationElement:TSmsInformationElementIdentifier
Private Attributes
HBufC8 *iPictureBuf
TSize iSize
Inherited Attributes
CEmsInformationElement::iEncodedBodyLength
CEmsInformationElement::iStartPosition
CSmsInformationElement::iData
CSmsInformationElement::iIdentifier

Constructor & Destructor Documentation

CEmsPictureIE()

CEmsPictureIE()[private]

~CEmsPictureIE()

IMPORT_C~CEmsPictureIE()
capability
None

Member Functions Documentation

ConstructL(const CFbsBitmap &)

voidConstructL(const CFbsBitmap &aBitmap)[private]

Parameters

const CFbsBitmap & aBitmap

CopyL(const CEmsPictureIE &)

IMPORT_C voidCopyL(const CEmsPictureIE &aSrc)
capability
None

Parameters

const CEmsPictureIE & aSrc

CreatePictureBufferL(const CFbsBitmap &)

HBufC8 *CreatePictureBufferL(const CFbsBitmap &aBitmap)[private, static]

Parameters

const CFbsBitmap & aBitmap

DecodeBodyL(const TPtrC8, TBool)

voidDecodeBodyL(const TPtrC8aPtr,
TBoolaIsFromSerialisation
)[private, virtual]

Decodes the raw data out of an information element into this class.

leave
KErrGeneral 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

GetBitmapL()

IMPORT_C CFbsBitmap *GetBitmapL()const
capability
None

NewL(const CFbsBitmap &)

IMPORT_C CEmsPictureIE *NewL(const CFbsBitmap &aBitmap)[static]
capability
None

Parameters

const CFbsBitmap & aBitmap

NewL()

CEmsPictureIE *NewL()[static]

PictureBuf()

HBufC8 *PictureBuf()const [private, inline]

SizeInPixels()

IMPORT_C TSizeSizeInPixels()const
capability
None

Member Enumerations Documentation

Enum TColors

Enumerators

EWhite = 0
EBlack = 1

Member Data Documentation

HBufC8 * iPictureBuf

HBufC8 *iPictureBuf[private]

TSize iSize

TSize iSize[private]