Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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
static const std::string class_name
Definition: fieldIO_Text.h:40
Container of Field-type object.
Definition: field.h:45
FieldIO_Text class for file I/O of Field data in plain text format.
Definition: fieldIO_Text.h:37
FieldIO_Text(const IO_Format::Format *format)
Definition: fieldIO_Text.h:43
void write_file(Field *v, const std::string filename)
write data to file.
void read_file(Field *v, const std::string filename)
read data from file.
FieldIO class for file I/O of space-time distributed data.
Definition: fieldIO.h:53