Free Electron
AsciiWriter.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_AsciiWriter_h__
8 #define __data_AsciiWriter_h__
9 
10 namespace fe
11 {
12 namespace data
13 {
14 
15 class FE_DL_EXPORT AsciiWriter : public Scanner, public Writer
16 {
17  public:
18 
19  AsciiWriter(sp<Scope> spScope);
20 virtual ~AsciiWriter(void);
21 virtual void output(std::ostream &a_ostrm, sp<RecordGroup> spRG);
22 
23  protected:
24 
25 virtual void writeBinaryBlock(std::ostream &a_ostrm,
26  const void *a_ptr, int a_size);
27 
28  private:
29 
30 virtual void write(std::ostream &a_ostrm, Record r_out, int a_sb_id);
31 virtual void write(std::ostream &a_ostrm, sp<RecordGroup> spRG, int a_id);
32 virtual void write(std::ostream &a_ostrm, sp<RecordArray> spRA, int a_id);
33 virtual void write(std::ostream &a_ostrm, sp<Layout> spLayout, int a_id);
34 virtual void write(std::ostream &a_ostrm, sp<Attribute> spAttribute);
35 
36  U32 m_defaultRGID;
37 };
38 
39 } /* namespace */
40 } /* namespace */
41 
42 #endif /* __data_AsciiWriter_h__ */
43 
kernel
Definition: namespace.dox:3