CBinaryWriteArchiveBase.h
Go to the documentation of this file.
1 #ifndef iser_CBinaryWriteArchiveBase_included
2 #define iser_CBinaryWriteArchiveBase_included
3 
4 
5 // ACF includes
7 
8 
9 namespace iser
10 {
11 
12 
17 {
18 public:
20 
21  // reimplemented (iser::IArchive)
22  virtual bool BeginTag(const CArchiveTag& tag);
23  virtual bool EndTag(const CArchiveTag& tag);
24  virtual bool Process(bool& value);
25  virtual bool Process(char& value);
26  virtual bool Process(quint8& value);
27  virtual bool Process(qint8& value);
28  virtual bool Process(quint16& value);
29  virtual bool Process(qint16& value);
30  virtual bool Process(quint32& value);
31  virtual bool Process(qint32& value);
32  virtual bool Process(quint64& value);
33  virtual bool Process(qint64& value);
34  virtual bool Process(float& value);
35  virtual bool Process(double& value);
36  virtual bool Process(QByteArray& value);
37  virtual bool Process(QString& value);
38 
39 protected:
40  explicit CBinaryWriteArchiveBase(const IVersionInfo* versionInfoPtr);
41 };
42 
43 
44 } // namespace iser
45 
46 
47 #endif // !iser_CBinaryWriteArchiveBase_included
48 
virtual bool Process(bool &value)
Process primitive type.
CBinaryWriteArchiveBase(const IVersionInfo *versionInfoPtr)
Provides access to version information.
Definition: IVersionInfo.h:22
Base class for archive implementations writting data based on its binary representation.
Basic implementation of an abstract archive for data writting.
virtual bool BeginTag(const CArchiveTag &tag)
Begin of archive tag.
Process tag used to group data in archive stream.
Definition: CArchiveTag.h:21
virtual bool EndTag(const CArchiveTag &tag)
End of archive tag.

© 2007-2017 Witold Gantzke and Kirill Lepskiy