IT++ Logo
Classes | Macros | Functions
IT++ File Format

The IT++ file format. More...

Classes

class  itpp::bfstream_base
 Base class for binary file classes. More...
 
class  itpp::binfile_details::Ofstream_Binfile_Facade
 Ofstream Interface Facade for Binary Streams. More...
 
class  itpp::binfile_details::Ifstream_Binfile_Facade
 Ifstream Interface Facade for Binary Streams. More...
 
class  itpp::binfile_details::Fstream_Binfile_Facade
 Fstream Interface Facade for Binary Streams. More...
 
class  itpp::bofstream
 Binary Outfile Class. More...
 
class  itpp::bifstream
 Binary Infile Class. More...
 
class  itpp::bfstream
 Binary in/out-file Class. More...
 
class  itpp::it_file_base
 Base class for it_ifile and it_file. More...
 
class  itpp::it_ifile
 The IT++ file format reading class. More...
 
class  itpp::it_file
 The IT++ file format reading and writing class. More...
 
class  itpp::Name
 Automatic naming when saving. More...
 
class  itpp::it_file_base_old
 Base class for it_ifile_old and it_file_old. More...
 
class  itpp::it_ifile_old
 The old (version 2) IT++ file format reading class. More...
 
class  itpp::it_file_old
 The old (version 2) IT++ file format reading and writing class. More...
 

Macros

#define it_save_var(v)   it_save_var_as(v,#v)
 A convenient macro. Calling it_save_var(M) saves M as 'M' in the file 'M.it'. More...
 
#define it_load_var(v)   it_load_var_as(v,#v)
 A convenient macro. Calling it_load_var(M) loads M as 'M' in the file 'M.it'. More...
 

Functions

bool itpp::exist (const std::string &name)
 Checks if a file named name already exists on the disk. More...
 
it_fileitpp::flush (it_file &f)
 Flush operator. More...
 
it_ifileitpp::operator>> (it_ifile &f, const Name &s)
 Finds the variable Name in the it_ifile. Returns file pointer for reading. More...
 
it_fileitpp::operator<< (it_file &f, const Name &s)
 Finds the variable Name in the it_file. Returns file pointer for writing. More...
 
it_ifileitpp::operator>> (it_ifile &f, char &v)
 Read the char variable v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, bool &v)
 Read the bool variable v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, bin &v)
 Read the binary variable v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, short &v)
 Read the short variable v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, int &v)
 Read the integer variable v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, float &v)
 Read the float variable v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, double &v)
 Read the double variable v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, std::complex< float > &v)
 Read the float complex variable v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, std::complex< double > &v)
 Read the double complex variable v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, bvec &v)
 Read the bvec v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, svec &v)
 Read the svec v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, ivec &v)
 Read the ivec v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, vec &v)
 Read the vec v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, cvec &v)
 Read the cvec v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, std::string &str)
 Read the string str from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, bmat &m)
 Read the bmat m from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, smat &m)
 Read the smat m from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, imat &m)
 Read the imat m from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, mat &m)
 Read the mat m from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, cmat &m)
 Read the cmat m from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< bin > &v)
 Read the binary Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< short > &v)
 Read the short integer Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< int > &v)
 Read the integer Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< float > &v)
 Read the float Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< double > &v)
 Read the double Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< std::complex< float > > &v)
 Read the float complex Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< std::complex< double > > &v)
 Read the double complex Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< bvec > &v)
 Read the bvec Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< svec > &v)
 Read the svec Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< ivec > &v)
 Read the ivec Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< vec > &v)
 Read the vec Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< cvec > &v)
 Read the cvec Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< std::string > &v)
 Read the string Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< bmat > &v)
 Read the bmat Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< smat > &v)
 Read the bmat Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< imat > &v)
 Read the imat Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< mat > &v)
 Read the mat Array v from the it_ifile pointer. More...
 
it_ifileitpp::operator>> (it_ifile &f, Array< cmat > &v)
 Read the cmat Array v from the it_ifile pointer. More...
 
