Classes | |
class | itpp::bfstream_base |
Base class for binary file classes. 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... | |
Defines | |
#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'. | |
#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'. | |
Functions | |
bool | itpp::exist (const std::string &name) |
Checks if a filename already exists on the disk. | |
it_file & | itpp::flush (it_file &f) |
Flush operator. | |
it_ifile & | itpp::operator>> (it_ifile &f, const Name &s) |
Finds the variable Name in the it_ifile . Returns file pointer for reading. | |
it_file & | itpp::operator<< (it_file &f, const Name &s) |
Finds the variable Name in the it_file . Returns file pointer for writing. | |
it_ifile & | itpp::operator>> (it_ifile &f, bin &v) |
Read the binary variable v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, short &v) |
Read the short variable v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, int &v) |
Read the integer variable v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, float &v) |
Read the float variable v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, double &v) |
Read the double variable v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, std::complex< float > &v) |
Read the float complex variable v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, std::complex< double > &v) |
Read the double complex variable v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, vec &v) |
Read the vec v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, ivec &v) |
Read the ivec v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, bvec &v) |
Read the bvec v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, cvec &v) |
Read the cvec v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, std::string &str) |
Read the string str from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, mat &m) |
Read the mat m from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, imat &m) |
Read the imat m from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, bmat &m) |
Read the bmat m from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, cmat &m) |
Read the cmat m from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< float > &v) |
Read the float Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< double > &v) |
Read the double Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< int > &v) |
Read the integer Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< bin > &v) |
Read the binary Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< std::complex< float > > &v) |
Read the float complex Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< std::complex< double > > &v) |
Read the double complex Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< vec > &v) |
Read the vec Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< ivec > &v) |
Read the ivec Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< bvec > &v) |
Read the bvec Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< cvec > &v) |
Read the cvec Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< std::string > &v) |
Read the string Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< mat > &v) |
Read the mat Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< imat > &v) |
Read the imat Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< bmat > &v) |
Read the bmat Array v from the it_ifile pointer. | |
it_ifile & | itpp::operator>> (it_ifile &f, Array< cmat > &v) |
Read the cmat Array v from the it_ifile pointer. | |
it_file & | itpp::operator<< (it_file &f, bin x) |
Write the binary variable x to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, short x) |
Write the short variable x to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, int x) |
Write the integer variable x to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, float x) |
Write the float variable x to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, double x) |
Write the double variable x to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, std::complex< float > x) |
Write the float complex variable x to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, std::complex< double > x) |
Write the double complex variable x to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const vec &v) |
Write the vec v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const ivec &v) |
Write the ivec v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const bvec &v) |
Write the bvec v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const cvec &v) |
Write the cvec v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const std::string &str) |
Write the string str to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const mat &m) |
Write the mat m to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const imat &m) |
Write the imat m to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const bmat &m) |
Write the bmat m to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const cmat &m) |
Write the cmat m to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< float > &v) |
Write the float Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< double > &v) |
Write the double Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< int > &v) |
Write the int Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< bin > &v) |
Write the bin Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< std::complex< float > > &v) |
Write the float complex Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< std::complex< double > > &v) |
Write the double complex Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< vec > &v) |
Write the vec Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< ivec > &v) |
Write the ivec Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< bvec > &v) |
Write the bvec Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< cvec > &v) |
Write the cvec Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< std::string > &v) |
Write the string Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< mat > &v) |
Write the mat Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< imat > &v) |
Write the imat Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< bmat > &v) |
Write the bmat Array v to the it_file pointer. | |
it_file & | itpp::operator<< (it_file &f, const Array< cmat > &v) |
Write the cmat Array v to the it_file pointer. | |
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. | |
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. |
The IT++ file format is a file format that can be used to save variables to files. These files can also be read an written by Matlab using the m-files
load_it.m
and save_it.m
.The class it_ifile is used for reading only, and the class it_file can be used for both reading and writing.
The variables must be given a name when they are saved. The saving is done in two steps. The first step is to supply a name of the variable to be saved. This can be done either by calling the function it_file::seek() or by using the helper class Name as follows:
vec v("1 2 3"); it_file f("file.it"); f << Name("v") << v;
The reading is done in a similar way:
vec v; it_ifile f("file.it"); f >> Name("v") >> v;
#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'.
#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'.
bool itpp::exist | ( | const std::string & | name | ) |
Checks if a filename already exists on the disk.
Definition at line 54 of file binfile.cpp.
Referenced by itpp::it_file::open(), and itpp::it_ifile::open().
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;
Definition at line 356 of file itfile.h.
References itpp::it_file::flush().
Referenced by itpp::it_assert_f(), itpp::it_error_f(), and itpp::it_warning_f().
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 387 of file itfile.h.
References itpp::Name::name, and itpp::it_ifile::seek().
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 394 of file itfile.h.
References itpp::Name::name, and itpp::it_file::set_next_name().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
bin & | x | |||
) |
Read the binary variable v
from the it_ifile
pointer.
Definition at line 847 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
short & | x | |||
) |
Read the short variable v
from the it_ifile
pointer.
Definition at line 860 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
int & | x | |||
) |
Read the integer variable v
from the it_ifile
pointer.
Definition at line 873 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
float & | x | |||
) |
Read the float variable v
from the it_ifile
pointer.
Definition at line 909 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
double & | x | |||
) |
Read the double variable v
from the it_ifile
pointer.
Definition at line 891 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
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 922 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
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 939 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
vec & | v | |||
) |
Read the vec v
from the it_ifile
pointer.
Definition at line 957 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read_hi(), itpp::it_ifile::low_level_read_lo(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
ivec & | v | |||
) |
Read the ivec v
from the it_ifile
pointer.
Definition at line 972 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
bvec & | v | |||
) |
Read the bvec v
from the it_ifile
pointer.
Definition at line 985 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
cvec & | v | |||
) |
Read the cvec v
from the it_ifile
pointer.
Definition at line 998 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read_hi(), itpp::it_ifile::low_level_read_lo(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
std::string & | str | |||
) |
Read the string str
from the it_ifile
pointer.
Definition at line 1013 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
mat & | m | |||
) |
Read the mat m
from the it_ifile
pointer.
Definition at line 1026 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read_hi(), itpp::it_ifile::low_level_read_lo(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
imat & | m | |||
) |
Read the imat m
from the it_ifile
pointer.
Definition at line 1041 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
bmat & | m | |||
) |
Read the bmat m
from the it_ifile
pointer.
Definition at line 1054 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
cmat & | m | |||
) |
Read the cmat m
from the it_ifile
pointer.
Definition at line 1067 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read_hi(), itpp::it_ifile::low_level_read_lo(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< float > & | v | |||
) |
Read the float Array v
from the it_ifile
pointer.
Definition at line 1082 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read_lo(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< double > & | v | |||
) |
Read the double Array v
from the it_ifile
pointer.
Definition at line 1095 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read_hi(), itpp::it_ifile::low_level_read_lo(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< int > & | v | |||
) |
Read the integer Array v
from the it_ifile
pointer.
Definition at line 1110 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< bin > & | v | |||
) |
Read the binary Array v
from the it_ifile
pointer.
Definition at line 1123 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), and itpp::it_ifile::read_data_header().
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 1136 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read_lo(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< std::complex< double > > & | v | |||
) |
Read the double complex Array v
from the it_ifile
pointer.
Definition at line 1149 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read_hi(), itpp::it_ifile::low_level_read_lo(), and itpp::it_ifile::read_data_header().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< vec > & | v | |||
) |
Read the vec Array v
from the it_ifile
pointer.
Definition at line 1164 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), itpp::it_ifile::low_level_read_hi(), itpp::it_ifile::read_data_header(), and itpp::Array< T >::set_size().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< ivec > & | v | |||
) |
Read the ivec Array v
from the it_ifile
pointer.
Definition at line 1182 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::Array< T >::set_size().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< bvec > & | v | |||
) |
Read the bvec Array v
from the it_ifile
pointer.
Definition at line 1200 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::Array< T >::set_size().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< cvec > & | v | |||
) |
Read the cvec Array v
from the it_ifile
pointer.
Definition at line 1218 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), itpp::it_ifile::low_level_read_hi(), itpp::it_ifile::read_data_header(), and itpp::Array< T >::set_size().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< std::string > & | v | |||
) |
Read the string Array v
from the it_ifile
pointer.
Definition at line 1236 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::Array< T >::set_size().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< mat > & | v | |||
) |
Read the mat Array v
from the it_ifile
pointer.
Definition at line 1254 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), itpp::it_ifile::low_level_read_hi(), itpp::it_ifile::read_data_header(), and itpp::Array< T >::set_size().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< imat > & | v | |||
) |
Read the imat Array v
from the it_ifile
pointer.
Definition at line 1272 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::Array< T >::set_size().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< bmat > & | v | |||
) |
Read the bmat Array v
from the it_ifile
pointer.
Definition at line 1290 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), itpp::it_ifile::read_data_header(), and itpp::Array< T >::set_size().
it_ifile & itpp::operator>> | ( | it_ifile & | f, | |
Array< cmat > & | v | |||
) |
Read the cmat Array v
from the it_ifile
pointer.
Definition at line 1308 of file itfile.cpp.
References it_error, itpp::it_ifile::low_level_read(), itpp::it_ifile::low_level_read_hi(), itpp::it_ifile::read_data_header(), and itpp::Array< T >::set_size().
it_file & itpp::operator<< | ( | it_file & | f, | |
bin | x | |||
) |
Write the binary variable x
to the it_file
pointer.
Definition at line 1326 of file itfile.cpp.
References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
short | x | |||
) |
Write the short variable x
to the it_file
pointer.
Definition at line 1334 of file itfile.cpp.
References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
int | x | |||
) |
Write the integer variable x
to the it_file
pointer.
Definition at line 1342 of file itfile.cpp.
References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
float | x | |||
) |
Write the float variable x
to the it_file
pointer.
Definition at line 1350 of file itfile.cpp.
References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
double | x | |||
) |
Write the double variable x
to the it_file
pointer.
Definition at line 1358 of file itfile.cpp.
References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
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 1366 of file itfile.cpp.
References itpp::it_file::write_data_header().
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 1374 of file itfile.cpp.
it_file & itpp::operator<< | ( | it_file & | f, | |
const vec & | v | |||
) |
Write the vec v
to the it_file
pointer.
Definition at line 1382 of file itfile.cpp.
References itpp::it_file::get_low_precision(), itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
const ivec & | v | |||
) |
Write the ivec v
to the it_file
pointer.
Definition at line 1393 of file itfile.cpp.
References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
const bvec & | v | |||
) |
Write the bvec v
to the it_file
pointer.
Definition at line 1401 of file itfile.cpp.
References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
const cvec & | v | |||
) |
Write the cvec v
to the it_file
pointer.
Definition at line 1409 of file itfile.cpp.
References itpp::it_file::get_low_precision(), itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
const std::string & | str | |||
) |
Write the string str
to the it_file
pointer.
Definition at line 1420 of file itfile.cpp.
References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
const mat & | m | |||
) |
Write the mat m
to the it_file
pointer.
Definition at line 1428 of file itfile.cpp.
References itpp::it_file::get_low_precision(), itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
const imat & | m | |||
) |
Write the imat m
to the it_file
pointer.
Definition at line 1439 of file itfile.cpp.
References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
const bmat & | m | |||
) |
Write the bmat m
to the it_file
pointer.
Definition at line 1447 of file itfile.cpp.
References itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
const cmat & | m | |||
) |
Write the cmat m
to the it_file
pointer.
Definition at line 1455 of file itfile.cpp.
References itpp::it_file::get_low_precision(), itpp::it_file::low_level_write(), and itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< float > & | v | |||
) |
Write the float Array v
to the it_file
pointer.
Definition at line 1466 of file itfile.cpp.
References itpp::it_file::write_data_header().
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< double > & | v | |||
) |
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< int > & | v | |||
) |
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< bin > & | v | |||
) |
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< std::complex< float > > & | v | |||
) |
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 1509 of file itfile.cpp.
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< vec > & | v | |||
) |
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< ivec > & | v | |||
) |
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< bvec > & | v | |||
) |
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< cvec > & | v | |||
) |
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< std::string > & | v | |||
) |
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< mat > & | v | |||
) |
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< imat > & | v | |||
) |
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< bmat > & | v | |||
) |
it_file & itpp::operator<< | ( | it_file & | f, | |
const Array< cmat > & | v | |||
) |
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.
Definition at line 588 of file itfile.h.
References itpp::it_file::close().
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.
Definition at line 597 of file itfile.h.
References itpp::it_ifile::close(), and itpp::it_ifile::seek().
Generated on Thu Apr 19 14:15:01 2007 for IT++ by Doxygen 1.5.1