The old (version 2) IT++ file format reading and writing class. More...
#include <itpp/base/itfile.h>
Public Types | |
typedef it_file_old &(* | it_manip) (it_file_old &) |
ACTION: Add documentation for this typedef. More... | |
Public Member Functions | |
it_file_old () | |
Constructor. More... | |
it_file_old (const std::string &name, bool trunc=false) | |
Constructor. More... | |
virtual | ~it_file_old () |
Destructor. More... | |
void | open (const std::string &name, bool trunc=false) |
Open a file for reading and writing. More... | |
void | close () |
Close the file. More... | |
void | flush () |
Flush the data to disk. More... | |
bfstream & | low_level () |
Returns pointer to the underlying bfstream used. More... | |
void | set_low_precision (bool p=true) |
Set the precision. Low precision means floats, high means doubles. More... | |
bool | get_low_precision () |
Get the precision. More... | |
void | set_next_name (const std::string &n) |
Set the name of the next name to be saved. See also the Name class. More... | |
void | write_file_header () |
Write the header for the it_file_old . More... | |
void | write_data_header (const std::string &type, uint32_t size) |
Write the data header for a variable, specifying the type and size of the data to follow. More... | |
void | write_data_header (const std::string &type, const std::string &name, uint32_t size) |
Write the data header for a variable, specifying the type, name, and size of the data to follow. More... | |
void | low_level_write (char x) |
Write a char value at the current file pointer position. More... | |
void | low_level_write (bin x) |
Write a binary value at the current file pointer position. More... | |
void | low_level_write (short x) |
Write a short value at the current file pointer position. More... | |
void | low_level_write (int x) |
Write an integer value at the current file pointer position. More... | |
void | low_level_write (float x) |
Write a float value at the current file pointer position. More... | |
void | low_level_write (double x) |
Write a double value at the current file pointer position. More... | |
void | low_level_write (const std::complex< float > &x) |
Write a float complex value at the current file pointer position. More... | |
void | low_level_write (const std::complex< double > &x) |
Write a double complex value at the current file pointer position. More... | |
void | low_level_write (const vec &v) |
Write a vec at the current file pointer position. More... | |
void | low_level_write (const ivec &v) |
Write an ivec at the current file pointer position. More... | |
void | low_level_write (const bvec &v) |
Write a bvec at the current file pointer position. More... | |
void | low_level_write (const cvec &v) |
Write a cvec at the current file pointer position. More... | |
void | low_level_write (const std::string &str) |
Write a string at the current file pointer position. More... | |
void | low_level_write (const mat &m) |
Write a mat at the current file pointer position. More... | |
void | low_level_write (const imat &m) |
Write a imat at the current file pointer position. More... | |
void | low_level_write (const bmat &m) |
Write a bmat at the current file pointer position. More... | |
void | low_level_write (const cmat &m) |
Write a cmat at the current file pointer position. More... | |
void | low_level_write (const Array< float > &v) |
Write a float Array at the current file pointer position. More... | |
void | low_level_write (const Array< double > &v) |
Write a double Array at the current file pointer position. More... | |
void | low_level_write (const Array< int > &v) |
Write a integer Array at the current file pointer position. More... | |
void | low_level_write (const Array< bin > &v) |
Write a bin Array at the current file pointer position. More... | |
void | low_level_write (const Array< std::complex< float > > &v) |
Write a float complex Array at the current file pointer position. More... | |
void | low_level_write (const Array< std::complex< double > > &v) |
Write a double complex Array at the current file pointer position. More... | |
it_file_old & | operator<< (it_manip func) |
ACTION: ADD DOCUMENTATION FOR THIS MEMBER !!!!!!!! More... | |
void | remove (const std::string &name) |
Removes the variable name from the file. More... | |
bool | exists (const std::string &name) |
Returns true if the variable name exists in the file. More... | |
void | pack () |
Remove slack space from the file. More... | |
void | open (const std::string &name) |
Open a file. The file must exist. More... | |
bool | read_check_file_header () |
Reads and checks the file data header. Returns true if the header is valid and false otherwise. More... | |
void | read_data_header (data_header &h) |
Read the data header and return the result in the variable h . More... | |
void | low_level_read (char &x) |
Read a char value at the current file pointer position. More... | |
void | low_level_read (bin &x) |
Read a binary value at the current file pointer position. More... | |
void | low_level_read (short &x) |
Read a short value at the current file pointer position. More... | |
void | low_level_read (int &x) |
Read an integer value at the current file pointer position. More... | |
void | low_level_read (float &x) |
Read a float value at the current file pointer position. More... | |
void | low_level_read (double &x) |
Read a double value at the current file pointer position. More... | |
void | low_level_read (std::complex< float > &x) |
Read a float complex value at the current file pointer position. More... | |
void | low_level_read (std::complex< double > &x) |
Read a double complex value at the current file pointer position. More... | |
void | low_level_read (ivec &v) |
Read a vector of integer values at the current file pointer position. More... | |
void | low_level_read (bvec &v) |
Read a vector of binary values at the current file pointer position. More... | |
void | low_level_read (std::string &str) |
Read a string at the current file pointer position. More... | |
void | low_level_read (imat &m) |
Read a matrix of integer values at the current file pointer position. More... | |
void | low_level_read (bmat &m) |
Read a matrix of binary values at the current file pointer position. More... | |
void | low_level_read (Array< int > &v) |
Read an Array of integer values at the current file pointer position. More... | |
void | low_level_read (Array< bin > &v) |
Read an Array of binary values at the current file pointer position. More... | |
void | low_level_read_lo (vec &v) |
Read a vector of float values at the current file pointer position. More... | |
void | low_level_read_lo (cvec &v) |
Read a vector of float complex values at the current file pointer position. More... | |
void | low_level_read_lo (mat &m) |
Read a matrix of float values at the current file pointer position. More... | |
void | low_level_read_lo (cmat &m) |
Read a matrix of float complex values at the current file pointer position. More... | |
void | low_level_read_lo (Array< float > &v) |
Read an Array of float values at the current file pointer position. More... | |
void | low_level_read_lo (Array< double > &v) |
Read an Array of float values at the current file pointer position. More... | |
void | low_level_read_lo (Array< std::complex< float > > &v) |
Read an Array of float complex values at the current file pointer position. More... | |
void | low_level_read_lo (Array< std::complex< double > > &v) |
Read an Array of float complex values at the current file pointer position. More... | |
void | low_level_read_hi (vec &v) |
Read a vector of double values at the current file pointer position. More... | |
void | low_level_read_hi (cvec &v) |
Read a vector of double complex values at the current file pointer position. More... | |
void | low_level_read_hi (mat &m) |
Read a matrix of double values at the current file pointer position. More... | |
void | low_level_read_hi (cmat &m) |
Read a matrix of double complex values at the current file pointer position. More... | |
void | low_level_read_hi (Array< double > &v) |
Read an Array of double values at the current file pointer position. More... | |
void | low_level_read_hi (Array< std::complex< double > > &v) |
Read an Array of double complex values at the current file pointer position. More... | |
bool | seek (const std::string &name) |
Find the variable name . More... | |
bool | seek (int n) |
Find the variable number n . More... | |
void | info (std::string &name, std::string &type, int &bytes) |
Get information about the current variable. More... | |
Protected Member Functions | |
void | remove () |
ACTION: Add documenation for this protected member. More... | |
void | write_data_header_here (const data_header &h) |
ACTION: Add documenation for this protected member. More... | |
std::string & | next_name () |
ACTION: Add documenation for this protected member. More... | |
Protected Attributes | |
bool | low_prec |
ACTION: Add documenation for this protected member. More... | |
bfstream | s |
Protected binary file stream. More... | |
Static Protected Attributes | |
static char | file_magic [4] = { 'I', 'T', '+', '+' } |
ACTION: Add documentation. More... | |
static char | file_version = 2 |
ACTION: Add documentation. More... | |
The old (version 2) IT++ file format reading and writing class.
typedef it_file_old &(* itpp::it_file_old::it_manip) (it_file_old &) |
itpp::it_file_old::it_file_old | ( | ) |
|
explicit |
Constructor.
If the file does not exist it will be created. If trunc
is true, the file will be truncated.
Definition at line 2324 of file itfile.cpp.
|
inlinevirtual |
void itpp::it_file_old::open | ( | const std::string & | name, |
bool | trunc = false |
||
) |
Open a file for reading and writing.
If the file does not exist it will be created. If trunc
is true, the file will be truncated.
Definition at line 2331 of file itfile.cpp.
References itpp::binfile_details::Fstream_Binfile_Facade::close(), itpp::exist(), itpp::binfile_details::Fstream_Binfile_Facade::is_open(), it_error, it_error_if, itpp::bfstream::open(), itpp::it_ifile_old::read_check_file_header(), itpp::it_ifile_old::s, and write_file_header().
Referenced by it_file_old().
|
virtual |
Close the file.
Reimplemented from itpp::it_ifile_old.
Definition at line 2347 of file itfile.cpp.
References itpp::binfile_details::Fstream_Binfile_Facade::close(), and itpp::it_ifile_old::s.
void itpp::it_file_old::flush | ( | ) |
Flush the data to disk.
Definition at line 2352 of file itfile.cpp.
References itpp::binfile_details::Fstream_Binfile_Facade::flush(), and itpp::it_ifile_old::s.
Referenced by itpp::flush().
|
inline |
|
inline |
|
inline |
Get the precision.
Definition at line 847 of file itfile.h.
Referenced by low_level_write(), and itpp::operator<<().
|
inline |
Set the name of the next name to be saved. See also the Name
class.
Definition at line 850 of file itfile.h.
Referenced by itpp::operator<<().
void itpp::it_file_old::write_file_header | ( | ) |
Write the header for the it_file_old
.
Definition at line 2357 of file itfile.cpp.
References itpp::it_file_base_old::file_magic, itpp::it_file_base_old::file_version, itpp::it_ifile_old::s, and itpp::binfile_details::Fstream_Binfile_Facade::write().
Referenced by open().
void itpp::it_file_old::write_data_header | ( | const std::string & | type, |
uint32_t | size | ||
) |
Write the data header for a variable, specifying the type and size of the data to follow.
Definition at line 2363 of file itfile.cpp.
References it_error_if, next_name(), itpp::size(), and write_data_header().
Referenced by itpp::operator<<(), and write_data_header().
void itpp::it_file_old::write_data_header | ( | const std::string & | type, |
const std::string & | name, | ||
uint32_t | size | ||
) |
Write the data header for a variable, specifying the type, name, and size of the data to follow.
Definition at line 2370 of file itfile.cpp.
References itpp::it_file_base_old::data_header::block_bytes, itpp::binfile_details::Fstream_Binfile_Facade::clear(), itpp::it_file_base_old::data_header::data_bytes, itpp::it_file_base_old::data_header::endianity, itpp::binfile_details::Fstream_Binfile_Facade::eof(), exists(), itpp::bfstream_base::get_native_endianity(), itpp::it_file_base_old::data_header::hdr_bytes, itpp::it_file_base_old::data_header::name, itpp::it_ifile_old::read_data_header(), remove(), itpp::it_ifile_old::s, itpp::binfile_details::Fstream_Binfile_Facade::seekg(), itpp::binfile_details::Fstream_Binfile_Facade::seekp(), itpp::size(), itpp::binfile_details::Fstream_Binfile_Facade::tellp(), itpp::it_file_base_old::data_header::type, and write_data_header_here().
void itpp::it_file_old::low_level_write | ( | char | x | ) |
Write a char value at the current file pointer position.
Definition at line 2475 of file itfile.cpp.
References itpp::it_ifile_old::s.
Referenced by itpp::operator<<().
void itpp::it_file_old::low_level_write | ( | bin | x | ) |
Write a binary value at the current file pointer position.
Definition at line 2480 of file itfile.cpp.
References itpp::it_ifile_old::s, and itpp::bin::value().
void itpp::it_file_old::low_level_write | ( | short | x | ) |
Write a short value at the current file pointer position.
Definition at line 2485 of file itfile.cpp.
References itpp::it_ifile_old::s.
void itpp::it_file_old::low_level_write | ( | int | x | ) |
Write an integer value at the current file pointer position.
Definition at line 2490 of file itfile.cpp.
void itpp::it_file_old::low_level_write | ( | float | x | ) |
Write a float value at the current file pointer position.
Definition at line 2495 of file itfile.cpp.
References itpp::it_ifile_old::s.
void itpp::it_file_old::low_level_write | ( | double | x | ) |
Write a double value at the current file pointer position.
Definition at line 2500 of file itfile.cpp.
References itpp::it_ifile_old::s.
void itpp::it_file_old::low_level_write | ( | const std::complex< float > & | x | ) |
Write a float complex value at the current file pointer position.
Definition at line 2505 of file itfile.cpp.
References itpp::it_ifile_old::s.
void itpp::it_file_old::low_level_write | ( | const std::complex< double > & | x | ) |
Write a double complex value at the current file pointer position.
Definition at line 2511 of file itfile.cpp.
References itpp::it_ifile_old::s.
void itpp::it_file_old::low_level_write | ( | const vec & | v | ) |
Write a vec at the current file pointer position.
Definition at line 2517 of file itfile.cpp.
References get_low_precision(), and itpp::it_ifile_old::s.
void itpp::it_file_old::low_level_write | ( | const ivec & | v | ) |
Write an ivec at the current file pointer position.
Definition at line 2531 of file itfile.cpp.
References itpp::it_ifile_old::s.
void itpp::it_file_old::low_level_write | ( | const bvec & | v | ) |
Write a bvec at the current file pointer position.
Definition at line 2538 of file itfile.cpp.
References itpp::it_ifile_old::s.
void itpp::it_file_old::low_level_write | ( | const cvec & | v | ) |
Write a cvec at the current file pointer position.
Definition at line 2545 of file itfile.cpp.
References get_low_precision(), itpp::imag(), and itpp::real().
void itpp::it_file_old::low_level_write | ( | const std::string & | str | ) |
Write a string at the current file pointer position.
Definition at line 2563 of file itfile.cpp.
References itpp::it_ifile_old::s, and itpp::size().
void itpp::it_file_old::low_level_write | ( | const mat & | m | ) |
Write a mat at the current file pointer position.
Definition at line 2572 of file itfile.cpp.
References get_low_precision(), and itpp::it_ifile_old::s.
void itpp::it_file_old::low_level_write | ( | const imat & | m | ) |
Write a imat at the current file pointer position.
Definition at line 2590 of file itfile.cpp.
References itpp::it_ifile_old::s.
void itpp::it_file_old::low_level_write | ( | const bmat & | m | ) |
Write a bmat at the current file pointer position.
Definition at line 2600 of file itfile.cpp.
References itpp::it_ifile_old::s.
void itpp::it_file_old::low_level_write | ( | const cmat & | m | ) |
Write a cmat at the current file pointer position.
Definition at line 2610 of file itfile.cpp.
References get_low_precision(), itpp::imag(), and itpp::real().
void itpp::it_file_old::low_level_write | ( | const Array< float > & | v | ) |
Write a float Array at the current file pointer position.
Definition at line 2633 of file itfile.cpp.
References itpp::it_ifile_old::s, and itpp::Array< T >::size().
void itpp::it_file_old::low_level_write | ( | const Array< double > & | v | ) |
Write a double Array at the current file pointer position.
Definition at line 2640 of file itfile.cpp.
References get_low_precision(), itpp::it_ifile_old::s, and itpp::Array< T >::size().
void itpp::it_file_old::low_level_write | ( | const Array< int > & | v | ) |
Write a integer Array at the current file pointer position.
Definition at line 2654 of file itfile.cpp.
References itpp::it_ifile_old::s, and itpp::Array< T >::size().
Write a bin Array at the current file pointer position.
Definition at line 2661 of file itfile.cpp.
References itpp::it_ifile_old::s, and itpp::Array< T >::size().
void itpp::it_file_old::low_level_write | ( | const Array< std::complex< float > > & | v | ) |
Write a float complex Array at the current file pointer position.
Definition at line 2668 of file itfile.cpp.
References itpp::it_ifile_old::s.
void itpp::it_file_old::low_level_write | ( | const Array< std::complex< double > > & | v | ) |
Write a double complex Array at the current file pointer position.
Definition at line 2677 of file itfile.cpp.
References get_low_precision(), itpp::imag(), and itpp::real().
|
inline |
void itpp::it_file_old::remove | ( | const std::string & | name | ) |
Removes the variable name
from the file.
Definition at line 2440 of file itfile.cpp.
References remove(), and itpp::it_ifile_old::seek().
bool itpp::it_file_old::exists | ( | const std::string & | name | ) |
Returns true if the variable name
exists in the file.
Definition at line 2462 of file itfile.cpp.
References itpp::it_ifile_old::seek().
Referenced by write_data_header().
void itpp::it_file_old::pack | ( | ) |
Remove slack space from the file.
Definition at line 2470 of file itfile.cpp.
References it_warning.
|
protected |
ACTION: Add documenation for this protected member.
Definition at line 2446 of file itfile.cpp.
References itpp::it_file_base_old::data_header::block_bytes, itpp::it_file_base_old::data_header::data_bytes, itpp::it_file_base_old::data_header::hdr_bytes, itpp::it_file_base_old::data_header::name, itpp::it_ifile_old::read_data_header(), itpp::it_ifile_old::s, itpp::binfile_details::Fstream_Binfile_Facade::seekp(), itpp::binfile_details::Fstream_Binfile_Facade::tellp(), itpp::it_file_base_old::data_header::type, and write_data_header_here().
Referenced by remove(), and write_data_header().
|
protected |
ACTION: Add documenation for this protected member.
Definition at line 2434 of file itfile.cpp.
References itpp::it_file_base_old::data_header::block_bytes, itpp::it_file_base_old::data_header::data_bytes, itpp::it_file_base_old::data_header::endianity, itpp::it_file_base_old::data_header::hdr_bytes, itpp::it_file_base_old::data_header::name, itpp::it_ifile_old::s, itpp::bfstream_base::set_endianity(), and itpp::it_file_base_old::data_header::type.
Referenced by remove(), and write_data_header().
|
inlineprotected |
ACTION: Add documenation for this protected member.
Definition at line 925 of file itfile.h.
Referenced by write_data_header().
|
inherited |
Open a file. The file must exist.
Definition at line 1888 of file itfile.cpp.
References itpp::binfile_details::Fstream_Binfile_Facade::close(), itpp::exist(), it_assert, it_error, itpp::bfstream::open_readonly(), itpp::it_ifile_old::read_check_file_header(), and itpp::it_ifile_old::s.
Referenced by itpp::it_ifile_old::it_ifile_old().
|
inherited |
Reads and checks the file data header. Returns true if the header is valid and false otherwise.
Definition at line 1965 of file itfile.cpp.
References itpp::it_file_base_old::file_magic, itpp::it_file_base_old::file_version, itpp::it_file_base_old::file_header::magic, itpp::binfile_details::Fstream_Binfile_Facade::read(), itpp::it_ifile_old::s, and itpp::it_file_base_old::file_header::version.
Referenced by itpp::it_ifile_old::open(), and open().
|
inherited |
Read the data header and return the result in the variable h
.
Definition at line 1975 of file itfile.cpp.
References itpp::it_file_base_old::data_header::block_bytes, itpp::binfile_details::Fstream_Binfile_Facade::clear(), itpp::it_file_base_old::data_header::data_bytes, itpp::it_file_base_old::data_header::endianity, itpp::binfile_details::Fstream_Binfile_Facade::eof(), itpp::it_file_base_old::data_header::hdr_bytes, itpp::it_file_base_old::data_header::name, itpp::it_ifile_old::s, itpp::binfile_details::Fstream_Binfile_Facade::seekg(), itpp::bfstream_base::set_endianity(), itpp::binfile_details::Fstream_Binfile_Facade::tellg(), and itpp::it_file_base_old::data_header::type.
Referenced by itpp::it_ifile_old::info(), itpp::operator>>(), remove(), itpp::it_ifile_old::seek(), and write_data_header().
|
inherited |
Read a char value at the current file pointer position.
Definition at line 1995 of file itfile.cpp.
References itpp::it_ifile_old::s.
Referenced by itpp::operator>>().
|
inherited |
Read a binary value at the current file pointer position.
Definition at line 2000 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a short value at the current file pointer position.
Definition at line 2005 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read an integer value at the current file pointer position.
Definition at line 2010 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a float value at the current file pointer position.
Definition at line 2017 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a double value at the current file pointer position.
Definition at line 2022 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a float complex value at the current file pointer position.
Definition at line 2027 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a double complex value at the current file pointer position.
Definition at line 2035 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a vector of integer values at the current file pointer position.
Definition at line 2069 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a vector of binary values at the current file pointer position.
Definition at line 2081 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a string at the current file pointer position.
Definition at line 2119 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a matrix of integer values at the current file pointer position.
Definition at line 2161 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a matrix of binary values at the current file pointer position.
Definition at line 2174 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read an Array of integer values at the current file pointer position.
Definition at line 2255 of file itfile.cpp.
References itpp::it_ifile_old::s, itpp::Array< T >::set_size(), and itpp::Array< T >::size().
Read an Array of binary values at the current file pointer position.
Definition at line 2267 of file itfile.cpp.
References itpp::it_ifile_old::s, itpp::Array< T >::set_size(), and itpp::Array< T >::size().
|
inherited |
Read a vector of float values at the current file pointer position.
Definition at line 2043 of file itfile.cpp.
References itpp::it_ifile_old::s.
Referenced by itpp::operator>>().
|
inherited |
Read a vector of float complex values at the current file pointer position.
Definition at line 2091 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a matrix of float values at the current file pointer position.
Definition at line 2133 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a matrix of float complex values at the current file pointer position.
Definition at line 2185 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read an Array of float values at the current file pointer position.
Definition at line 2216 of file itfile.cpp.
References itpp::it_ifile_old::s, itpp::Array< T >::set_size(), and itpp::Array< T >::size().
|
inherited |
Read an Array of float values at the current file pointer position.
Definition at line 2229 of file itfile.cpp.
References itpp::it_ifile_old::s, itpp::Array< T >::set_size(), and itpp::Array< T >::size().
|
inherited |
Read an Array of float complex values at the current file pointer position.
Definition at line 2277 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read an Array of float complex values at the current file pointer position.
Definition at line 2291 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a vector of double values at the current file pointer position.
Definition at line 2056 of file itfile.cpp.
References itpp::it_ifile_old::s.
Referenced by itpp::operator>>().
|
inherited |
Read a vector of double complex values at the current file pointer position.
Definition at line 2105 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a matrix of double values at the current file pointer position.
Definition at line 2147 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read a matrix of double complex values at the current file pointer position.
Definition at line 2200 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Read an Array of double values at the current file pointer position.
Definition at line 2242 of file itfile.cpp.
References itpp::it_ifile_old::s, itpp::Array< T >::set_size(), and itpp::Array< T >::size().
|
inherited |
Read an Array of double complex values at the current file pointer position.
Definition at line 2305 of file itfile.cpp.
References itpp::it_ifile_old::s.
|
inherited |
Find the variable name
.
Definition at line 1906 of file itfile.cpp.
References itpp::it_file_base_old::data_header::block_bytes, itpp::binfile_details::Fstream_Binfile_Facade::clear(), itpp::binfile_details::Fstream_Binfile_Facade::eof(), itpp::it_file_base_old::data_header::name, itpp::it_ifile_old::read_data_header(), itpp::it_ifile_old::s, itpp::binfile_details::Fstream_Binfile_Facade::seekg(), itpp::binfile_details::Fstream_Binfile_Facade::tellg(), and itpp::it_file_base_old::data_header::type.
Referenced by exists(), itpp::operator>>(), and remove().
|
inherited |
Find the variable number n
.
Definition at line 1931 of file itfile.cpp.
References itpp::it_file_base_old::data_header::block_bytes, itpp::binfile_details::Fstream_Binfile_Facade::clear(), itpp::binfile_details::Fstream_Binfile_Facade::eof(), itpp::it_ifile_old::read_data_header(), itpp::it_ifile_old::s, itpp::binfile_details::Fstream_Binfile_Facade::seekg(), itpp::binfile_details::Fstream_Binfile_Facade::tellg(), and itpp::it_file_base_old::data_header::type.
|
inherited |
Get information about the current variable.
Definition at line 1952 of file itfile.cpp.
References itpp::it_file_base_old::data_header::data_bytes, itpp::it_file_base_old::data_header::name, itpp::it_ifile_old::read_data_header(), itpp::it_ifile_old::s, itpp::binfile_details::Fstream_Binfile_Facade::seekg(), itpp::binfile_details::Fstream_Binfile_Facade::tellg(), and itpp::it_file_base_old::data_header::type.
|
protected |
ACTION: Add documenation for this protected member.
Definition at line 923 of file itfile.h.
Referenced by it_file_old().
|
protectedinherited |
Protected binary file stream.
Definition at line 797 of file itfile.h.
Referenced by itpp::it_ifile_old::close(), close(), flush(), itpp::it_ifile_old::info(), itpp::it_ifile_old::low_level_read(), itpp::it_ifile_old::low_level_read_hi(), itpp::it_ifile_old::low_level_read_lo(), low_level_write(), itpp::it_ifile_old::open(), open(), itpp::it_ifile_old::read_check_file_header(), itpp::it_ifile_old::read_data_header(), remove(), itpp::it_ifile_old::seek(), write_data_header(), write_data_header_here(), and write_file_header().
|
staticprotectedinherited |
ACTION: Add documentation.
Definition at line 696 of file itfile.h.
Referenced by itpp::it_ifile_old::read_check_file_header(), and write_file_header().
|
staticprotectedinherited |
ACTION: Add documentation.
Definition at line 698 of file itfile.h.
Referenced by itpp::it_ifile_old::read_check_file_header(), and write_file_header().
Generated on Tue Aug 17 2021 10:59:15 for IT++ by Doxygen 1.9.4