MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <ElementValueFinfo.h>
Public Member Functions | |
ElementValueFinfo (const string &name, const string &doc, void(T::*setFunc)(const Eref &, F), F(T::*getFunc)(const Eref &) const ) | |
void | registerFinfo (Cinfo *c) |
string | rttiType () const |
bool | strGet (const Eref &tgt, const string &field, string &returnValue) const |
bool | strSet (const Eref &tgt, const string &field, const string &arg) const |
~ElementValueFinfo () | |
![]() | |
DestFinfo * | getFinfo () const |
vector< string > | innerDest () const |
ValueFinfoBase (const string &name, const string &doc) | |
~ValueFinfoBase () | |
![]() | |
virtual bool | addMsg (const Finfo *target, ObjId mid, Element *src) const |
virtual bool | checkTarget (const Finfo *target) const |
const string & | docs () const |
Returns documentation string. More... | |
Finfo (const string &name, const string &doc) | |
virtual vector< string > | innerSrc () const |
const string & | name () const |
virtual void | postCreationFunc (Id newId, Element *newElm) const |
virtual | ~Finfo () |
Additional Inherited Members | |
![]() | |
static const Cinfo * | initCinfo () |
![]() | |
DestFinfo * | get_ |
DestFinfo * | set_ |
This variant of ValueFinfo provides facilities to set and get values of fields that require information about the managing Element
Definition at line 18 of file ElementValueFinfo.h.
|
inline |
Definition at line 21 of file ElementValueFinfo.h.
References ValueFinfoBase::get_, and ValueFinfoBase::set_.
|
inline |
Definition at line 26 of file ElementValueFinfo.h.
References ValueFinfoBase::get_, Finfo::name(), and ValueFinfoBase::set_.
|
inlinevirtual |
Returns string-ified form to handle template expectations for name field string getName() const; Assign function Ids, bindIndex and so on.
Implements Finfo.
Definition at line 48 of file ElementValueFinfo.h.
References ValueFinfoBase::get_, Cinfo::registerFinfo(), and ValueFinfoBase::set_.
|
inlinevirtual |
Returns the documentation string for the Finfo string docs() const; Returns the RTTI type string for the finfo by referring to an internal virtual function. string type() const; Returns the list of subsidiary SrcFinfos. Used in Shared Finfos, empty otherwise. Goes via internal virtual function. vector< string > src() const; Returns the list of subsidiary destFinfos. Used in SharedFinfos and ValueFinfos, empty otherwise. Goes via internal virtual function. vector< string > dest() const; Returns an RTTI type string for this Finfo.
Reimplemented from Finfo.
Definition at line 65 of file ElementValueFinfo.h.
References Conv< T >::rttiType().
|
inlinevirtual |
Function to return value of field into a string argument. Returns true on success. Normally called only from SetGet::strGet.
Implements Finfo.
Definition at line 59 of file ElementValueFinfo.h.
References Field< A >::innerStrGet(), and Eref::objId().
|
inlinevirtual |
Function to set this field using a string argument. Returns true on success. Normally called only from SetGet::strSet.
Implements Finfo.
Definition at line 54 of file ElementValueFinfo.h.
References Field< A >::innerStrSet(), and Eref::objId().