CReadArchiveBase.h
Go to the documentation of this file.
1 #ifndef iser_CReadArchiveBase_included
2 #define iser_CReadArchiveBase_included
3 
4 
5 // ACF includes
6 #include <iser/CArchiveBase.h>
8 
9 
10 namespace iser
11 {
12 
13 
18 {
19 public:
20  // reimplemented (iser::IArchive)
21  virtual bool IsStoring() const;
22  virtual const IVersionInfo& GetVersionInfo() const;
23  virtual bool ProcessBits(void* dataPtr, int bitsCount, int bytesCount);
24 
25 protected:
30  bool SerializeAcfHeader();
31 
32 private:
33  CArchiveHeaderInfo m_versionInfo;
34 };
35 
36 
37 } // namespace iser
38 
39 
40 #endif // !iser_CReadArchiveBase_included
41 
42 
Represents functions related to ACF header.
Provides access to version information.
Definition: IVersionInfo.h:22
Basic implementation of an abstract archive for data reading.
virtual const IVersionInfo & GetVersionInfo() const
Get version of archived stream for specific versioning type.
virtual bool IsStoring() const
Check if this archive is loading or storing.
Base implementation of iser::IArchive interface.
Definition: CArchiveBase.h:20
bool SerializeAcfHeader()
Serialize standard header.
virtual bool ProcessBits(void *dataPtr, int bitsCount, int bytesCount)
Process binary data block.

© 2007-2017 Witold Gantzke and Kirill Lepskiy