#include <pcstore/storewritestream.h>
| class PCStore::CStoreWriteStream |
| Public Member Functions | |
|---|---|
| CStoreWriteStream(CFileStreamBuf &, TStreamId) | |
| ~CStoreWriteStream() | |
| void | Write(const TUint8 *, TInt) |
| void | Write(const TUint16 *, TInt) |
| void | Write(const CDes8 &) |
| void | Write(const CDes8 &, TInt) |
| void | Write(const CDes16 &) |
| void | Write(const CDes16 &, TInt) |
| void | WriteInt16(TInt16) |
| void | WriteInt32(TInt32) |
| void | WriteInt64(TInt64) |
| void | WriteInt8(TInt8) |
| void | WriteReal32(TReal32) |
| void | WriteReal64(TReal64) |
| void | WriteUint16(TUint16) |
| void | WriteUint32(TUint32) |
| void | WriteUint64(TUint64) |
| void | WriteUint8(TUint8) |
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
| CStoreWriteStream | ( | CFileStreamBuf & | aStreamBuf, |
| TStreamId | aId | ||
| ) | |||
| ~CStoreWriteStream | ( | ) |
| void | Write | ( | const CDes8 & | aDes | ) |
| void | Write | ( | const CDes16 & | aDes | ) |