104 value_ = cnst.value_;
Templated function that returns a constant value.
Constant(const word &name, const Type &val)
Construct from name and value.
void operator=(const Constant< Type > &)
Copy assignment.
virtual void write(Ostream &os, const unitSets &units) const
Write in dictionary format.
virtual ~Constant()
Destructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling words, derived from string.
void writeEntry(Ostream &os, const omega &a)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
Type readAndConvert(Istream &, const unitSet &)
Read a type which supports unit conversion.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
const typeUnitsType< Type >::type & typeUnits(const unitSet &)
Struct containing two unitSets for use in converting both the argument and the value of a Function1.
unitSet value
Unit conversion for result values.