CImageFrame Class Reference

class CImageFrame : public CBase

CImageFrame class exposes an API for accessing binary image data in a uniform way. It is implemented as a wrapper around TDes8 or RChunk objects.

Inherits from

Public Member Functions
~CImageFrame()
IMPORT_C TDes8 &Data()
IMPORT_C const TDesC8 &Data()
IMPORT_C RChunk &DataChunk()
IMPORT_C TIntDataOffset()
IMPORT_C const TFrameFormatBase &FrameFormat()
IMPORT_C const TFrameLayoutBase &FrameLayout()
IMPORT_C const TSize &FrameSizeInPixels()
IMPORT_C TBoolIsChunk()
IMPORT_C TIntMaxBufferSize()
IMPORT_C CImageFrame *NewL(const TDes8 &, TInt)
IMPORT_C CImageFrame *NewL(const TDes8 &, TInt, const TSize &, const TFrameFormatBase &, const TFrameLayoutBase &)
IMPORT_C CImageFrame *NewL(const RChunk *, TInt, TInt)
IMPORT_C CImageFrame *NewL(const RChunk *, TInt, TInt, const TSize &, const TFrameFormatBase &, const TFrameLayoutBase &)
IMPORT_C voidSetFrameFormatL(const TFrameFormatBase &)
IMPORT_C voidSetFrameLayoutL(const TFrameLayoutBase &)
IMPORT_C voidSetFrameSizeInPixels(const TSize &)
Protected Member Functions
CImageFrame()
IMPORT_C voidConstructL(const TDes8 &, TInt)
IMPORT_C voidConstructL(const TDes8 &, TInt, const TSize &, const TFrameFormatBase &, const TFrameLayoutBase &)
IMPORT_C voidConstructL(const RChunk *, TInt, TInt)
IMPORT_C voidConstructL(const RChunk *, TInt, TInt, const TSize &, const TFrameFormatBase &, const TFrameLayoutBase &)
Private Member Functions
IMPORT_C voidReserved1()
IMPORT_C voidReserved2()
IMPORT_C voidReserved3()
IMPORT_C voidReserved4()
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()
Private Attributes
CBody *iBody

Constructor & Destructor Documentation

CImageFrame()

IMPORT_CCImageFrame()[protected]

~CImageFrame()

IMPORT_C~CImageFrame()

Member Functions Documentation

ConstructL(const TDes8 &, TInt)

IMPORT_C voidConstructL(const TDes8 &aBuffer,
TIntaMaxBufferSize
)[protected]

Parameters

const TDes8 & aBuffer
TInt aMaxBufferSize

ConstructL(const TDes8 &, TInt, const TSize &, const TFrameFormatBase &, const TFrameLayoutBase &)

IMPORT_C voidConstructL(const TDes8 &aBuffer,
TIntaMaxBufferSize,
const TSize &aFrameSize,
const TFrameFormatBase &aFrameFormat,
const TFrameLayoutBase &aFrameLayout
)[protected]

Parameters

const TDes8 & aBuffer
TInt aMaxBufferSize
const TSize & aFrameSize
const TFrameFormatBase & aFrameFormat
const TFrameLayoutBase & aFrameLayout

ConstructL(const RChunk *, TInt, TInt)

IMPORT_C voidConstructL(const RChunk *aBuffer,
TIntaMaxBufferSize,
TIntaDataOffset
)[protected]

Parameters

const RChunk * aBuffer
TInt aMaxBufferSize
TInt aDataOffset

ConstructL(const RChunk *, TInt, TInt, const TSize &, const TFrameFormatBase &, const TFrameLayoutBase &)

IMPORT_C voidConstructL(const RChunk *aBuffer,
TIntaMaxBufferSize,
TIntaDataOffset,
const TSize &aFrameSize,
const TFrameFormatBase &aFrameFormat,
const TFrameLayoutBase &aFrameLayout
)[protected]

Parameters

const RChunk * aBuffer
TInt aMaxBufferSize
TInt aDataOffset
const TSize & aFrameSize
const TFrameFormatBase & aFrameFormat
const TFrameLayoutBase & aFrameLayout

Data()

IMPORT_C TDes8 &Data()[virtual]

Data()

IMPORT_C const TDesC8 &Data()const [virtual]

DataChunk()

IMPORT_C RChunk &DataChunk()[virtual]

DataOffset()

IMPORT_C TIntDataOffset()const [virtual]

FrameFormat()

IMPORT_C const TFrameFormatBase &FrameFormat()const [virtual]

FrameLayout()

IMPORT_C const TFrameLayoutBase &FrameLayout()const [virtual]

FrameSizeInPixels()

IMPORT_C const TSize &FrameSizeInPixels()const [virtual]

IsChunk()

IMPORT_C TBoolIsChunk()const [virtual]

MaxBufferSize()

IMPORT_C TIntMaxBufferSize()const [virtual]

NewL(const TDes8 &, TInt)

IMPORT_C CImageFrame *NewL(const TDes8 &aBuffer,
TIntaMaxBufferSize
)[static]

Parameters

const TDes8 & aBuffer
TInt aMaxBufferSize

NewL(const TDes8 &, TInt, const TSize &, const TFrameFormatBase &, const TFrameLayoutBase &)

IMPORT_C CImageFrame *NewL(const TDes8 &aBuffer,
TIntaMaxBufferSize,
const TSize &aFrameSize,
const TFrameFormatBase &aFrameFormat,
const TFrameLayoutBase &aFrameLayout
)[static]

Parameters

const TDes8 & aBuffer
TInt aMaxBufferSize
const TSize & aFrameSize
const TFrameFormatBase & aFrameFormat
const TFrameLayoutBase & aFrameLayout

NewL(const RChunk *, TInt, TInt)

IMPORT_C CImageFrame *NewL(const RChunk *aBuffer,
TIntaMaxBufferSize,
TIntaDataOffset
)[static]

Parameters

const RChunk * aBuffer
TInt aMaxBufferSize
TInt aDataOffset

NewL(const RChunk *, TInt, TInt, const TSize &, const TFrameFormatBase &, const TFrameLayoutBase &)

IMPORT_C CImageFrame *NewL(const RChunk *aBuffer,
TIntaMaxBufferSize,
TIntaDataOffset,
const TSize &aFrameSize,
const TFrameFormatBase &aFrameFormat,
const TFrameLayoutBase &aFrameLayout
)[static]

Parameters

const RChunk * aBuffer
TInt aMaxBufferSize
TInt aDataOffset
const TSize & aFrameSize
const TFrameFormatBase & aFrameFormat
const TFrameLayoutBase & aFrameLayout

Reserved1()

IMPORT_C voidReserved1()[private, virtual]

Reserved2()

IMPORT_C voidReserved2()[private, virtual]

Reserved3()

IMPORT_C voidReserved3()[private, virtual]

Reserved4()

IMPORT_C voidReserved4()[private, virtual]

SetFrameFormatL(const TFrameFormatBase &)

IMPORT_C voidSetFrameFormatL(const TFrameFormatBase &aFormat)[virtual]

Parameters

const TFrameFormatBase & aFormat

SetFrameLayoutL(const TFrameLayoutBase &)

IMPORT_C voidSetFrameLayoutL(const TFrameLayoutBase &aFrameLayout)[virtual]

Parameters

const TFrameLayoutBase & aFrameLayout

SetFrameSizeInPixels(const TSize &)

IMPORT_C voidSetFrameSizeInPixels(const TSize &aFrameSize)[virtual]

Parameters

const TSize & aFrameSize

Member Data Documentation

CBody * iBody

CBody *iBody[private]