Bridge++  Ver. 2.0.2
fieldIO_Binary.h
Go to the documentation of this file.
1 
14 #ifndef FIELDIO_BINARY_INCLUDED
15 #define FIELDIO_BINARY_INCLUDED
16 
17 #include <string>
18 using std::string;
19 
20 #include "fieldIO.h"
21 
22 #include "Field/index_lex.h"
23 #include "Field/field.h"
24 
26 
47 class FieldIO_Binary : public FieldIO
48 {
49  public:
50  static const std::string class_name;
51 
52  public:
53  FieldIO_Binary(const IO_Format::Format *format) : FieldIO(format)
54  {}
55 
56  void read_file(Field& v, const std::string& filename);
57  void write_file(Field& v, const std::string& filename);
58 };
59 #endif
IO_Format::Format
Definition: io_format.h:36
FieldIO_Binary::read_file
void read_file(Field &v, const std::string &filename)
read data from file. (‘const’ is added [18 Mar 2021])
Definition: fieldIO_Binary.cpp:29
fieldIO.h
FieldIO_Binary::class_name
static const std::string class_name
Definition: fieldIO_Binary.h:50
field.h
FieldIO_Binary
FieldIO_Binary class for file I/O of Field data in binary format.
Definition: fieldIO_Binary.h:47
index_lex.h
FieldIO
FieldIO class for file I/O of space-time distributed data.
Definition: fieldIO.h:53
Field
Container of Field-type object.
Definition: field.h:46
FieldIO_Binary::FieldIO_Binary
FieldIO_Binary(const IO_Format::Format *format)
Definition: fieldIO_Binary.h:53
FieldIO_Binary::write_file
void write_file(Field &v, const std::string &filename)
write data to file. (‘const’ is added [18 Mar 2021])
Definition: fieldIO_Binary.cpp:105