|
QDP++
|
IO support. More...
#include <string>#include <iostream>#include <fstream>#include <sstream>#include "qdp_byteorder.h"#include <vector>#include <map>#include <list>#include <complex>Go to the source code of this file.
Classes | |
| class | QDP::TextReader |
| Text input class. More... | |
| class | QDP::TextBufferReader |
| Text buffer input class. More... | |
| class | QDP::TextFileReader |
| Text file input class. More... | |
| class | QDP::TextWriter |
| Text output base class. More... | |
| class | QDP::TextBufferWriter |
| Text buffer output class. More... | |
| class | QDP::TextFileWriter |
| Text output class. More... | |
| class | QDP::BinaryReader |
| Binary input base class. More... | |
| class | QDP::BinaryBufferReader |
| Binary buffer input class. More... | |
| class | QDP::BinaryFileReader |
| Binary file input class. More... | |
| class | QDP::BinaryWriter |
| Binary writer base class. More... | |
| class | QDP::BinaryBufferWriter |
| Binary buffer output class. More... | |
| class | QDP::BinaryFileWriter |
| Binary file output class. More... | |
| class | QDP::BinaryReaderWriter |
| Binary input/output base class. More... | |
| class | QDP::BinaryBufferReaderWriter |
| Binary buffer input/ouput class. More... | |
| class | QDP::BinaryFileReaderWriter |
| Binary file input/output class. More... | |
Namespaces | |
| namespace | QDP |
| Yet another random number generator. | |
Functions | |
| TextReader & | QDP::operator>> (TextReader &txt, std::string &input) |
| TextReader & | QDP::operator>> (TextReader &txt, char &input) |
| TextReader & | QDP::operator>> (TextReader &txt, int &input) |
| TextReader & | QDP::operator>> (TextReader &txt, unsigned int &input) |
| TextReader & | QDP::operator>> (TextReader &txt, short int &input) |
| TextReader & | QDP::operator>> (TextReader &txt, unsigned short int &input) |
| TextReader & | QDP::operator>> (TextReader &txt, long int &input) |
| TextReader & | QDP::operator>> (TextReader &txt, unsigned long int &input) |
| TextReader & | QDP::operator>> (TextReader &txt, long long int &input) |
| TextReader & | QDP::operator>> (TextReader &txt, float &input) |
| TextReader & | QDP::operator>> (TextReader &txt, double &input) |
| TextReader & | QDP::operator>> (TextReader &txt, bool &input) |
| TextWriter & | QDP::operator<< (TextWriter &txt, const std::string &output) |
| TextWriter & | QDP::operator<< (TextWriter &txt, const char *output) |
| TextWriter & | QDP::operator<< (TextWriter &txt, char output) |
| TextWriter & | QDP::operator<< (TextWriter &txt, int output) |
| TextWriter & | QDP::operator<< (TextWriter &txt, unsigned int output) |
| TextWriter & | QDP::operator<< (TextWriter &txt, short int output) |
| TextWriter & | QDP::operator<< (TextWriter &txt, unsigned short int output) |
| TextWriter & | QDP::operator<< (TextWriter &txt, long int output) |
| TextWriter & | QDP::operator<< (TextWriter &txt, unsigned long int output) |
| TextWriter & | QDP::operator<< (TextWriter &txt, long long int output) |
| TextWriter & | QDP::operator<< (TextWriter &txt, float output) |
| TextWriter & | QDP::operator<< (TextWriter &txt, double output) |
| TextWriter & | QDP::operator<< (TextWriter &txt, bool output) |
| void | QDP::readDesc (BinaryReader &bin, std::string &input) |
| void | QDP::read (BinaryReader &bin, std::string &input, size_t maxBytes) |
| void | QDP::read (BinaryReader &bin, char &input) |
| void | QDP::read (BinaryReader &bin, int &input) |
| void | QDP::read (BinaryReader &bin, unsigned int &input) |
| void | QDP::read (BinaryReader &bin, short int &input) |
| void | QDP::read (BinaryReader &bin, unsigned short int &input) |
| void | QDP::read (BinaryReader &bin, long int &input) |
| void | QDP::read (BinaryReader &bin, unsigned long int &input) |
| void | QDP::read (BinaryReader &bin, long long int &input) |
| void | QDP::read (BinaryReader &bin, float &input) |
| void | QDP::read (BinaryReader &bin, double &input) |
| void | QDP::read (BinaryReader &bin, bool &input) |
| BinaryReader & | QDP::operator>> (BinaryReader &bin, char &input) |
| BinaryReader & | QDP::operator>> (BinaryReader &bin, int &input) |
| BinaryReader & | QDP::operator>> (BinaryReader &bin, unsigned int &input) |
| BinaryReader & | QDP::operator>> (BinaryReader &bin, short int &input) |
| BinaryReader & | QDP::operator>> (BinaryReader &bin, unsigned short int &input) |
| BinaryReader & | QDP::operator>> (BinaryReader &bin, long int &input) |
| BinaryReader & | QDP::operator>> (BinaryReader &bin, unsigned long int &input) |
| BinaryReader & | QDP::operator>> (BinaryReader &bin, long long int &input) |
| BinaryReader & | QDP::operator>> (BinaryReader &bin, float &input) |
| BinaryReader & | QDP::operator>> (BinaryReader &bin, double &input) |
| BinaryReader & | QDP::operator>> (BinaryReader &bin, bool &input) |
| void | QDP::read (BinaryReader &bin, std::complex< float > ¶m) |
| Complex reader. | |
| void | QDP::read (BinaryReader &bin, std::complex< double > ¶m) |
| Complex reader. | |
| template<class T> | |
| void | QDP::read (BinaryReader &bin, multi1d< T > &d) |
| Read a binary multi1d object. | |
| template<class T> | |
| void | QDP::read (BinaryReader &bin, multi1d< T > &d, int num) |
| Read a binary multi1d object. | |
| template<class T> | |
| void | QDP::read (BinaryReader &bin, multi2d< T > &d, int num1, int num2) |
| Read a binary multi2d object. | |
| template<class T> | |
| void | QDP::read (BinaryReader &bin, multi2d< T > &d) |
| Read a binary multi2d element. | |
| template<class T> | |
| void | QDP::read (BinaryReader &bin, multi3d< T > &d) |
| Read a binary multi3d element. | |
| template<class T> | |
| void | QDP::read (BinaryReader &bin, multi4d< T > &d) |
| Read a binary multi4d element. | |
| template<class T> | |
| void | QDP::read (BinaryReader &bin, multi5d< T > &d) |
| Read a binary multi5d element. | |
| template<class T> | |
| void | QDP::read (BinaryReader &bin, multiNd< T > &d) |
| Read a binary multiNd element. | |
| template<class T> | |
| void | QDP::read (BinaryReader &bin, std::vector< T > &d) |
| Read a binary std::vector object. | |
| template<class T> | |
| void | QDP::read (BinaryReader &bin, std::list< T > &d) |
| Read a binary std::list object. | |
| template<class T> | |
| void | QDP::read (BinaryReader &bin, Array1dO< T > &d) |
| Read a binary Array1dO object. | |
| template<typename K, typename V> | |
| void | QDP::read (BinaryReader &bin, std::map< K, V > &d) |
| Read a binary std::map object. | |
| template<typename T1, typename T2> | |
| void | QDP::read (BinaryReader &bin, std::pair< T1, T2 > &d) |
| Read a binary std::pair object. | |
| void | QDP::writeDesc (BinaryWriter &bin, const std::string &output) |
| void | QDP::write (BinaryWriter &bin, const std::string &output) |
| void | QDP::write (BinaryWriter &bin, const char *output) |
| void | QDP::write (BinaryWriter &bin, char output) |
| void | QDP::write (BinaryWriter &bin, int output) |
| void | QDP::write (BinaryWriter &bin, unsigned int output) |
| void | QDP::write (BinaryWriter &bin, short int output) |
| void | QDP::write (BinaryWriter &bin, unsigned short int output) |
| void | QDP::write (BinaryWriter &bin, long int output) |
| void | QDP::write (BinaryWriter &bin, unsigned long int output) |
| void | QDP::write (BinaryWriter &bin, long long int output) |
| void | QDP::write (BinaryWriter &bin, float output) |
| void | QDP::write (BinaryWriter &bin, double output) |
| void | QDP::write (BinaryWriter &bin, bool output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, const std::string &output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, const char *output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, char output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, int output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, unsigned int output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, short int output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, unsigned short int output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, long int output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, unsigned long int output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, long long int output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, float output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, double output) |
| BinaryWriter & | QDP::operator<< (BinaryWriter &bin, bool output) |
| void | QDP::write (BinaryWriter &bin, const std::complex< float > ¶m) |
| Complex writer. | |
| void | QDP::write (BinaryWriter &bin, const std::complex< double > ¶m) |
| Complex writer. | |
| template<class T> | |
| void | QDP::write (BinaryWriter &bin, const multi1d< T > &d) |
| Write all of a binary multi1d object. | |
| template<class T> | |
| void | QDP::write (BinaryWriter &bin, const multi1d< T > &d, int num) |
| Write some or all of a binary multi1d object. | |
| template<class T> | |
| void | QDP::write (BinaryWriter &bin, const multi2d< T > &d) |
| Write a binary multi2d element. | |
| template<class T> | |
| void | QDP::write (BinaryWriter &bin, const multi3d< T > &d) |
| Write a binary multi3d element. | |
| template<class T> | |
| void | QDP::write (BinaryWriter &bin, const multi4d< T > &d) |
| Write a binary multi4d element. | |
| template<class T> | |
| void | QDP::write (BinaryWriter &bin, const multi5d< T > &d) |
| Write a binary multi5d element. | |
| template<class T> | |
| void | QDP::write (BinaryWriter &bin, const multiNd< T > &d) |
| Write a binary multiNd element. | |
| template<class T> | |
| void | QDP::write (BinaryWriter &bin, const std::vector< T > &d) |
| Write all of a binary std::vector object. | |
| template<class T> | |
| void | QDP::write (BinaryWriter &bin, const std::list< T > &d) |
| Write all of a binary std::list object. | |
| template<class T> | |
| void | QDP::write (BinaryWriter &bin, const Array1dO< T > &d) |
| Write all of a binary Array object. | |
| template<typename K, typename V> | |
| void | QDP::write (BinaryWriter &bin, const std::map< K, V > &d) |
| Write all of a binary std::map object. | |
| template<typename T1, typename T2> | |
| void | QDP::write (BinaryWriter &bin, const std::pair< T1, T2 > &d) |
| Write all of a binary std::pair object. | |
IO support.
Definition in file qdp_io.h.