Class for demand-driven dictionary entries. More...
Public Member Functions | |
demandDrivenEntry (const dictionary &dict, const Type &value) | |
demandDrivenEntry (const dictionary &dict, const word &keyword) | |
demandDrivenEntry (const dictionary &dict, const word &keyword, const Type &defaultValue, const bool readIfPresent=true) | |
demandDrivenEntry (const demandDrivenEntry &dde) | |
void | initialise () const |
const Type & | value () const |
void | setValue (const Type &value) |
void | reset () |
Class for demand-driven dictionary entries.
Holds a reference to a dictionary, which is then queried if the value is requested and has not already been cached
Definition at line 51 of file demandDrivenEntry.H.
demandDrivenEntry | ( | const dictionary & | dict, |
const Type & | value | ||
) |
Definition at line 27 of file demandDrivenEntry.C.
demandDrivenEntry | ( | const dictionary & | dict, |
const word & | keyword | ||
) |
Definition at line 41 of file demandDrivenEntry.C.
demandDrivenEntry | ( | const dictionary & | dict, |
const word & | keyword, | ||
const Type & | defaultValue, | ||
const bool | readIfPresent = true |
||
) |
Definition at line 55 of file demandDrivenEntry.C.
demandDrivenEntry | ( | const demandDrivenEntry< Type > & | dde | ) |
Definition at line 75 of file demandDrivenEntry.C.
|
inline |
Definition at line 26 of file demandDrivenEntryI.H.
|
inline |
Definition at line 37 of file demandDrivenEntryI.H.
|
inline |
Definition at line 46 of file demandDrivenEntryI.H.
|
inline |
Definition at line 55 of file demandDrivenEntryI.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.