36 const word& physicalType,
42 physicalType_(physicalType),
107 os.
check(
"Ostream& operator<<(Ostream&, const patchIdentifier&)");
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 physicalType_
Optional physical type.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Identifies patch by name, patch index and physical type.
bool inGroup(const word &) const
Test if in group.
void size(const label)
Override size to be inconsistent with allocated storage.
wordList inGroups_
Optional groups patch belongs to.
patchIdentifier(const word &name, const label index, const word &physicalType=word::null, const wordList &inGroups=wordList())
Construct from components.
Various functions to operate on Lists.
A class for handling words, derived from string.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual ~patchIdentifier()
Destructor.
label findIndex(const ListType &, typename ListType::const_reference, const label start=0)
Find first occurrence of given element and return index,.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
void write(Ostream &) const
Write patchIdentifier as a dictionary.
Ostream & operator<<(Ostream &, const ensightPart &)