CArchiveBase.h
Go to the documentation of this file.
1 #ifndef iser_CArchiveBase_included
2 #define iser_CArchiveBase_included
3 
4 
5 // ACF includes
6 #include <istd/ILogger.h>
7 
8 #include <iser/IArchive.h>
9 #include <iser/CArchiveTag.h>
10 
11 
12 namespace iser
13 {
14 
15 
21  virtual public IArchive,
22  virtual protected istd::ILogger
23 {
24 public:
25  // reimplemented (iser::IArchive)
26  virtual bool IsTagSkippingSupported() const;
27  virtual bool BeginMultiTag(const CArchiveTag& tag, const CArchiveTag& subTag, int& count);
28 
29  static const CArchiveTag& GetAcfRootTag();
30 
31 protected:
33 
34  // list of standard tags used to serialize header
36 
37 private:
41  CArchiveBase(const CArchiveBase&);
42 };
43 
44 
45 } // namespace iser
46 
47 
48 #endif // !iser_CArchiveBase_included
49 
50 
Common interface for classes sending some log info.
Definition: ILogger.h:20
static CArchiveTag s_acfRootTag
Definition: CArchiveBase.h:35
Represent input/output persistence archive.
Definition: IArchive.h:30
virtual bool BeginMultiTag(const CArchiveTag &tag, const CArchiveTag &subTag, int &count)
Begin of archive tag containing set of subelements of the same type.
static const CArchiveTag & GetAcfRootTag()
Base implementation of iser::IArchive interface.
Definition: CArchiveBase.h:20
Process tag used to group data in archive stream.
Definition: CArchiveTag.h:21
virtual bool IsTagSkippingSupported() const
Check if skiping to the end of tag on EndTag is supported.

© 2007-2017 Witold Gantzke and Kirill Lepskiy