RCatalogsBufferWriter Class Reference

class RCatalogsBufferWriter

Utility class for writing to a buffer

Usage:

        RCatalogsBufferWriter writer;
 writer.OpenLC();
 writer().WriteInt32L( 64 );
 ExternalizeDesL( myDescriptor, writer() );
 ...
 TPtr8 ptr( writer->PtrL() ); 
 // use the pointer 
 ...
 CleanupStack::PopAndDestroy( &writer );
       

Constructor & Destructor Documentation

RCatalogsBufferWriter()

RCatalogsBufferWriter ( )

Constructor

RCatalogsBufferWriter(const RCatalogsBufferWriter &)

RCatalogsBufferWriter ( const RCatalogsBufferWriter & ) [protected]

Parameters

const RCatalogsBufferWriter &

~RCatalogsBufferWriter()

~RCatalogsBufferWriter ( ) [virtual]

Destructor

Member Functions Documentation

Close()

void Close ( )

Closes the object

OpenL()

void OpenL ( )

Opens the stream for writing.

Note:

This object must be Closed when it's not used anymore

OpenLC()

void OpenLC ( )

Opens the stream for writing and pushes the writer to cleanupstack

PtrL()

TPtr8 PtrL ( ) [inline]

Written buffer

operator()()

RWriteStream & operator() ( ) [inline]

Stream getter

operator=(const RCatalogsBufferWriter &)

RCatalogsBufferWriter & operator= ( const RCatalogsBufferWriter & ) [protected]

Parameters

const RCatalogsBufferWriter &

Member Data Documentation

CBufBase * iBuf

CBufBase * iBuf [private]

RBufWriteStream iStream

RBufWriteStream iStream [private]