14 #ifndef DATAIO_INCLUDED
15 #define DATAIO_INCLUDED
51 virtual void read_file(
double *v,
const size_t n,
const string&) = 0;
52 virtual void write_file(
const double *v,
const size_t n,
const string&,
const bool append =
true) = 0;
54 virtual void read_file(dcomplex *v,
const size_t n,
const string&) = 0;
55 virtual void write_file(
const dcomplex *v,
const size_t n,
const string&,
const bool append =
true) = 0;
57 virtual void read_file(std::vector<double>&,
const string&) = 0;
58 virtual void write_file(
const std::vector<double>&,
const string&,
const bool append =
true) = 0;
60 virtual void read_file(std::vector<dcomplex>&,
const string&) = 0;
61 virtual void write_file(
const std::vector<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
DataIO & operator=(const DataIO &)
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