it_fileitpp::operator<< (it_file &f, char x)
 Write the char variable x to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, bool x)
 Write the bool variable x to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, bin x)
 Write the binary variable x to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, short x)
 Write the short variable x to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, int x)
 Write the integer variable x to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, float x)
 Write the float variable x to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, double x)
 Write the double variable x to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, std::complex< float > x)
 Write the float complex variable x to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, std::complex< double > x)
 Write the double complex variable x to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const bvec &v)
 Write the bvec v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const svec &v)
 Write the svec v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const ivec &v)
 Write the ivec v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const vec &v)
 Write the vec v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const cvec &v)
 Write the cvec v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const std::string &str)
 Write the string str to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const bmat &m)
 Write the bmat m to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const smat &m)
 Write the smat m to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const imat &m)
 Write the imat m to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const mat &m)
 Write the mat m to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const cmat &m)
 Write the cmat m to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< bin > &v)
 Write the bin Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< short > &v)
 Write the short int Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< int > &v)
 Write the int Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< float > &v)
 Write the float Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< double > &v)
 Write the double Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< std::complex< float > > &v)
 Write the float complex Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< std::complex< double > > &v)
 Write the double complex Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< bvec > &v)
 Write the bvec Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< svec > &v)
 Write the svec Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< ivec > &v)
 Write the ivec Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< vec > &v)
 Write the vec Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< cvec > &v)
 Write the cvec Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< std::string > &v)
 Write the string Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< bmat > &v)
 Write the bmat Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< smat > &v)
 Write the smat Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< imat > &v)
 Write the imat Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< mat > &v)
 Write the mat Array v to the it_file pointer. More...
 
it_fileitpp::operator<< (it_file &f, const Array< cmat > &v)
 Write the cmat Array v to the it_file pointer. More...
 
template<class T >
void itpp::it_save_var_as (const T &v, const std::string &name)
 Save the variable v in the file name.it as the name name. More...
 
template<class T >
void itpp::it_load_var_as (T &v, const std::string &name)
 Load the variable v from the file name.it as the name name. More...
 
it_file_olditpp::flush (it_file_old &f)
 Flush operator. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, const Name &s)
 Finds the variable Name in the it_ifile_old. Returns file pointer for reading. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Name &s)
 Finds the variable Name in the it_file_old. Returns file pointer for writing. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, char &v)
 Read the char variable v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, bin &v)
 Read the binary variable v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, short &v)
 Read the short variable v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, int &v)
 Read the integer variable v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, float &v)
 Read the float variable v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, double &v)
 Read the double variable v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, std::complex< float > &v)
 Read the float complex variable v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, std::complex< double > &v)
 Read the double complex variable v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, vec &v)
 Read the vec v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, ivec &v)
 Read the ivec v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, bvec &v)
 Read the bvec v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, cvec &v)
 Read the cvec v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, std::string &str)
 Read the string str from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, mat &m)
 Read the mat m from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, imat &m)
 Read the imat m from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, bmat &m)
 Read the bmat m from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, cmat &m)
 Read the cmat m from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< float > &v)
 Read the float Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< double > &v)
 Read the double Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< int > &v)
 Read the integer Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< bin > &v)
 Read the binary Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< std::complex< float > > &v)
 Read the float complex Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< std::complex< double > > &v)
 Read the double complex Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< vec > &v)
 Read the vec Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< ivec > &v)
 Read the ivec Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< bvec > &v)
 Read the bvec Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< cvec > &v)
 Read the cvec Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< std::string > &v)
 Read the string Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< mat > &v)
 Read the mat Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< imat > &v)
 Read the imat Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< bmat > &v)
 Read the bmat Array v from the it_ifile_old pointer. More...
 
it_ifile_olditpp::operator>> (it_ifile_old &f, Array< cmat > &v)
 Read the cmat Array v from the it_ifile_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, char x)
 Write the char variable x to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, bin x)
 Write the binary variable x to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, short x)
 Write the short variable x to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, int x)
 Write the integer variable x to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, float x)
 Write the float variable x to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, double x)
 Write the double variable x to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, std::complex< float > x)
 Write the float complex variable x to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, std::complex< double > x)
 Write the double complex variable x to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const vec &v)
 Write the vec v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const ivec &v)
 Write the ivec v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const bvec &v)
 Write the bvec v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const cvec &v)
 Write the cvec v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const std::string &str)
 Write the string str to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const mat &m)
 Write the mat m to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const imat &m)
 Write the imat m to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const bmat &m)
 Write the bmat m to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const cmat &m)
 Write the cmat m to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< float > &v)
 Write the float Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< double > &v)
 Write the double Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< int > &v)
 Write the int Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< bin > &v)
 Write the bin Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< std::complex< float > > &v)
 Write the float complex Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< std::complex< double > > &v)
 Write the double complex Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< vec > &v)
 Write the vec Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< ivec > &v)
 Write the ivec Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< bvec > &v)
 Write the bvec Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< cvec > &v)
 Write the cvec Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< std::string > &v)
 Write the string Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< mat > &v)
 Write the mat Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< imat > &v)
 Write the imat Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< bmat > &v)
 Write the bmat Array v to the it_file_old pointer. More...
 
