Swi::CWriteStream Class Reference

class Swi::CWriteStream : public CBase

A class which acts as a wrapper around the RBufWriteStream class, automatically creating a buffer to write into, and a stream to write into it. The class also provides an acessor to the raw memory of the buffer.

Inherits from

Constructor & Destructor Documentation

CWriteStream()

CWriteStream()[private]

~CWriteStream()

~CWriteStream()

Member Functions Documentation

Buffer()

CBufFlat &Buffer()[inline]

ConstructL()

voidConstructL()[private]

NewL()

IMPORT_C CWriteStream *NewL()[static]

NewLC()

IMPORT_C CWriteStream *NewLC()[static]

Ptr()

IMPORT_C TPtr8Ptr()

ReAllocL(TInt)

IMPORT_C voidReAllocL(TIntaSize)

Reallocates stream buffer, clears contents.

Parameters

TInt aSizeNew stream buffer size.

Stream()

RBufWriteStream &Stream()[inline]

operator RBufWriteStream &()

IMPORT_Coperator RBufWriteStream &()

Member Data Documentation

const TInt KBufferSize

const TIntKBufferSize[static]

CBufFlat * iBuffer

CBufFlat *iBuffer[private]

RBufWriteStream iWriteStream

RBufWriteStream iWriteStream[private]