MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <LookupValueFinfo.h>
Public Member Functions | |
LookupValueFinfo (const string &name, const string &doc, void(T::*setFunc)(L, F), F(T::*getFunc)(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 |
~LookupValueFinfo () | |
Public Member Functions inherited from LookupValueFinfoBase | |
LookupValueFinfoBase (const string &name, const string &doc) | |
~LookupValueFinfoBase () | |
Public Member Functions inherited from Finfo | |
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 Public Member Functions inherited from Finfo | |
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 34 of file LookupValueFinfo.h.
|
inline |
Definition at line 37 of file LookupValueFinfo.h.
References LookupValueFinfo< T, L, F >::get_, and LookupValueFinfo< T, L, F >::set_.
|
inline |
Definition at line 42 of file LookupValueFinfo.h.
References LookupValueFinfo< T, L, F >::get_, Finfo::name(), and LookupValueFinfo< 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 64 of file LookupValueFinfo.h.
References LookupValueFinfo< T, L, F >::get_, Cinfo::registerFinfo(), and LookupValueFinfo< 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 85 of file LookupValueFinfo.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 77 of file LookupValueFinfo.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 69 of file LookupValueFinfo.h.
References LookupField< L, A >::innerStrSet(), and Eref::objId().
|
private |
Definition at line 91 of file LookupValueFinfo.h.
Referenced by LookupValueFinfo< T, L, F >::LookupValueFinfo(), LookupValueFinfo< T, L, F >::registerFinfo(), and LookupValueFinfo< T, L, F >::~LookupValueFinfo().
|
private |
Definition at line 90 of file LookupValueFinfo.h.
Referenced by LookupValueFinfo< T, L, F >::LookupValueFinfo(), LookupValueFinfo< T, L, F >::registerFinfo(), and LookupValueFinfo< T, L, F >::~LookupValueFinfo().