it_file_olditpp::operator<< (it_file_old &f, const Array< cmat > &v)
 Write the cmat Array v to the it_file_old pointer. More...
 

Detailed Description

The IT++ file format.

Author
Tony Ottosson, Tobias Ringstrom and Adam Piatyszek

The IT++ file format is a file format that can be used to save (load) variables to (from) files. These files can also be read an written by Matlab or Octave using the m-files itload.m and itsave.m.

The class it_ifile is used for reading only, whereas the class it_file can be used for both reading and writing.

Saving of a variable is done in two steps. The first step is to supply the name and optionally description of the variable to be saved. This can be done either by calling the function it_file::set_next_name() or by using the helper class Name:

vec v("1 2 3");
bvec b = "0 1 0 1";
it_file f("file.it");
f << Name("v", "A double vector of tree values") << v;
f.set_next_name("b");
f << b;
Automatic naming when saving.
Definition: itfile.h:429
The IT++ file format reading and writing class.
Definition: itfile.h:246

The reading is done in a similar way:

vec v;
bvec b;
it_ifile f("file.it");
f >> Name("v") >> v;
f.seek("b");
f >> b;
The IT++ file format reading class.
Definition: itfile.h:133
Note
Since version 3, IT++ file format uses the IEEE little endian byte ordering ("ieee-le" in Matlab/Octave). This version is not backward compatible with previous versions. If you need to read/write data in IT++ file format version 2, you can use the it_ifile_old and it_file_old classes. Please have in mind that these "old" classes are deprecated and will be removed from the IT++ library in future.
Warning
Do not use the names that begin with an existing type.

Macro Definition Documentation

◆ it_save_var

#define it_save_var (   v)    it_save_var_as(v,#v)

A convenient macro. Calling it_save_var(M) saves M as 'M' in the file 'M.it'.

Definition at line 650 of file itfile.h.

◆ it_load_var

#define it_load_var (   v)    it_load_var_as(v,#v)

A convenient macro. Calling it_load_var(M) loads M as 'M' in the file 'M.it'.

Definition at line 652 of file itfile.h.

Function Documentation

◆ exist()

bool itpp::exist ( const std::string &  name)

Checks if a file named name already exists on the disk.

Definition at line 98 of file binfile.cpp.

Referenced by itpp::MOG_generic::load(), itpp::it_ifile::open(), itpp::it_file::open(), itpp::it_ifile_old::open(), and itpp::it_file_old::open().

◆ flush() [1/2]

it_file & itpp::flush ( it_file f)
inline

Flush operator.

Flushes the data. Usage:

vec v1("1 2 3"), v2;
it_file f("file.it");
f << Name("v") << v1 << flush;
it_file & flush(it_file &f)
Flush operator.
Definition: itfile.h:409

Definition at line 409 of file itfile.h.

References itpp::it_file::flush().

Referenced by itpp::it_assert_f(), itpp::it_error_f(), itpp::it_info_f(), itpp::it_warning_f(), and itpp::MOG_diag_EM_sup::ml_iterate().

◆ operator>>() [1/72]

it_ifile & itpp::operator>> ( it_ifile f,
const Name s 
)
inline

Finds the variable Name in the it_ifile. Returns file pointer for reading.

Definition at line 446 of file itfile.h.

References itpp::Name::name, and itpp::it_ifile::seek().

◆ operator<<() [1/72]

it_file & itpp::operator<< ( it_file f,
const Name s 
)
inline

Finds the variable Name in the it_file. Returns file pointer for writing.

Definition at line 453 of file itfile.h.

References itpp::Name::desc, itpp::Name::name, and itpp::it_file::set_next_name().

◆ operator>>() [2/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
char &  x 
)

Read the char variable v from the it_ifile pointer.

Definition at line 957 of file itfile.cpp.

References it_assert, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [3/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
bool &  x 
)

Read the bool variable v from the it_ifile pointer.

Definition at line 966 of file itfile.cpp.

References it_assert, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [4/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
bin x 
)

Read the binary variable v from the it_ifile pointer.

Definition at line 975 of file itfile.cpp.

References it_assert, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [5/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
short &  x 
)

