Bridge++  Ver. 2.0.2
fieldIO_None.cpp
Go to the documentation of this file.
1 
14 #include "fieldIO_None.h"
15 
16 #include "bridgeIO.h"
17 using Bridge::vout;
18 
19 const std::string FieldIO_None::class_name = "FieldIO_None";
20 
21 //====================================================================
22 void FieldIO_None::read_file(Field& v, const std::string& filename)
23 {
24  vout.detailed(m_vl, "read successful: nothing performed.\n");
25 }
26 
27 
28 //====================================================================
29 void FieldIO_None::write_file(Field& v, const std::string& filename)
30 {
31  vout.detailed(m_vl, "write successful: data discarded.\n");
32 }
33 
34 
35 //====================================================================
36 //============================================================END=====
FieldIO_None::class_name
static const std::string class_name
Definition: fieldIO_None.h:35
bridgeIO.h
Bridge::BridgeIO::detailed
void detailed(const char *format,...)
Definition: bridgeIO.cpp:219
FieldIO::m_vl
Bridge::VerboseLevel m_vl
Definition: fieldIO.h:64
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
fieldIO_None.h
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
Field
Container of Field-type object.
Definition: field.h:46
Bridge::vout
BridgeIO vout
Definition: bridgeIO.cpp:512