CBitMemoryWriteArchive.h
Go to the documentation of this file.
1 #ifndef iser_CBitMemoryWriteArchive_included
2 #define iser_CBitMemoryWriteArchive_included
3 
4 
5 // ACF includes
7 
8 
9 namespace iser
10 {
11 
12 
19 {
20 public:
22 
23  CBitMemoryWriteArchive(const IVersionInfo* versionInfoPtr = NULL, bool serializeHeader = true, int initialBufferSize = -1);
24 
28  void WriteValue(quint32 inputValue, int bits);
29 
30  // reimplemented (iser::IArchive)
31  virtual bool ProcessData(void* data, int size);
32  virtual bool ProcessBits(void* data, int bitsCount, int bytesCount);
33 
34 protected:
36 };
37 
38 
39 
40 } // namespace iser
41 
42 
43 #endif // !iser_CBitMemoryWriteArchive_included
44 
Provides access to version information.
Definition: IVersionInfo.h:22
virtual bool ProcessBits(void *data, int bitsCount, int bytesCount)
Process binary data block.
void WriteValue(quint32 inputValue, int bits)
Pushes a value of the word bounding by N bits into the stream.
This is an archive implementation which provides bitwise write of data.
CBitMemoryWriteArchive(const IVersionInfo *versionInfoPtr=NULL, bool serializeHeader=true, int initialBufferSize=-1)
#define NULL
Definition: istd.h:64
Implementation of archive using memory buffer to store the persistent objects.
virtual bool ProcessData(void *data, int size)
Process binary data block.

© 2007-2017 Witold Gantzke and Kirill Lepskiy