Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DataIO Class Referenceabstract

DataIO class for file I/O of general collection of data. More...

#include <dataIO.h>

Inheritance diagram for DataIO:
DataIO_Text

Public Member Functions

 DataIO ()
 
virtual ~DataIO ()
 
virtual void read_file (double *v, const size_t n, const string &)=0
 
virtual void write_file (const double *v, const size_t n, const string &, const bool append=true)=0
 
virtual void read_file (dcomplex *v, const size_t n, const string &)=0
 
virtual void write_file (const dcomplex *v, const size_t n, const string &, const bool append=true)=0
 
virtual void read_file (std::vector< double > &, const string &)=0
 
virtual void write_file (const std::vector< double > &, const string &, const bool append=true)=0
 
virtual void read_file (std::vector< dcomplex > &, const string &)=0
 
virtual void write_file (const std::vector< dcomplex > &, const string &, const bool append=true)=0
 

Protected Attributes

Bridge::VerboseLevel m_vl
 

Private Member Functions

 DataIO (const DataIO &)
 
DataIOoperator= (const DataIO &)
 

Detailed Description

DataIO class for file I/O of general collection of data.

DataIO class provides abstract base class for file I/O of general collection of data that do not have space-time index.

interfaces defined for reading and writing array of double and complex of size n, and std::vector of double and complex.

Definition at line 38 of file dataIO.h.

Constructor & Destructor Documentation

DataIO::DataIO ( )
inline

Definition at line 41 of file dataIO.h.

virtual DataIO::~DataIO ( )
inlinevirtual

Definition at line 42 of file dataIO.h.

DataIO::DataIO ( const DataIO )
private

Member Function Documentation

DataIO& DataIO::operator= ( const DataIO )
private
virtual void DataIO::read_file ( double *  v,
const size_t  n,
const string &   
)
pure virtual

Implemented in DataIO_Text.

virtual void DataIO::read_file ( dcomplex *  v,
const size_t  n,
const string &   
)
pure virtual

Implemented in DataIO_Text.

virtual void DataIO::read_file ( std::vector< double > &  ,
const string &   
)
pure virtual

Implemented in DataIO_Text.

virtual void DataIO::read_file ( std::vector< dcomplex > &  ,
const string &   
)
pure virtual

Implemented in DataIO_Text.

virtual void DataIO::write_file ( const double *  v,
const size_t  n,
const string &  ,
const bool  append = true 
)
pure virtual

Implemented in DataIO_Text.

virtual void DataIO::write_file ( const dcomplex *  v,
const size_t  n,
const string &  ,
const bool  append = true 
)
pure virtual

Implemented in DataIO_Text.

virtual void DataIO::write_file ( const std::vector< double > &  ,
const string &  ,
const bool  append = true 
)
pure virtual

Implemented in DataIO_Text.

virtual void DataIO::write_file ( const std::vector< dcomplex > &  ,
const string &  ,
const bool  append = true 
)
pure virtual

Implemented in DataIO_Text.

Member Data Documentation

Bridge::VerboseLevel DataIO::m_vl
protected

Definition at line 64 of file dataIO.h.


The documentation for this class was generated from the following file: