10 #ifndef DATAIO_INCLUDED
11 #define DATAIO_INCLUDED
16 #define ENTER printf(">>> %s\n", __PRETTY_FUNCTION__)
50 virtual void read_file(
double *v,
const size_t n,
const string&) = 0;
51 virtual void write_file(
const double *v,
const size_t n,
const string&,
const bool append =
true) = 0;
53 virtual void read_file(dcomplex *v,
const size_t n,
const string&) = 0;
54 virtual void write_file(
const dcomplex *v,
const size_t n,
const string&,
const bool append =
true) = 0;
56 virtual void read_file(valarray<double>&,
const string&) = 0;
57 virtual void write_file(
const valarray<double>&,
const string&,
const bool append =
true) = 0;
59 virtual void read_file(valarray<dcomplex>&,
const string&) = 0;
60 virtual void write_file(
const valarray<dcomplex>&,
const string&,
const bool append =
true) = 0;
Common parameter class: provides parameters as singleton.
virtual void write_file(const double *v, const size_t n, const string &, const bool append=true)=0
Bridge::VerboseLevel m_vl
DataIO class for file I/O of general collection of data.
virtual void read_file(double *v, const size_t n, const string &)=0