PCStore::CStoreWriteStream Class Reference

#include <pcstore/storewritestream.h>

class PCStore::CStoreWriteStream
Public Member Functions
CStoreWriteStream(CFileStreamBuf &, TStreamId)
~CStoreWriteStream()
voidWrite(const TUint8 *, TInt)
voidWrite(const TUint16 *, TInt)
voidWrite(const CDes8 &)
voidWrite(const CDes8 &, TInt)
voidWrite(const CDes16 &)
voidWrite(const CDes16 &, TInt)
voidWriteInt16(TInt16)
voidWriteInt32(TInt32)
voidWriteInt64(TInt64)
voidWriteInt8(TInt8)
voidWriteReal32(TReal32)
voidWriteReal64(TReal64)
voidWriteUint16(TUint16)
voidWriteUint32(TUint32)
voidWriteUint64(TUint64)
voidWriteUint8(TUint8)

Detailed Description

A write stream class to externalize data to a Store file.

By eventually calling CFileStreamBuf's write function, it implements the externalization of the following data types: TInt8 TUint8 TInt16 TUint16 TInt32 TUint32 TInt64 TUint64 TReal32 TReal64 TUint8* TUint16* CDes8 CDes16

After instantiated, it must be opened on a write-moded CDirectFileStore object to externalize data. It must be closed or destroyed before another stream is opened on the same CDirectFileStore object.

See also: CDirectFileStore CStoreReadStream

Constructor & Destructor Documentation

CStoreWriteStream ( CFileStreamBuf &, TStreamId )

CStoreWriteStream(CFileStreamBuf &aStreamBuf,
TStreamIdaId
)

~CStoreWriteStream ( )

~CStoreWriteStream()

Member Function Documentation

Write ( const TUint8 *, TInt )

voidWrite(const TUint8 *aPtr,
TIntaLength
)

Write ( const TUint16 *, TInt )

voidWrite(const TUint16 *aPtr,
TIntaLength
)

Write ( const CDes8 & )

voidWrite(const CDes8 &aDes)

Write ( const CDes8 &, TInt )

voidWrite(const CDes8 &aDes,
TIntaLength
)

Write ( const CDes16 & )

voidWrite(const CDes16 &aDes)

Write ( const CDes16 &, TInt )

voidWrite(const CDes16 &aDes,
TIntaLength
)

WriteInt16 ( TInt16 )

voidWriteInt16(TInt16aValue)

WriteInt32 ( TInt32 )

voidWriteInt32(TInt32aValue)

WriteInt64 ( TInt64 )

voidWriteInt64(TInt64aValue)

WriteInt8 ( TInt8 )

voidWriteInt8(TInt8aValue)

WriteReal32 ( TReal32 )

voidWriteReal32(TReal32aValue)

WriteReal64 ( TReal64 )

voidWriteReal64(TReal64aValue)

WriteUint16 ( TUint16 )

voidWriteUint16(TUint16aValue)

WriteUint32 ( TUint32 )

voidWriteUint32(TUint32aValue)

WriteUint64 ( TUint64 )

voidWriteUint64(TUint64aValue)

WriteUint8 ( TUint8 )

voidWriteUint8(TUint8aValue)