Go to the documentation of this file.
35 #ifndef functionObjects_fieldInfo_H
36 #define functionObjects_fieldInfo_H
46 namespace functionObjects
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,...
const wordRe & name() const
fieldInfo(const wordRe &name, const label component=-1)
Helper class to store a wordRe and label used by Foam::functionObjects::fieldSelection.
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 &)
const dimensionedScalar b
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)
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)