Base class for template-invariant parts of Function1. More...
Public Member Functions | |
function1Base (const word &entryName, const objectRegistry *obrPtr=nullptr) | |
function1Base (const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr) | |
function1Base (const function1Base &rhs) | |
virtual | ~function1Base () |
const word & | name () const noexcept |
const objectRegistry * | whichDb () const noexcept |
void | resetDb (const objectRegistry *obrPtr=nullptr) noexcept |
void | resetDb (const objectRegistry &db) noexcept |
const objectRegistry & | obr () const |
bool | isTime () const noexcept |
const Time & | time () const |
template<class MeshType > | |
const MeshType & | mesh (const word ®ionName=word::null) const |
virtual void | userTimeToTime (const Time &t) |
![]() | |
constexpr | refCount () noexcept |
int | count () const noexcept |
bool | unique () const noexcept |
void | operator++ () noexcept |
void | operator++ (int) noexcept |
void | operator-- () noexcept |
void | operator-- (int) noexcept |
Protected Member Functions | |
void | operator= (const function1Base &)=delete |
Protected Attributes | |
const word | name_ |
const objectRegistry * | obrPtr_ |
Base class for template-invariant parts of Function1.
Definition at line 50 of file function1Base.H.
|
explicit |
Definition at line 44 of file function1Base.C.
function1Base | ( | const word & | entryName, |
const dictionary & | dict, | ||
const objectRegistry * | obrPtr = nullptr |
||
) |
Definition at line 56 of file function1Base.C.
|
explicit |
Definition at line 68 of file function1Base.C.
|
virtual |
Definition at line 79 of file function1Base.C.
|
protecteddelete |
|
inlinenoexcept |
Definition at line 109 of file function1Base.H.
References function1Base::name_.
|
inlinenoexcept |
Definition at line 115 of file function1Base.H.
References function1Base::obrPtr_.
Referenced by function1Base::mesh().
|
noexcept |
Definition at line 116 of file function1Base.C.
|
noexcept |
Definition at line 122 of file function1Base.C.
const Foam::objectRegistry & obr | ( | ) | const |
Definition at line 85 of file function1Base.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
noexcept |
Definition at line 110 of file function1Base.C.
const Foam::Time & time | ( | ) | const |
Definition at line 97 of file function1Base.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
inline |
Definition at line 140 of file function1Base.H.
References Foam::abort(), Foam::FatalError, FatalErrorInFunction, objectRegistry::lookupObject(), regionName, and function1Base::whichDb().
|
virtual |
Definition at line 128 of file function1Base.C.
|
protected |
Definition at line 65 of file function1Base.H.
Referenced by function1Base::name().
|
protected |
Definition at line 68 of file function1Base.H.
Referenced by function1Base::whichDb().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.