36 const word& physicalType,
42 physicalType_(physicalType),
70 physicalType_(
p.physicalType_),
71 inGroups_(
p.inGroups_)
91 if (physicalType_.size())
107 os.
check(
"Ostream& operator<<(Ostream&, const patchIdentifier&)");
Various functions to operate on Lists.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
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 any number of values (e....
Identifies patch by name, patch index and physical type.
void write(Ostream &) const
Write patchIdentifier as a dictionary.
bool inGroup(const word &) const
Test if in group.
virtual ~patchIdentifier()
Destructor.
patchIdentifier(const word &name, const label index, const word &physicalType=word::null, const wordList &inGroups=wordList())
Construct from components.
wordList inGroups_
Optional groups patch belongs to.
word physicalType_
Optional physical type.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const bool)
Return a word representation of a bool.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
label findIndex(const ListType &, typename ListType::const_reference, const label start=0)
Find first occurrence of given element and return index,.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)