|
QDP++
|
IO support via QIO. More...
#include "qio.h"#include <sstream>#include "qdp_defs.h"#include "qdp_traits.h"#include <cstring>Go to the source code of this file.
Namespaces | |
| namespace | QDP |
| Yet another random number generator. | |
Enumerations | |
| enum | QDP::QDP_serialparallel_t { QDP::QDPIO_SERIAL , QDP::QDPIO_PARALLEL } |
| File access mode. More... | |
| enum | QDP::QDP_volfmt_t { QDP::QDPIO_SINGLEFILE , QDP::QDPIO_MULTIFILE , QDP::QDPIO_PARTFILE } |
| File format. More... | |
| enum | QDP::QDP_filemode_t { QDP::QDPIO_CREATE , QDP::QDPIO_OPEN , QDP::QDPIO_APPEND } |
| File open mode. More... | |
| enum | QDP::QDP_iostate_t { QDP::QDPIO_goodbit = 0x0000 , QDP::QDPIO_eofbit = 0x0001 , QDP::QDPIO_failbit = 0x0010 , QDP::QDPIO_badbit = 0x0100 } |
| QDPIO state. More... | |
Functions | |
| template<class T> | |
| void | QDP::read (QDPFileReader &qsw, XMLReader &rec_xml, OScalar< T > &s1) |
| Reads an OScalar object. | |
| template<class T> | |
| void | QDP::read (QDPFileReader &qsw, XMLReader &rec_xml, OLattice< T > &s1) |
| Reads an array of OLattice objects. | |
| template<class T> | |
| void | QDP::read (QDPFileReader &qsw, XMLReader &rec_xml, multi1d< OScalar< T > > &s1) |
| Reads an array of OScalar object. | |
| template<class T> | |
| void | QDP::read (QDPFileReader &qsw, XMLReader &rec_xml, multi1d< OLattice< T > > &s1) |
| Reads an array of OLattice objects. | |
| void | QDP::read (QDPFileReader &qsw, XMLReader &rec_xml, BinaryBufferReader &s1) |
| Reads a BinaryBufferReader object. | |
| void | QDP::close (QDPFileReader &qsw) |
| Close a QDPFileReader. | |
| bool | QDP::is_open (QDPFileReader &qsw) |
| Is a QDPFileReader open. | |
| template<class T> | |
| void | QDP::write (QDPFileWriter &qsw, XMLBufferWriter &rec_xml, const OScalar< T > &s1) |
| Writes an OScalar object. | |
| template<class T> | |
| void | QDP::write (QDPFileWriter &qsw, XMLBufferWriter &rec_xml, const OLattice< T > &s1) |
| Writes an OLattice object. | |
| template<class T> | |
| void | QDP::write (QDPFileWriter &qsw, XMLBufferWriter &rec_xml, const OLattice< T > &s1, const multi1d< int > &lower_left, const multi1d< int > &upper_right) |
| Writes a hypercube part of an OLattice object. | |
| template<class T> | |
| void | QDP::write (QDPFileWriter &qsw, XMLBufferWriter &rec_xml, const multi1d< OScalar< T > > &s1) |
| Writes an array of OScalar objects. | |
| template<class T> | |
| void | QDP::write (QDPFileWriter &qsw, XMLBufferWriter &rec_xml, const multi1d< OLattice< T > > &s1) |
| Writes an array of OLattice objects. | |
| template<class T> | |
| void | QDP::write (QDPFileWriter &qsw, XMLBufferWriter &rec_xml, const multi1d< OLattice< T > > &s1, const multi1d< int > &lower_left, const multi1d< int > &upper_right) |
| Writes an array of OLattice objects. | |
| void | QDP::write (QDPFileWriter &qsw, XMLBufferWriter &rec_xml, BinaryBufferWriter &s1) |
| Writes a XML plus BinaryBufferWriter pair. | |
| void | QDP::close (QDPFileWriter &qsw) |
| Closes a QDPFileWriter. | |
| bool | QDP::is_open (QDPFileWriter &qsw) |
| Queries whether a QDPFileWriter is open. | |
| template<class T> | |
| void | QDP::QDPOScalarFactoryPut (char *buf, size_t linear, int count, void *arg) |
| Function for moving data. | |
| template<class T> | |
| void | QDP::QDPOScalarFactoryGet (char *buf, size_t linear, int count, void *arg) |
| Function for moving data. | |
| template<class T> | |
| void | QDP::QDPOLatticeFactoryPut (char *buf, size_t linear, int count, void *arg) |
| Writes a BinaryBufferWriter object. | |
| template<class T> | |
| void | QDP::QDPOLatticeFactoryPutArray (char *buf, size_t linear, int count, void *arg) |
| Function for moving array data. | |
| template<class T> | |
| void | QDP::QDPOLatticeFactoryGet (char *buf, size_t linear, int count, void *arg) |
| Function for moving data. | |
| template<class T> | |
| void | QDP::QDPOLatticeFactoryGetArray (char *buf, size_t linear, int count, void *arg) |
| Function for moving array data. | |
IO support via QIO.
Definition in file qdp_qdpio.h.