Bridge++  Ver. 2.0.2
fieldIO_None.h
Go to the documentation of this file.
1 
14 #ifndef FIELDIO_NONE_INCLUDED
15 #define FIELDIO_NONE_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 
32 class FieldIO_None : public FieldIO
33 {
34  public:
35  static const std::string class_name;
36 
37  public:
38  FieldIO_None(const IO_Format::Format *format) : FieldIO(format)
39  {}
40 
41  void read_file(Field& v, const std::string& filename);
42  void write_file(Field& v, const std::string& filename);
43 };
44 #endif
FieldIO_None::class_name
static const std::string class_name
Definition: fieldIO_None.h:35
FieldIO_None
FieldIO_None class for an analogue of /dev/null.
Definition: fieldIO_None.h:32
IO_Format::Format
Definition: io_format.h:36
fieldIO.h
FieldIO_None::read_file
void read_file(Field &v, const std::string &filename)
read data from file. (‘const’ is added [18 Mar 2021])
Definition: fieldIO_None.cpp:22
field.h
index_lex.h
FieldIO
FieldIO class for file I/O of space-time distributed data.
Definition: fieldIO.h:53
FieldIO_None::write_file
void write_file(Field &v, const std::string &filename)
write data to file. (‘const’ is added [18 Mar 2021])
Definition: fieldIO_None.cpp:29
FieldIO_None::FieldIO_None
FieldIO_None(const IO_Format::Format *format)
Definition: fieldIO_None.h:38
Field
Container of Field-type object.
Definition: field.h:46