IT++ Logo Newcom Logo

itfile.h File Reference

Definition of classes for the IT++ file format. More...

#include <itpp/base/vec.h>
#include <itpp/base/array.h>
#include <itpp/base/binfile.h>
#include <itpp/base/machdep.h>

Go to the source code of this file.

Namespaces

namespace  itpp

Classes

class  itpp::it_file_base
 Base class for it_ifile and it_file. More...
struct  itpp::it_file_base::data_header
 Data header structure. More...
struct  itpp::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. 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 & flush (it_file &f)
 Flush operator.
it_ifile & operator>> (it_ifile &f, const Name &s)
 Finds the variable Name in the it_ifile. Returns file pointer for reading.
it_file & operator<< (it_file &f, const Name &s)
 Finds the variable Name in the it_file. Returns file pointer for writing.
template<class T>
void 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 it_load_var_as (T &v, const std::string &name)
 Load the variable v from the file name.it as the name name.


Detailed Description

Definition of classes for the IT++ file format.

Author:
Tony Ottosson and Tobias Ringstrom
Date
2007-04-18 08:58:29 +0200 (Wed, 18 Apr 2007)
Revision
1013

-------------------------------------------------------------------------

IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions

Copyright (C) 1995-2007 (see AUTHORS file for a list of contributors)

This program 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 2 of the License, or (at your option) any later version.

This program 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 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

-------------------------------------------------------------------------

Definition in file itfile.h.

SourceForge Logo

Generated on Fri Jan 11 08:51:39 2008 for IT++ by Doxygen 1.3.9.1