CIOBuffer Class Reference

class CIOBuffer : public CBase

Generic buffer class Enables HBufC8 pointers to be queued

Inherits from

Constructor & Destructor Documentation

CIOBuffer()

CIOBuffer()[private]

Constructor. Generic Buffer class Currently used for transmit buffers

~CIOBuffer()

~CIOBuffer()

Destructor. Free the HBuf if there is one

Member Functions Documentation

Assign(HBufC8 *)

voidAssign(HBufC8 *aBuffer = NULL)

Assigns the data from buffer to pointer.

Parameters

HBufC8 * aBuffer = NULLThe data to be assigned

ConstructL(const TInt)

voidConstructL(const TIntaSize)[private]

Construction where we new the HBuf

Parameters

const TInt aSizeLength of the Buffer.

Data()

HBufC8 *Data()const [inline]

FreeData()

voidFreeData()

Frees the data.

LinkOffset()

TInt LinkOffset()[static]

Offset

NewL(HBufC8 *)

CIOBuffer *NewL(HBufC8 *aBuf = NULL)[static]

HBuf provided.

Parameters

HBufC8 * aBuf = NULLThe data to be assigned

NewL(const TInt)

CIOBuffer *NewL(const TIntaSize)[static]

Creation where we new the HBuf.

Parameters

const TInt aSizeLength of the Buffer.

Ptr()

TPtr8 &Ptr()[inline]

Member Data Documentation

HBufC8 * iBuf

HBufC8 *iBuf[private]

TPtr8 iBufPtr

TPtr8 iBufPtr[private]

TSglQueLink iLink

TSglQueLink iLink[private]