A wrapper for dictionary content, without operators that could affect inheritance patterns. More...
Public Member Functions | |
| dictionaryContent ()=default | |
| Default construct. More... | |
| dictionaryContent (const dictionaryContent &)=default | |
| Copy construct. More... | |
| dictionaryContent (dictionaryContent &&)=default | |
| Move construct. More... | |
| dictionaryContent (const dictionary &dict) | |
| Copy construct from dictionary. More... | |
| dictionaryContent (dictionary &&dict) | |
| Move construct from dictionary. More... | |
| virtual | ~dictionaryContent ()=default |
| Destructor. More... | |
| const dictionary & | dict () const noexcept |
| Read-access to the content. More... | |
| void | dict (const dictionary &dict) |
| Copy assign new content. More... | |
| void | dict (dictionary &&dict) |
| Move assign new content. More... | |
| void | operator= (const dictionaryContent &)=delete |
| No copy assignment. More... | |
| void | operator= (dictionaryContent &&)=delete |
| No move assignment. More... | |
Static Public Member Functions | |
| static dictionary | copyDict (const dictionary &input, const wordList &allow=wordList(), const wordList &deny=wordList()) |
| Copy construct a dictionary, filtered by simple allow/deny lists. More... | |
| static dictionary | copyDict (const dictionary &input, const wordRes &allow, const wordRes &deny=wordRes()) |
| Copy construct a dictionary, filtered by a combination of allow/deny lists. More... | |
A wrapper for dictionary content, without operators that could affect inheritance patterns.
Definition at line 44 of file dictionaryContent.H.
|
default |
Default construct.
|
default |
Copy construct.
|
default |
Move construct.
|
inlineexplicit |
Copy construct from dictionary.
Definition at line 75 of file dictionaryContent.H.
|
inlineexplicit |
Move construct from dictionary.
Definition at line 83 of file dictionaryContent.H.
|
virtualdefault |
Destructor.
|
static |
Copy construct a dictionary, filtered by simple allow/deny lists.
An empty 'allow' list accepts everything not in the 'deny' list.
Definition at line 71 of file dictionaryContent.C.
References Foam::copyFilteredDict(), UList< T >::empty(), UList< T >::found(), Foam::input(), and Foam::glTF::key().

|
static |
Copy construct a dictionary, filtered by a combination of allow/deny lists.
An empty 'allow' list accepts everything not in the 'deny' list. A literal match has higher priority over a regex match.
* input: ( abc apple wall wall1 wall2 ) * allow: ( abc def "wall.*" ) * deny: ( "[ab].*" wall ) * * result: (abc wall1 wall2) *
Definition at line 106 of file dictionaryContent.C.
References Foam::copyFilteredDict(), UList< T >::empty(), Foam::input(), Foam::glTF::key(), wordRes::match(), and wordRes::matched().

|
inlinenoexcept |
Read-access to the content.
Definition at line 142 of file dictionaryContent.H.
Referenced by dictionaryContent::dict(), codedFunctionObject::redirectFunctionObject(), codedFixedValueFvPatchField< Type >::redirectPatchField(), codedFixedValuePointPatchField< Type >::redirectPatchField(), and codedMixedFvPatchField< Type >::redirectPatchField().

|
inline |
Copy assign new content.
Definition at line 150 of file dictionaryContent.H.
References dictionaryContent::dict().

|
inline |
Move assign new content.
Definition at line 158 of file dictionaryContent.H.
References dictionaryContent::dict().

|
delete |
No copy assignment.
|
delete |
No move assignment.