Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fieldIO_Text.h
Go to the documentation of this file.
1 
10 #ifndef FIELDIO_TEXT_INCLUDED
11 #define FIELDIO_TEXT_INCLUDED
12 
13 #include <string>
14 using std::string;
15 
16 #include "fieldIO.h"
17 #include "index_lex.h"
18 #include "field.h"
19 
21 
33 class FieldIO_Text : public FieldIO
34 {
35  public:
36  static const std::string class_name;
37 
38  public:
39  FieldIO_Text(const IO_Format::Format *format) : FieldIO(format)
40  {
41 // d_prefix = "conf_";
42 // d_postfix = ".txt";
43  }
44 
45  void read_file(Field *v, string filename);
46  void write_file(Field *v, string filename);
47 };
48 #endif
static const std::string class_name
Definition: fieldIO_Text.h:36
void read_file(Field *v, string filename)
Container of Field-type object.
Definition: field.h:37
FieldIO_Text class for file I/O of Field data in plain text format.
Definition: fieldIO_Text.h:33
FieldIO_Text(const IO_Format::Format *format)
Definition: fieldIO_Text.h:39
void write_file(Field *v, string filename)
FieldIO class for file I/O of space-time distributed data.
Definition: fieldIO.h:48