MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <LookupElementValueFinfo.h>
Public Member Functions | |
LookupElementValueFinfo (const string &name, const string &doc, void(T::*setFunc)(const Eref &, L, F), F(T::*getFunc)(const Eref &, L) 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 |
~LookupElementValueFinfo () | |
![]() | |
LookupValueFinfoBase (const string &name, const string &doc) | |
~LookupValueFinfoBase () | |
![]() | |
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 > | innerDest () const |
virtual vector< string > | innerSrc () const |
const string & | name () const |
virtual void | postCreationFunc (Id newId, Element *newElm) const |
virtual | ~Finfo () |
Private Attributes | |
DestFinfo * | get_ |
DestFinfo * | set_ |
Additional Inherited Members | |
![]() | |
static const Cinfo * | initCinfo () |
This class manages field access for fields that have an index, or other lookup handle. Here T is the parent class L is the lookup class F is the field class.
Definition at line 19 of file LookupElementValueFinfo.h.
|
inline |
Definition at line 22 of file LookupElementValueFinfo.h.
References LookupElementValueFinfo< T, L, F >::get_, and LookupElementValueFinfo< T, L, F >::set_.
|
inline |
Definition at line 27 of file LookupElementValueFinfo.h.
References LookupElementValueFinfo< T, L, F >::get_, Finfo::name(), and LookupElementValueFinfo< T, L, F >::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 49 of file LookupElementValueFinfo.h.
References LookupElementValueFinfo< T, L, F >::get_, Cinfo::registerFinfo(), and LookupElementValueFinfo< T, L, F >::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 70 of file LookupElementValueFinfo.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 62 of file LookupElementValueFinfo.h.
References LookupField< L, 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 LookupElementValueFinfo.h.
References LookupField< L, A >::innerStrSet(), and Eref::objId().
|
private |
Definition at line 76 of file LookupElementValueFinfo.h.
Referenced by LookupElementValueFinfo< T, L, F >::LookupElementValueFinfo(), LookupElementValueFinfo< T, L, F >::registerFinfo(), and LookupElementValueFinfo< T, L, F >::~LookupElementValueFinfo().
|
private |
Definition at line 75 of file LookupElementValueFinfo.h.
Referenced by LookupElementValueFinfo< T, L, F >::LookupElementValueFinfo(), LookupElementValueFinfo< T, L, F >::registerFinfo(), and LookupElementValueFinfo< T, L, F >::~LookupElementValueFinfo().