A wrapper for dictionary content, without operators that could affect inheritance patterns. More...
#include <dictionaryContent.H>
Public Member Functions | |
| dictionaryContent ()=default | |
| Default construct. | |
| dictionaryContent (const dictionaryContent &)=default | |
| Copy construct. | |
| dictionaryContent (dictionaryContent &&)=default | |
| Move construct. | |
| dictionaryContent (const dictionary &dict) | |
| Copy construct from dictionary. | |
| dictionaryContent (dictionary &&dict) | |
| Move construct from dictionary. | |
| virtual | ~dictionaryContent ()=default |
| Destructor. | |
| const dictionary & | dict () const noexcept |
| Read-access to the content. | |
| void | dict (const dictionary &dict) |
| Copy assign new content. | |
| void | dict (dictionary &&dict) |
| Move assign new content. | |
| void | operator= (const dictionaryContent &)=delete |
| No copy assignment. | |
| void | operator= (dictionaryContent &&)=delete |
| No move assignment. | |
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. | |
| 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. | |
A wrapper for dictionary content, without operators that could affect inheritance patterns.
Definition at line 44 of file dictionaryContent.H.
|
default |
Default construct.
Referenced by dictionaryContent(), dictionaryContent(), operator=(), and operator=().

|
default |
|
default |
|
inlineexplicit |
Copy construct from dictionary.
Definition at line 75 of file dictionaryContent.H.
References dict().

|
inlineexplicit |
Move construct from dictionary.
Definition at line 83 of file dictionaryContent.H.
References dict().

|
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 70 of file dictionaryContent.C.
References Foam::copyFilteredDict(), dictionary, UList< T >::empty(), and UList< T >::found().

|
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 105 of file dictionaryContent.C.
References Foam::copyFilteredDict(), dictionary, UList< T >::empty(), wordRe::LITERAL, wordRes::match(), wordRes::matched(), and wordRe::REGEX.

|
inlinenoexcept |
Read-access to the content.
Definition at line 142 of file dictionaryContent.H.
References Foam::noexcept.
Referenced by dict(), dict(), dictionaryContent(), and dictionaryContent().

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

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

|
delete |
|
delete |