Go to the documentation of this file.
35 #ifndef functionObjects_fieldInfo_H
36 #define functionObjects_fieldInfo_H
46 namespace functionObjects
52 Ostream&
operator<<(Ostream&,
const fieldInfo&);
127 && a.component_ ==
b.component_
128 && a.found_ ==
b.found_;
141 is >> fi.name_ >> fi.component_ >> fi.found_;
146 os << fi.name_ <<
' ' << fi.component_ <<
' ' << fi.found_;
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
~fieldInfo()=default
Destructor.
const wordRe & name() const
fieldInfo(const wordRe &name, const label component=-1)
Construct from components.
Helper class to store a wordRe and label used by Foam::functionObjects::fieldSelection.
fieldInfo(Istream &is)
Construct from stream.
Ostream & operator<<(Ostream &, const fieldInfo &)
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
Istream & operator>>(Istream &, fieldInfo &)
fieldInfo()
Default construct.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
friend bool operator!=(const fieldInfo &a, const fieldInfo &b)
OBJstream os(runTime.globalPath()/outputName)
friend Ostream & operator<<(Ostream &os, const fieldInfo &fi)
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
friend bool operator==(const fieldInfo &a, const fieldInfo &b)
friend Istream & operator>>(Istream &is, fieldInfo &fi)