Templated function that returns the corresponding 1 (one).
virtual ~OneConstant()
Destructor.
virtual void write(Ostream &os, const unitConversions &units) const
Write in dictionary format.
OneConstant(const word &name)
Construct from name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
word name(const bool)
Return a word representation of a bool.
const HashTable< unitConversion > & units()
Get the table of unit conversions.