Go to the documentation of this file.
64 const word& geometricType
69 geometricType_(geometricType)
99 if (!geometricType_.empty())
108 bool Foam::operator==
110 const geometricSurfacePatch& a,
111 const geometricSurfacePatch&
b
117 && (a.geometricType() ==
b.geometricType())
122 bool Foam::operator!=
124 const geometricSurfacePatch& a,
125 const geometricSurfacePatch&
b
154 os.
writeQuoted(obj.geometricType(), obj.geometricType().empty());
A class for handling words, derived from Foam::string.
Identifies a surface patch/zone by name and index, with geometric type.
virtual Ostream & writeQuoted(const std::string &str, const bool quoted=true)
const word & name() const
static word validate(const std::string &s, const bool prefix=false)
Istream & operator>>(Istream &, directionInfo &)
A token holds an item read from Istream.
Identifies a surface patch/zone by name and index, with optional geometric type.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
virtual const fileName & name() const
const dimensionedScalar b
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual bool check(const char *operation) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
void write(Ostream &os) const
const word & geometricType() const
Ostream & writeEntry(const keyType &key, const T &value)
word name(const expressions::valueTypeCode typeCode)
const word & name() const
const word & geometricType() const noexcept
const word & name() const noexcept
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const