#include <itpp/base/vec.h>
#include <itpp/base/array.h>
#include <itpp/base/binfile.h>
#include <itpp/base/itcompat.h>
Go to the source code of this file.
| Classes | |
| class | itpp::it_file_base | 
| Base class for it_ifile and it_file.  More... | |
| struct | itpp::it_file_base::it_file_base::data_header | 
| Data header structure.  More... | |
| struct | itpp::it_file_base::it_file_base::file_header | 
| File header structure.  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 
An easy way to give a variable a name and optionally description when saving. Usage:.  More... | |
| class | itpp::it_file_base_old | 
| Base class for it_ifile_old and it_file_old.  More... | |
| struct | itpp::it_file_base_old::it_file_base_old::data_header | 
| Data header structure.  More... | |
| struct | itpp::it_file_base_old::it_file_base_old::file_header | 
| File header structure.  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... | |
| 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 | |
| it_file & | itpp::flush (it_file &f) | 
| Flush operator | |
| it_ifile & | itpp::operator>> (it_ifile &f, const Name &s) | 
| Finds the variable Namein theit_ifile. Returns file pointer for reading. | |
| it_file & | itpp::operator<< (it_file &f, const Name &s) | 
| Finds the variable Namein theit_file. Returns file pointer for writing. | |
| it_ifile & | itpp::operator>> (it_ifile &f, char &v) | 
| Read the char variable vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, bool &v) | 
| Read the bool variable vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, bin &v) | 
| Read the binary variable vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, short &v) | 
| Read the short variable vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, int &v) | 
| Read the integer variable vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, float &v) | 
| Read the float variable vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, double &v) | 
| Read the double variable vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, std::complex< float > &v) | 
| Read the float complex variable vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, std::complex< double > &v) | 
| Read the double complex variable vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, bvec &v) | 
| Read the bvec vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, svec &v) | 
| Read the svec vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, ivec &v) | 
| Read the ivec vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, vec &v) | 
| Read the vec vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, cvec &v) | 
| Read the cvec vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, std::string &str) | 
| Read the string strfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, bmat &m) | 
| Read the bmat mfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, smat &m) | 
| Read the smat mfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, imat &m) | 
| Read the imat mfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, mat &m) | 
| Read the mat mfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, cmat &m) | 
| Read the cmat mfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< bin > &v) | 
| Read the binary Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< short > &v) | 
| Read the short integer Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< int > &v) | 
| Read the integer Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< float > &v) | 
| Read the float Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< double > &v) | 
| Read the double Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< std::complex< float > > &v) | 
| Read the float complex Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< std::complex< double > > &v) | 
| Read the double complex Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< bvec > &v) | 
| Read the bvec Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< svec > &v) | 
| Read the svec Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< ivec > &v) | 
| Read the ivec Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< vec > &v) | 
| Read the vec Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< cvec > &v) | 
| Read the cvec Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< std::string > &v) | 
| Read the string Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< bmat > &v) | 
| Read the bmat Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< smat > &v) | 
| Read the bmat Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< imat > &v) | 
| Read the imat Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< mat > &v) | 
| Read the mat Array vfrom theit_ifilepointer. | |
| it_ifile & | itpp::operator>> (it_ifile &f, Array< cmat > &v) | 
| Read the cmat Array vfrom theit_ifilepointer. | |
| it_file & | itpp::operator<< (it_file &f, char x) | 
| Write the char variable xto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, bool x) | 
| Write the bool variable xto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, bin x) | 
| Write the binary variable xto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, short x) | 
| Write the short variable xto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, int x) | 
| Write the integer variable xto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, float x) | 
| Write the float variable xto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, double x) | 
| Write the double variable xto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, std::complex< float > x) | 
| Write the float complex variable xto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, std::complex< double > x) | 
| Write the double complex variable xto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const bvec &v) | 
| Write the bvec vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const svec &v) | 
| Write the svec vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const ivec &v) | 
| Write the ivec vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const vec &v) | 
| Write the vec vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const cvec &v) | 
| Write the cvec vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const std::string &str) | 
| Write the string strto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const bmat &m) | 
| Write the bmat mto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const smat &m) | 
| Write the smat mto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const imat &m) | 
| Write the imat mto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const mat &m) | 
| Write the mat mto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const cmat &m) | 
| Write the cmat mto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< bin > &v) | 
| Write the bin Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< short > &v) | 
| Write the short int Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< int > &v) | 
| Write the int Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< float > &v) | 
| Write the float Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< double > &v) | 
| Write the double Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< std::complex< float > > &v) | 
| Write the float complex Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< std::complex< double > > &v) | 
| Write the double complex Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< bvec > &v) | 
| Write the bvec Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< svec > &v) | 
| Write the svec Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< ivec > &v) | 
| Write the ivec Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< vec > &v) | 
| Write the vec Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< cvec > &v) | 
| Write the cvec Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< std::string > &v) | 
| Write the string Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< bmat > &v) | 
| Write the bmat Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< smat > &v) | 
| Write the smat Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< imat > &v) | 
| Write the imat Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< mat > &v) | 
| Write the mat Array vto theit_filepointer. | |
| it_file & | itpp::operator<< (it_file &f, const Array< cmat > &v) | 
| Write the cmat Array vto theit_filepointer. | |
| 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. | |
| it_file_old & | itpp::flush (it_file_old &f) | 
| Flush operator. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, const Name &s) | 
| Finds the variable Namein theit_ifile_old. Returns file pointer for reading. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Name &s) | 
| Finds the variable Namein theit_file_old. Returns file pointer for writing. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, char &v) | 
| Read the char variable vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, bin &v) | 
| Read the binary variable vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, short &v) | 
| Read the short variable vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, int &v) | 
| Read the integer variable vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, float &v) | 
| Read the float variable vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, double &v) | 
| Read the double variable vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, std::complex< float > &v) | 
| Read the float complex variable vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, std::complex< double > &v) | 
| Read the double complex variable vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, vec &v) | 
| Read the vec vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, ivec &v) | 
| Read the ivec vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, bvec &v) | 
| Read the bvec vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, cvec &v) | 
| Read the cvec vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, std::string &str) | 
| Read the string strfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, mat &m) | 
| Read the mat mfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, imat &m) | 
| Read the imat mfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, bmat &m) | 
| Read the bmat mfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, cmat &m) | 
| Read the cmat mfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< float > &v) | 
| Read the float Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< double > &v) | 
| Read the double Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< int > &v) | 
| Read the integer Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< bin > &v) | 
| Read the binary Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< std::complex< float > > &v) | 
| Read the float complex Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< std::complex< double > > &v) | 
| Read the double complex Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< vec > &v) | 
| Read the vec Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< ivec > &v) | 
| Read the ivec Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< bvec > &v) | 
| Read the bvec Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< cvec > &v) | 
| Read the cvec Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< std::string > &v) | 
| Read the string Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< mat > &v) | 
| Read the mat Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< imat > &v) | 
| Read the imat Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< bmat > &v) | 
| Read the bmat Array vfrom theit_ifile_oldpointer. | |
| it_ifile_old & | itpp::operator>> (it_ifile_old &f, Array< cmat > &v) | 
| Read the cmat Array vfrom theit_ifile_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, char x) | 
| Write the char variable xto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, bin x) | 
| Write the binary variable xto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, short x) | 
| Write the short variable xto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, int x) | 
| Write the integer variable xto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, float x) | 
| Write the float variable xto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, double x) | 
| Write the double variable xto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, std::complex< float > x) | 
| Write the float complex variable xto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, std::complex< double > x) | 
| Write the double complex variable xto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const vec &v) | 
| Write the vec vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const ivec &v) | 
| Write the ivec vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const bvec &v) | 
| Write the bvec vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const cvec &v) | 
| Write the cvec vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const std::string &str) | 
| Write the string strto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const mat &m) | 
| Write the mat mto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const imat &m) | 
| Write the imat mto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const bmat &m) | 
| Write the bmat mto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const cmat &m) | 
| Write the cmat mto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< float > &v) | 
| Write the float Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< double > &v) | 
| Write the double Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< int > &v) | 
| Write the int Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< bin > &v) | 
| Write the bin Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< std::complex< float > > &v) | 
| Write the float complex Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< std::complex< double > > &v) | 
| Write the double complex Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< vec > &v) | 
| Write the vec Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< ivec > &v) | 
| Write the ivec Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< bvec > &v) | 
| Write the bvec Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< cvec > &v) | 
| Write the cvec Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< std::string > &v) | 
| Write the string Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< mat > &v) | 
| Write the mat Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< imat > &v) | 
| Write the imat Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< bmat > &v) | 
| Write the bmat Array vto theit_file_oldpointer. | |
| it_file_old & | itpp::operator<< (it_file_old &f, const Array< cmat > &v) | 
| Write the cmat Array vto theit_file_oldpointer. | |
-------------------------------------------------------------------------
Copyright (C) 1995-2008 (see AUTHORS file for a list of contributors)
This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.
IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
IT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with IT++. If not, see <http://www.gnu.org/licenses/>.
-------------------------------------------------------------------------
 1.5.8
 1.5.8