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 *)

void Assign ( HBufC8 * aBuffer = NULL )

Assigns the data from buffer to pointer.

Parameters

HBufC8 * aBuffer = NULL The data to be assigned

ConstructL(const TInt)

void ConstructL ( const TInt aSize ) [private]

Construction where we new the HBuf

Parameters

const TInt aSize Length of the Buffer.

Data()

HBufC8 * Data ( ) const [inline]

FreeData()

void FreeData ( )

Frees the data.

LinkOffset()

TInt LinkOffset ( ) [static]

Offset

NewL(HBufC8 *)

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

HBuf provided.

Parameters

HBufC8 * aBuf = NULL The data to be assigned

NewL(const TInt)

CIOBuffer * NewL ( const TInt aSize ) [static]

Creation where we new the HBuf.

Parameters

const TInt aSize Length 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]