40 { volumeType::type::UNKNOWN,
"unknown" },
41 { volumeType::type::INSIDE,
"inside" },
42 { volumeType::type::OUTSIDE,
"outside" },
43 { volumeType::type::MIXED,
"mixed" },
56 t_(names.getOrDefault(key,
dict, deflt))
83 os << static_cast<int>(vt.t_);
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
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 keyword definitions, which are a keyword followed by a number of values (eg,...
An enumeration wrapper for classification of a location as being inside/outside of a volume.
const word & str() const
The string representation of the volume type enumeration.
static const Enum< volumeType::type > names
Names for the classification enumeration.
volumeType()
Construct null as UNKNOWN state.
type
Volume classification types.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)