6#ifndef QDP_SPECIALIZATIONS_H
7#define QDP_SPECIALIZATIONS_H
49void read(XMLReader& xml,
const std::string& s, multi1d<Integer>& d);
51void read(XMLReader& xml,
const std::string& s, multi1d<Real32>& d);
53void read(XMLReader& xml,
const std::string& s, multi1d<Real64>& d);
55void read(XMLReader& xml,
const std::string& s, multi1d<Boolean>& d);
58void read(XMLReader& xml,
const std::string& s, std::vector<Integer>& d);
60void read(XMLReader& xml,
const std::string& s, std::vector<Real32>& d);
62void read(XMLReader& xml,
const std::string& s, std::vector<Real64>& d);
64void read(XMLReader& xml,
const std::string& s, std::vector<Boolean>& d);
67void read(XMLReader& xml,
const std::string& s, std::list<Integer>& d);
69void read(XMLReader& xml,
const std::string& s, std::list<Real32>& d);
71void read(XMLReader& xml,
const std::string& s, std::list<Real64>& d);
73void read(XMLReader& xml,
const std::string& s, std::list<Boolean>& d);
77void write(XMLWriter& xml,
const std::string& s,
const multi1d<Integer>& d);
79void write(XMLWriter& xml,
const std::string& s,
const multi1d<Real32>& d);
81void write(XMLWriter& xml,
const std::string& s,
const multi1d<Real64>& d);
83void write(XMLWriter& xml,
const std::string& s,
const multi1d<Boolean>& d);
86void write(XMLWriter& xml,
const std::string& s,
const std::vector<Integer>& d);
88void write(XMLWriter& xml,
const std::string& s,
const std::vector<Real32>& d);
90void write(XMLWriter& xml,
const std::string& s,
const std::vector<Real64>& d);
92void write(XMLWriter& xml,
const std::string& s,
const std::vector<Boolean>& d);
95void write(XMLWriter& xml,
const std::string& s,
const std::list<Integer>& d);
97void write(XMLWriter& xml,
const std::string& s,
const std::list<Real32>& d);
99void write(XMLWriter& xml,
const std::string& s,
const std::list<Real64>& d);
101void write(XMLWriter& xml,
const std::string& s,
const std::list<Boolean>& d);
Outer grid Scalar class */.
Real32 word class - builtin machine word type over flow.
Real64 word class - wrapper over builtin double type.
OScalar< PScalar< PScalar< RScalar< LOGICAL > > > > Boolean
OScalar< PScalar< PScalar< RScalar< INTEGER32 > > > > Integer
PScalar< PScalar< RScalar< REAL32 > > > IntReal32
PScalar< PScalar< RScalar< INTEGER32 > > > IntInteger
PScalar< PScalar< RScalar< LOGICAL > > > IntBoolean
PScalar< PScalar< RScalar< REAL64 > > > IntReal64
void write(BinaryWriter &bin, const std::string &output)
void read(BinaryReader &bin, std::string &input, size_t maxBytes)
int toInt(const IScalar< T > &s)
QDP Int to int primitive in conversion routine.
double toDouble(const IScalar< T > &s)
QDP Double to double primitive in conversion routine.
bool toBool(const IScalar< T > &s)
QDP Boolean to bool primitive in conversion routine.
float toFloat(const IScalar< T > &s)
QDP Real to float primitive in conversion routine.
Yet another random number generator.
static Leaf_t make(const OScalar< IntBoolean > &a)
OScalar< IntBoolean > Leaf_t
static Leaf_t make(const OScalar< IntInteger > &a)
OScalar< IntInteger > Leaf_t
OScalar< IntReal32 > Leaf_t
static Leaf_t make(const OScalar< IntReal32 > &a)
OScalar< IntReal64 > Leaf_t
static Leaf_t make(const OScalar< IntReal64 > &a)
static Leaf_t make(const Inp_t &a)
static Leaf_t make(const Inp_t &a)
static Leaf_t make(const Inp_t &a)
static Leaf_t make(const Inp_t &a)
Construct simple word type used at some level within primitives.
Makes a lattice scalar leaving primitive indices alone.
Makes a primitive scalar leaving grid alone.
Construct simple word type used at some level within primitives.
Construct simple word type. Default behavior is empty.