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

void ConstructL ( ) [private]

NewL()

IMPORT_C CWriteStream * NewL ( ) [static]

NewLC()

IMPORT_C CWriteStream * NewLC ( ) [static]

Ptr()

IMPORT_C TPtr8 Ptr ( )

ReAllocL(TInt)

IMPORT_C void ReAllocL ( TInt aSize )

Reallocates stream buffer, clears contents.

Parameters

TInt aSize New stream buffer size.

Stream()

RBufWriteStream & Stream ( ) [inline]

operator RBufWriteStream &()

IMPORT_C operator RBufWriteStream & ( )

Member Data Documentation

const TInt KBufferSize

const TInt KBufferSize [static]

CBufFlat * iBuffer

CBufFlat * iBuffer [private]

RBufWriteStream iWriteStream

RBufWriteStream iWriteStream [private]