|
MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <SetGet.h>
Inheritance diagram for LookupField< L, A >:
Collaboration diagram for LookupField< L, A >:Public Member Functions | |
| LookupField (const ObjId &dest) | |
Public Member Functions inherited from SetGet2< L, A > | |
| SetGet2 () | |
Public Member Functions inherited from SetGet | |
| virtual bool | checkOpClass (const OpFunc *op) const =0 |
| SetGet () | |
| virtual | ~SetGet () |
Static Public Member Functions | |
| static A | get (const ObjId &dest, const string &field, L index) |
| static void | getVec (Id dest, const string &field, vector< L > &index, vector< A > &vec) |
| static bool | innerStrGet (const ObjId &dest, const string &field, const string &indexStr, string &str) |
| static bool | innerStrSet (const ObjId &dest, const string &field, const string &indexStr, const string &val) |
| static bool | set (const ObjId &dest, const string &field, L index, A arg) |
| static bool | setRepeat (Id destId, const string &field, const vector< L > &index, A arg) |
| static bool | setVec (Id destId, const string &field, const vector< L > &index, const vector< A > &arg) |
| static bool | setVec (ObjId dest, const string &field, const vector< L > &index, const vector< A > &arg) |
Static Public Member Functions inherited from SetGet2< L, A > | |
| static bool | innerStrSet (const ObjId &dest, const string &field, const string &val) |
| static bool | set (const ObjId &dest, const string &field, Larg1, Aarg2) |
| static bool | setVec (Id destId, const string &field, const vector< L > &arg1, const vector< A > &arg2) |
Static Public Member Functions inherited from SetGet | |
| static const OpFunc * | checkSet (const string &field, ObjId &tgt, FuncId &fid) |
| static const vector< double * > * | dispatchGet (const ObjId &tgt, FuncId tgtFid, const double *arg, unsigned int size) |
| Sends out request for data, and awaits its return. More... | |
| static bool | strGet (const ObjId &tgt, const string &field, string &ret) |
| static bool | strSet (const ObjId &dest, const string &field, const string &val) |
LookupField handles fields that have an index arguments. Examples include arrays and maps. The first argument in the 'Set' is the index, the second the value. The first and only argument in the 'get' is the index. Here A is the type of the value, and L the lookup index.
|
inline |
|
inlinestatic |
Gets a value on a specific object, looking it up using the provided index.
Definition at line 532 of file SetGet.h.
References SetGet::checkSet(), ObjId::eref(), ObjId::isDataHere(), and LookupGetOpFuncBase< L, A >::returnOp().
Referenced by get_simple_lookupfield(), Neutral::getDt(), lookupVolumeFromMesh(), SteadyState::setStoich(), testGetMsg(), testLookupSetGet(), and testTable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Blocking call that returns a vector of values in vec. This variant goes through each target object entry on dest, and passes in the same lookup index to each one. The results are put together in the vector vec.
Definition at line 573 of file SetGet.h.
References SetGet::checkSet(), Id::element(), Id::path(), Element::resize(), and LookupGetOpFuncBase< L, A >::returnOp().
Here is the call graph for this function:
|
inlinestatic |
Blocking virtual call for finding a value and returning in a string.
Definition at line 602 of file SetGet.h.
References Conv< T >::str2val(), and Conv< T >::val2str().
Referenced by LookupElementValueFinfo< T, L, F >::strGet(), LookupValueFinfo< T, L, F >::strGet(), ReadOnlyLookupElementValueFinfo< T, L, F >::strGet(), and ReadOnlyLookupValueFinfo< T, L, F >::strGet().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Blocking call using string conversion
Definition at line 514 of file SetGet.h.
References LookupField< L, A >::set(), and Conv< T >::str2val().
Referenced by LookupElementValueFinfo< T, L, F >::strSet(), and LookupValueFinfo< T, L, F >::strSet().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Blocking, typed 'Set' call. Identical to SetGet2::set.
Definition at line 467 of file SetGet.h.
References SetGet2< A1, A2 >::set().
Referenced by Shell::doSetClock(), LookupField< L, A >::innerStrSet(), Neuron::scaleHeadDiffusion(), testClock(), and testLookupSetGet().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Faking setRepeat too. Just plugs into setVec.
Definition at line 504 of file SetGet.h.
References LookupField< L, A >::setVec().
Here is the call graph for this function:
|
inlinestatic |
This setVec assigns goes through each object entry in the destId, and assigns the corresponding index and argument to it.
Definition at line 479 of file SetGet.h.
References SetGet2< A1, A2 >::setVec().
Referenced by LookupField< L, A >::setRepeat().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
This setVec takes a specific object entry, presumably one with an array of values within it. The it goes through each specified index and assigns the corresponding argument. This is a brute-force assignment.
Definition at line 493 of file SetGet.h.
References SetGet2< A1, A2 >::setVec().
Here is the call graph for this function: