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