36 const word& physicalType,
42 physicalType_(physicalType),
70 physicalType_(p.physicalType_),
71 inGroups_(p.inGroups_)
91 if (physicalType_.size())
109 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.
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 size(const label)
Override size to be inconsistent with allocated storage.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
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.
bool inGroup(const word &) const
Test if in group.
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.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
label findIndex(const ListType &, typename ListType::const_reference, const label start=0)
Find first occurence of given element and return index,.
Ostream & operator<<(Ostream &, const ensightPart &)
void write(Ostream &) const
Write patchIdentifier as a dictionary.