41#ifndef Foam_zoneIdentifier_H
42#define Foam_zoneIdentifier_H
163 return (!
name.empty() && inGroups_.contains(
name));
171 inGroups_.push_back(
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 a number of values (eg,...
A class for handling words, derived from Foam::string.
word & name() noexcept
Modifiable zone name.
const word & physicalType() const noexcept
The (optional) type of the zone.
zoneIdentifier()
Default construct: name="", index=0.
zoneIdentifier(const zoneIdentifier &)=default
Copy construct.
bool inGroup(const word &name) const
True if given name is in a group.
label & index() noexcept
Modifiable index of this zone in the zone list.
const wordList & inGroups() const noexcept
The (optional) groups that the zone belongs to.
label index() const noexcept
The index of this zone in the zone list.
word & physicalType() noexcept
Modifiable (optional) type of the zone.
wordList & inGroups() noexcept
Modifiable (optional) groups that the zone belongs to.
const word & name() const noexcept
The zone name.
zoneIdentifier(zoneIdentifier &&)=default
Move construct.
virtual ~zoneIdentifier()=default
Destructor.
zoneIdentifier & operator=(const zoneIdentifier &)=default
Copy assignment.
void removeGroup(const word &name)
Remove group for the zone.
zoneIdentifier & operator=(zoneIdentifier &&)=default
Move assignment.
void addGroup(const word &name)
Add (unique) group for the zone.
OBJstream os(runTime.globalPath()/outputName)
List< word > wordList
List of word.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.