30 template<
class Coordinate,
class Value>
45 template<
class Coordinate,
class Value>
54 convertRead(units, tableCopy);
59 template<
class Coordinate,
class Value>
81 template<
class Coordinate,
class Value>
88 template<
class Coordinate,
class Value>
#define forAll(list, i)
Loop across all elements in list.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void convertRead(const Function1s::unitSets &units, List< Tuple2< Coordinate, Value >> &table) const
Do unit conversions on input data.
TableReader()
Default construct.
virtual ~TableReader()
Destructor.
List< Tuple2< Coordinate, Value > > convertWrite(const Function1s::unitSets &units, const List< Tuple2< Coordinate, Value >> &table) const
Do unit conversions in order to output data.
A 2-tuple for storing two objects of different types.
T & first()
Return the first element of the list.
T toUser(const T &) const
Convert a value to user units.
T toStandard(const T &) const
Convert a value to standard units.
const HashTable< dimensionSet > table
Table of dimensions.
labelList second(const UList< labelPair > &p)
labelList first(const UList< labelPair > &p)
Struct containing two unitSets for use in converting both the argument and the value of a Function1.
unitSet value
Unit conversion for result values.
unitSet x
Unit conversion for x-axis values.