TF++, Miscellaneous classes and modules in C++:

contains all FORTRAN file data input output functions , More...

Classes

struct  blitz_magic
 magic numbers for blitz array I/OPlease define TF_COMPLEX_ARRAY to activate I/O for arrays of complex types. More...
 
struct  blitz_magic< float, 1 >
 partial specializations (others are hidden to doxygen) More...
 
class  FortranBinInput
 read FORTRAN binary data ,This class reads FORTRAN binary data. FORTRAN binary data is always written in chunks of several bytes, where each chunk is preceded and followed by a 4-byte integer byte-count. This class takes care of this structure of byte-counts an returns only the real data (omitting the counts). More...
 
class  FortranBinOutput
 write FORTRAN binary data ,This class writes FORTRAN binary data. FORTRAN binary data is always written in chunks of several bytes, where each chunk is preceded and followed by a 4-byte integer byte-count. This class takes care of this structure of byte-counts. More...
 

Functions

template<class T , int N>
tfxx::fortranio::FortranBinOutputoperator<< (tfxx::fortranio::FortranBinOutput &fo, const blitz::Array< T, N > &a)
 Output operator template for class FortranBinOutput and blitz. More...
 
template<class T , int N>
tfxx::fortranio::FortranBinInputoperator>> (tfxx::fortranio::FortranBinInput &fi, blitz::Array< T, N > &a)
 Input operator template for class FortranBinInput and blitz. More...
 
template<typename T >
tfxx::fortranio::FortranBinOutputoperator<< (tfxx::fortranio::FortranBinOutput &fo, const std::complex< T > &value)
 Output operator template for class FortranBinOutput. More...
 
template<typename T >
tfxx::fortranio::FortranBinInputoperator>> (tfxx::fortranio::FortranBinInput &fi, std::complex< T > &value)
 Input operator template for class FortranBinInput. More...
 
template<class C >
void readaff (tfxx::fortranio::FortranBinInput &is, C &s)
 read an aff container from the file More...
 
template<class T >
tfxx::fortranio::FortranBinInputoperator>> (tfxx::fortranio::FortranBinInput &is, aff::Series< T > &s)
 reading operator More...
 
template<class T >
tfxx::fortranio::FortranBinInputoperator>> (tfxx::fortranio::FortranBinInput &is, aff::Array< T > &s)
 reading operator More...
 
template<typename T >
tfxx::fortranio::FortranBinOutputoperator<< (tfxx::fortranio::FortranBinOutput &fo, const T &value)
 Output operator template for class FortranBinOutput ,The compiler will consider namespace tfxx::fortranio due to the involved FortranBinOutput object. There is another output operator template to write raw Blitz++ arrays. More...
 
template<typename T >
tfxx::fortranio::FortranBinInputoperator>> (tfxx::fortranio::FortranBinInput &fi, T &value)
 Input operator template for class FortranBinInput ,The compiler will consider namespace tfxx::fortranio due to the involved FortranBinInput object. There is another input operator template to read raw Blitz++ arrays. More...
 

Detailed Description

contains all FORTRAN file data input output functions ,

See also
TEST: Fortran I/O and byte swapping.
FORTRAN I/O functions