Read the short variable v from the it_ifile pointer.

Definition at line 984 of file itfile.cpp.

References it_assert, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [6/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
int &  x 
)

Read the integer variable v from the it_ifile pointer.

Definition at line 993 of file itfile.cpp.

References it_error, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [7/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
float &  x 
)

Read the float variable v from the it_ifile pointer.

Definition at line 1010 of file itfile.cpp.

References it_assert, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [8/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
double &  x 
)

Read the double variable v from the it_ifile pointer.

Definition at line 1019 of file itfile.cpp.

References it_error, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [9/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
std::complex< float > &  x 
)

Read the float complex variable v from the it_ifile pointer.

Definition at line 1036 of file itfile.cpp.

References it_assert, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [10/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
std::complex< double > &  x 
)

Read the double complex variable v from the it_ifile pointer.

Definition at line 1046 of file itfile.cpp.

References it_error, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [11/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
bvec &  v 
)

◆ operator>>() [12/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
svec &  v 
)

◆ operator>>() [13/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
ivec &  v 
)

◆ operator>>() [14/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
vec &  v 
)

◆ operator>>() [15/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
cvec &  v 
)

◆ operator>>() [16/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
std::string &  str 
)

Read the string str from the it_ifile pointer.

Definition at line 1120 of file itfile.cpp.

References it_assert, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [17/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
bmat m 
)

◆ operator>>() [18/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
smat &  m 
)

◆ operator>>() [19/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
imat &  m 
)

◆ operator>>() [20/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
mat &  m 
)

◆ operator>>() [21/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
cmat &  m 
)

◆ operator>>() [22/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< bin > &  v 
)

◆ operator>>() [23/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< short > &  v 
)

Read the short integer Array v from the it_ifile pointer.

Definition at line 1194 of file itfile.cpp.

References it_assert, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [24/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< int > &  v 
)

Read the integer Array v from the it_ifile pointer.

Definition at line 1203 of file itfile.cpp.

References it_assert, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [25/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< float > &  v 
)

◆ operator>>() [26/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< double > &  v 
)

◆ operator>>() [27/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< std::complex< float > > &  v 
)

Read the float complex Array v from the it_ifile pointer.

Definition at line 1235 of file itfile.cpp.

References it_assert, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::it_file_base::data_header::type.

◆ operator>>() [28/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< std::complex< double > > &  v 
)

◆ operator>>() [29/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< bvec > &  v 
)

◆ operator>>() [30/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< svec > &  v 
)

◆ operator>>() [31/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< ivec > &  v 
)

◆ operator>>() [32/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< vec > &  v 
)

◆ operator>>() [33/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< cvec > &  v 
)

◆ operator>>() [34/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< std::string > &  v 
)

◆ operator>>() [35/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< bmat > &  v 
)

◆ operator>>() [36/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< smat > &  v 
)

◆ operator>>() [37/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< imat > &  v 
)

◆ operator>>() [38/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< mat > &  v 
)

◆ operator>>() [39/72]

ITPP_EXPORT it_ifile & itpp::operator>> ( it_ifile f,
Array< cmat > &  v 
)

◆ operator<<() [2/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
char  x 
)

Write the char variable x to the it_file pointer.

Definition at line 1424 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [3/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
bool  x 
)

Write the bool variable x to the it_file pointer.

Definition at line 1431 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [4/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
bin  x 
)

Write the binary variable x to the it_file pointer.

Definition at line 1438 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [5/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
short  x 
)

Write the short variable x to the it_file pointer.

Definition at line 1445 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [6/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
int  x 
)

Write the integer variable x to the it_file pointer.

Definition at line 1452 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [7/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
float  x 
)

Write the float variable x to the it_file pointer.

Definition at line 1459 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [8/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
double  x 
)

Write the double variable x to the it_file pointer.

Definition at line 1466 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [9/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
std::complex< float >  x 
)

Write the float complex variable x to the it_file pointer.

Definition at line 1473 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [10/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
std::complex< double >  x 
)

Write the double complex variable x to the it_file pointer.

Definition at line 1480 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [11/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const bvec &  v 
)

Write the bvec v to the it_file pointer.

Definition at line 1487 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [12/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const svec &  v 
)

Write the svec v to the it_file pointer.

Definition at line 1494 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [13/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const ivec &  v 
)

Write the ivec v to the it_file pointer.

Definition at line 1501 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [14/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const vec &  v 
)

