Public Member Functions | Static Public Member Functions | List of all members
dictionaryContent Class Reference

A wrapper for dictionary content, without operators that could affect inheritance patterns. More...

Public Member Functions

 dictionaryContent ()=default
 
 dictionaryContent (const dictionaryContent &)=default
 
 dictionaryContent (dictionaryContent &&)=default
 
 dictionaryContent (const dictionary &dict)
 
 dictionaryContent (dictionary &&dict)
 
virtual ~dictionaryContent ()=default
 
const dictionarydict () const noexcept
 
void dict (const dictionary &dict)
 
void dict (dictionary &&dict)
 
void operator= (const dictionaryContent &)=delete
 
void operator= (dictionaryContent &&)=delete
 

Static Public Member Functions

static dictionary copyDict (const dictionary &input, const wordList &allow=wordList(), const wordList &deny=wordList())
 
static dictionary copyDict (const dictionary &input, const wordRes &allow, const wordRes &deny=wordRes())
 

Detailed Description

A wrapper for dictionary content, without operators that could affect inheritance patterns.

Definition at line 43 of file dictionaryContent.H.

Constructor & Destructor Documentation

◆ dictionaryContent() [1/5]

dictionaryContent ( )
default

◆ dictionaryContent() [2/5]

dictionaryContent ( const dictionaryContent )
default

◆ dictionaryContent() [3/5]

◆ dictionaryContent() [4/5]

dictionaryContent ( const dictionary dict)
inlineexplicit

Definition at line 64 of file dictionaryContent.H.

◆ dictionaryContent() [5/5]

dictionaryContent ( dictionary &&  dict)
inlineexplicit

Definition at line 70 of file dictionaryContent.H.

◆ ~dictionaryContent()

virtual ~dictionaryContent ( )
virtualdefault

Member Function Documentation

◆ copyDict() [1/2]

Foam::dictionary copyDict ( const dictionary input,
const wordList allow = wordList(),
const wordList deny = wordList() 
)
static

Definition at line 71 of file dictionaryContent.C.

References Foam::copyFilteredDict(), Foam::input(), and Foam::glTF::key().

Here is the call graph for this function:

◆ copyDict() [2/2]

Foam::dictionary copyDict ( const dictionary input,
const wordRes allow,
const wordRes deny = wordRes() 
)
static

Definition at line 106 of file dictionaryContent.C.

References Foam::copyFilteredDict(), Foam::input(), Foam::glTF::key(), wordRes::match(), and wordRes::matched().

Here is the call graph for this function:

◆ dict() [1/3]

const dictionary& dict ( ) const
inlinenoexcept

◆ dict() [2/3]

void dict ( const dictionary dict)
inline

Definition at line 125 of file dictionaryContent.H.

References dictionaryContent::dict().

Here is the call graph for this function:

◆ dict() [3/3]

void dict ( dictionary &&  dict)
inline

Definition at line 131 of file dictionaryContent.H.

References dictionaryContent::dict().

Here is the call graph for this function:

◆ operator=() [1/2]

void operator= ( const dictionaryContent )
delete

◆ operator=() [2/2]

void operator= ( dictionaryContent &&  )
delete

The documentation for this class was generated from the following files: