Free Electron
BinaryWriter.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __data_BinaryWriter_h__
8 #define __data_BinaryWriter_h__
9 
10 namespace fe
11 {
12 namespace data
13 {
14 
15 class FE_DL_EXPORT BinaryWriter : public Scanner, public Writer
16 {
17  public:
18  BinaryWriter(sp<Scope> spScope);
19 virtual ~BinaryWriter(void);
20 virtual void output(std::ostream &ostrm, sp<RecordGroup> spRG);
21 
22  private:
23 virtual void write(std::ostream &ostrm, sp<RecordGroup> spRG, int id);
24 virtual void write(std::ostream &ostrm, sp<RecordArray> spRA, int id);
25 virtual void write(std::ostream &ostrm, sp<Layout> spLayout, int id);
26 virtual void write(std::ostream &ostrm, sp<Attribute> spAttribute);
27  void write(std::ostream &ostrm, Record record);
28  void writeInfo(std::ostream &ostrm);
29 
30  void deepwrite(std::ostream &ostrm, sp<RecordArray> spRA);
31 };
32 
33 } /* namespace */
34 } /* namespace */
35 
36 #endif /* __data_Writer_h__ */
37 
kernel
Definition: namespace.dox:3