Write the vec v to the it_file pointer.

Definition at line 1508 of file itfile.cpp.

References itpp::it_file::get_low_precision(), itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [15/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const cvec &  v 
)

Write the cvec v to the it_file pointer.

Definition at line 1520 of file itfile.cpp.

References itpp::it_file::get_low_precision(), itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [16/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const std::string &  str 
)

Write the string str to the it_file pointer.

Definition at line 1532 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [17/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const bmat m 
)

Write the bmat m to the it_file pointer.

Definition at line 1539 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [18/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const smat &  m 
)

Write the smat m to the it_file pointer.

Definition at line 1547 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [19/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const imat &  m 
)

Write the imat m to the it_file pointer.

Definition at line 1555 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [20/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const mat &  m 
)

Write the mat m to the it_file pointer.

Definition at line 1563 of file itfile.cpp.

References itpp::it_file::get_low_precision(), itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [21/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const cmat &  m 
)

Write the cmat m to the it_file pointer.

Definition at line 1575 of file itfile.cpp.

References itpp::it_file::get_low_precision(), itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [22/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< bin > &  v 
)

Write the bin Array v to the it_file pointer.

Definition at line 1587 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [23/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< short > &  v 
)

Write the short int Array v to the it_file pointer.

Definition at line 1594 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [24/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< int > &  v 
)

Write the int Array v to the it_file pointer.

Definition at line 1602 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [25/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< float > &  v 
)

Write the float Array v to the it_file pointer.

Definition at line 1610 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [26/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< double > &  v 
)

◆ operator<<() [27/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< std::complex< float > > &  v 
)

Write the float complex Array v to the it_file pointer.

Definition at line 1629 of file itfile.cpp.

References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [28/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< std::complex< double > > &  v 
)

Write the double complex Array v to the it_file pointer.

Definition at line 1637 of file itfile.cpp.

References itpp::it_file::get_low_precision(), itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().

◆ operator<<() [29/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< bvec > &  v 
)

Write the bvec Array v to the it_file pointer.

Definition at line 1649 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [30/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< svec > &  v 
)

Write the svec Array v to the it_file pointer.

Definition at line 1669 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [31/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< ivec > &  v 
)

Write the ivec Array v to the it_file pointer.

Definition at line 1689 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [32/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< vec > &  v 
)

Write the vec Array v to the it_file pointer.

Definition at line 1709 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [33/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< cvec > &  v 
)

Write the cvec Array v to the it_file pointer.

Definition at line 1729 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [34/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< std::string > &  v 
)

Write the string Array v to the it_file pointer.

Definition at line 1749 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), itpp::size(), and itpp::it_file::write_data_header().

◆ operator<<() [35/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< bmat > &  v 
)

Write the bmat Array v to the it_file pointer.

Definition at line 1769 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [36/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< smat > &  v 
)

Write the smat Array v to the it_file pointer.

Definition at line 1789 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [37/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< imat > &  v 
)

Write the imat Array v to the it_file pointer.

Definition at line 1809 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [38/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< mat > &  v 
)

Write the mat Array v to the it_file pointer.

Definition at line 1829 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ operator<<() [39/72]

ITPP_EXPORT it_file & itpp::operator<< ( it_file f,
const Array< cmat > &  v 
)

Write the cmat Array v to the it_file pointer.

Definition at line 1849 of file itfile.cpp.

References itpp::it_file::low_level_write(), itpp::Array< T >::size(), and itpp::it_file::write_data_header().

◆ it_save_var_as()

template<class T >
void itpp::it_save_var_as ( const T &  v,
const std::string &  name 
)
inline

Save the variable v in the file name.it as the name name.

Definition at line 632 of file itfile.h.

References itpp::it_file::close().

◆ it_load_var_as()

template<class T >
void itpp::it_load_var_as ( T &  v,
const std::string &  name 
)
inline

Load the variable v from the file name.it as the name name.

Definition at line 641 of file itfile.h.

References itpp::it_ifile::close(), and itpp::it_ifile::seek().

◆ flush() [2/2]

it_file_old & itpp::flush ( it_file_old f)
inline

Flush operator.

Flushes the data. Usage:

vec v1("1 2 3"), v2;
it_file_old f("file.it");
f << Name("v") << v1 << flush;
The old (version 2) IT++ file format reading and writing class.
Definition: itfile.h:807

Definition at line 947 of file itfile.h.

