Bridge++  Ver. 2.0.2
fieldIO_Text.h
Go to the documentation of this file.
1 
14 #ifndef FIELDIO_TEXT_INCLUDED
15 #define FIELDIO_TEXT_INCLUDED
16 
17 #include <string>
18 using std::string;
19 
20 #include "fieldIO.h"
21 #include "Field/index_lex.h"
22 #include "Field/field.h"
23 
25 
37 class FieldIO_Text : public FieldIO
38 {
39  public:
40  static const std::string class_name;
41 
42  public:
43  FieldIO_Text(const IO_Format::Format *format) : FieldIO(format)
44  {}
45 
46  void read_file(Field& v, const std::string& filename);
47  void write_file(Field& v, const std::string& filename);
48 };
49 #endif
IO_Format::Format
Definition: io_format.h:36
FieldIO_Text::read_file
void read_file(Field &v, const std::string &filename)
read data from file. (‘const’ is added [18 Mar 2021])
Definition: fieldIO_Text.cpp:24
FieldIO_Text::class_name
static const std::string class_name
Definition: fieldIO_Text.h:40
fieldIO.h
field.h
index_lex.h
FieldIO
FieldIO class for file I/O of space-time distributed data.
Definition: fieldIO.h:53
FieldIO_Text::write_file
void write_file(Field &v, const std::string &filename)
write data to file. (‘const’ is added [18 Mar 2021])
Definition: fieldIO_Text.cpp:104
Field
Container of Field-type object.
Definition: field.h:46
FieldIO_Text::FieldIO_Text
FieldIO_Text(const IO_Format::Format *format)
Definition: fieldIO_Text.h:43
FieldIO_Text
FieldIO_Text class for file I/O of Field data in plain text format.
Definition: fieldIO_Text.h:37