References itpp::it_file_old::flush().

◆ operator>>() [40/72]

it_ifile_old & itpp::operator>> ( it_ifile_old f,
const Name s 
)
inline

Finds the variable Name in the it_ifile_old. Returns file pointer for reading.

Definition at line 958 of file itfile.h.

References itpp::Name::name, and itpp::it_ifile_old::seek().

◆ operator<<() [40/72]

it_file_old & itpp::operator<< ( it_file_old f,
const Name s 
)
inline

Finds the variable Name in the it_file_old. Returns file pointer for writing.

Definition at line 965 of file itfile.h.

References itpp::Name::name, and itpp::it_file_old::set_next_name().

◆ operator>>() [41/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
char &  x 
)

◆ operator>>() [42/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
bin x 
)

Read the binary variable v from the it_ifile_old pointer.

Definition at line 2708 of file itfile.cpp.

References it_error, itpp::it_ifile_old::low_level_read(), itpp::it_ifile_old::read_data_header(), and itpp::it_file_base_old::data_header::type.

◆ operator>>() [43/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
short &  x 
)

◆ operator>>() [44/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
int &  x 
)

Read the integer variable v from the it_ifile_old pointer.

Definition at line 2734 of file itfile.cpp.

References it_error, itpp::it_ifile_old::low_level_read(), itpp::it_ifile_old::read_data_header(), and itpp::it_file_base_old::data_header::type.

◆ operator>>() [45/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
float &  x 
)

◆ operator>>() [46/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
double &  x 
)

Read the double variable v from the it_ifile_old pointer.

Definition at line 2752 of file itfile.cpp.

References it_error, itpp::it_ifile_old::low_level_read(), itpp::it_ifile_old::read_data_header(), and itpp::it_file_base_old::data_header::type.

◆ operator>>() [47/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
std::complex< float > &  x 
)

Read the float complex variable v from the it_ifile_old pointer.

Definition at line 2783 of file itfile.cpp.

References it_error, itpp::it_ifile_old::low_level_read(), itpp::it_ifile_old::read_data_header(), and itpp::it_file_base_old::data_header::type.

◆ operator>>() [48/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
std::complex< double > &  x 
)

Read the double complex variable v from the it_ifile_old pointer.

Definition at line 2800 of file itfile.cpp.

References it_error, itpp::it_ifile_old::low_level_read(), itpp::it_ifile_old::read_data_header(), and itpp::it_file_base_old::data_header::type.

◆ operator>>() [49/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
vec &  v 
)

◆ operator>>() [50/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
ivec &  v 
)

◆ operator>>() [51/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
bvec &  v 
)

◆ operator>>() [52/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
cvec &  v 
)

◆ operator>>() [53/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
std::string &  str 
)

◆ operator>>() [54/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
mat &  m 
)

◆ operator>>() [55/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
imat &  m 
)

◆ operator>>() [56/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
bmat m 
)

◆ operator>>() [57/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
cmat &  m 
)

◆ operator>>() [58/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< float > &  v 
)

◆ operator>>() [59/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< double > &  v 
)

◆ operator>>() [60/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< int > &  v 
)

◆ operator>>() [61/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< bin > &  v 
)

◆ operator>>() [62/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< std::complex< float > > &  v 
)

◆ operator>>() [63/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< std::complex< double > > &  v 
)

◆ operator>>() [64/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< vec > &  v 
)

◆ operator>>() [65/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< ivec > &  v 
)

◆ operator>>() [66/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< bvec > &  v 
)

◆ operator>>() [67/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< cvec > &  v 
)

◆ operator>>() [68/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< std::string > &  v 
)

◆ operator>>() [69/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< mat > &  v 
)

◆ operator>>() [70/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< imat > &  v 
)

◆ operator>>() [71/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< bmat > &  v 
)

◆ operator>>() [72/72]

ITPP_EXPORT it_ifile_old & itpp::operator>> ( it_ifile_old f,
Array< cmat > &  v 
)

◆ operator<<() [41/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
char  x 
)

Write the char variable x to the it_file_old pointer.

Definition at line 3187 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [42/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
bin  x 
)

Write the binary variable x to the it_file_old pointer.

Definition at line 3195 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [43/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
short  x 
)

Write the short variable x to the it_file_old pointer.

Definition at line 3203 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [44/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
int  x 
)

Write the integer variable x to the it_file_old pointer.

Definition at line 3211 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [45/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
float  x 
)

Write the float variable x to the it_file_old pointer.

Definition at line 3219 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [46/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
double  x 
)

Write the double variable x to the it_file_old pointer.

Definition at line 3227 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [47/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
std::complex< float >  x 
)

Write the float complex variable x to the it_file_old pointer.

Definition at line 3235 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [48/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
std::complex< double >  x 
)

Write the double complex variable x to the it_file_old pointer.

Definition at line 3243 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [49/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const vec &  v 
)

◆ operator<<() [50/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const ivec &  v 
)

Write the ivec v to the it_file_old pointer.

Definition at line 3262 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [51/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const bvec &  v 
)

Write the bvec v to the it_file_old pointer.

Definition at line 3270 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [52/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const cvec &  v 
)

◆ operator<<() [53/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const std::string &  str 
)

Write the string str to the it_file_old pointer.

Definition at line 3289 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [54/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const mat &  m 
)

◆ operator<<() [55/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const imat &  m 
)

Write the imat m to the it_file_old pointer.

Definition at line 3308 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [56/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const bmat m 
)

Write the bmat m to the it_file_old pointer.

Definition at line 3316 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [57/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const cmat &  m 
)

◆ operator<<() [58/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< float > &  v 
)

Write the float Array v to the it_file_old pointer.

Definition at line 3335 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), itpp::Array< T >::size(), and itpp::it_file_old::write_data_header().

◆ operator<<() [59/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< double > &  v 
)

◆ operator<<() [60/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< int > &  v 
)

Write the int Array v to the it_file_old pointer.

Definition at line 3354 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), itpp::Array< T >::size(), and itpp::it_file_old::write_data_header().

◆ operator<<() [61/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< bin > &  v 
)

Write the bin Array v to the it_file_old pointer.

Definition at line 3362 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), itpp::Array< T >::size(), and itpp::it_file_old::write_data_header().

◆ operator<<() [62/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< std::complex< float > > &  v 
)

Write the float complex Array v to the it_file_old pointer.

Definition at line 3370 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [63/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< std::complex< double > > &  v 
)

Write the double complex Array v to the it_file_old pointer.

Definition at line 3378 of file itfile.cpp.

References itpp::it_file_old::get_low_precision(), itpp::it_file_old::low_level_write(), and itpp::it_file_old::write_data_header().

◆ operator<<() [64/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< vec > &  v 
)

Write the vec Array v to the it_file_old pointer.

Definition at line 3389 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), itpp::Array< T >::size(), and itpp::it_file_old::write_data_header().

◆ operator<<() [65/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< ivec > &  v 
)

Write the ivec Array v to the it_file_old pointer.

Definition at line 3410 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), itpp::Array< T >::size(), and itpp::it_file_old::write_data_header().

◆ operator<<() [66/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< bvec > &  v 
)

Write the bvec Array v to the it_file_old pointer.

Definition at line 3431 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), itpp::Array< T >::size(), and itpp::it_file_old::write_data_header().

◆ operator<<() [67/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< cvec > &  v 
)

Write the cvec Array v to the it_file_old pointer.

Definition at line 3452 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), itpp::Array< T >::size(), and itpp::it_file_old::write_data_header().

◆ operator<<() [68/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< std::string > &  v 
)

◆ operator<<() [69/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< mat > &  v 
)

Write the mat Array v to the it_file_old pointer.

Definition at line 3494 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), itpp::Array< T >::size(), and itpp::it_file_old::write_data_header().

◆ operator<<() [70/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< imat > &  v 
)

Write the imat Array v to the it_file_old pointer.

Definition at line 3515 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), itpp::Array< T >::size(), and itpp::it_file_old::write_data_header().

◆ operator<<() [71/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< bmat > &  v 
)

Write the bmat Array v to the it_file_old pointer.

Definition at line 3536 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), itpp::Array< T >::size(), and itpp::it_file_old::write_data_header().

◆ operator<<() [72/72]

ITPP_EXPORT it_file_old & itpp::operator<< ( it_file_old f,
const Array< cmat > &  v 
)

Write the cmat Array v to the it_file_old pointer.

Definition at line 3557 of file itfile.cpp.

References itpp::it_file_old::low_level_write(), itpp::Array< T >::size(), and itpp::it_file_old::write_data_header().

SourceForge Logo

Generated on Sun Jun 5 2022 21:26:42 for IT++ by Doxygen 1.9.3