#include <SetGet.h>
Public Member Functions | |
Field () | |
Static Public Member Functions | |
static bool | set (const ObjId &dest, const string &field, A arg) |
static bool | setVec (ObjId destId, const string &field, const vector< A > &arg) |
static bool | setRepeat (ObjId destId, const string &field, A arg) |
static bool | innerStrSet (const ObjId &dest, const string &field, const string &arg) |
static A | get (const ObjId &dest, const string &field) |
static void | getVec (ObjId dest, const string &field, vector< A > &vec) |
static bool | innerStrGet (const ObjId &dest, const string &field, string &str) |
static A Field< A >::get | ( | const ObjId & | dest, | |
const string & | field | |||
) | [inline, static] |
References SetGet::checkSet(), ObjId::eref(), ObjId::isDataHere(), GetOpFuncBase< A >::makeHopFunc(), MooseGetHop, OpFunc1Base< A >::op(), OpFunc::opIndex(), and GetOpFuncBase< A >::returnOp().
Referenced by checkOutput(), estimateDefaultVol(), estimateSimTimes(), fillSegIndex(), makeCompt(), makeReacTest(), printGrid(), storeCplxEnzMsgs(), storeMMenzMsgs(), testBuildStoich(), testCinfoElements(), testCopy(), testCopyFieldElement(), testCopyMsgOps(), testGet(), testGetMsg(), testMove(), testObjIdToAndFromPath(), testPoolVolumeScaling(), testReacVolumeScaling(), testReMesh(), testSendSpike(), testSetGet(), testSetGetDouble(), testSetGetExtField(), testSetGetSynapse(), testShellAddMsg(), testShellSetGet(), testSparseMsg(), testStats(), testTreeTraversal(), testVolScaling(), writeEnz(), writeGroup(), writeKkit(), writePool(), and writeReac().
static void Field< A >::getVec | ( | ObjId | dest, | |
const string & | field, | |||
vector< A > & | vec | |||
) | [inline, static] |
Returns a vector of values
References SetGet::checkSet(), ObjId::eref(), GetOpFuncBase< A >::makeHopFunc(), MooseGetVecHop, GetHopFunc< A >::opGetVec(), OpFunc::opIndex(), and ObjId::path().
Referenced by benchmarkMsg(), testCopyFieldElement(), testMpiFibonacci(), testSetGetVec(), testSetRepeat(), testShellAddMsg(), and testShellSetGet().
static bool Field< A >::innerStrGet | ( | const ObjId & | dest, | |
const string & | field, | |||
string & | str | |||
) | [inline, static] |
Blocking call for finding a value and returning in a string.
static bool Field< A >::innerStrSet | ( | const ObjId & | dest, | |
const string & | field, | |||
const string & | arg | |||
) | [inline, static] |
Blocking call using string conversion
Reimplemented from SetGet1< A >.
static bool Field< A >::set | ( | const ObjId & | dest, | |
const string & | field, | |||
A | arg | |||
) | [inline, static] |
Blocking, typed 'Set' call
Reimplemented from SetGet1< A >.
Referenced by benchmarkMsg(), makeCompt(), makeReacTest(), setMethod(), testBuildStoich(), testChildren(), testClock(), testCopyFieldElement(), testMMenzProcess(), testMpiFibonacci(), testObjIdToAndFromPath(), testPoolVolumeScaling(), testReacVolumeScaling(), testReMesh(), testRunGsolve(), testRunKsolve(), testSendSpike(), testSetGet(), testSetGetDouble(), testSetGetExtField(), testStats(), testSyncSynapseSize(), testTreeTraversal(), testVolScaling(), and testWildcard().
static bool Field< A >::setRepeat | ( | ObjId | destId, | |
const string & | field, | |||
A | arg | |||
) | [inline, static] |
Referenced by testCopyFieldElement(), and testSetRepeat().
static bool Field< A >::setVec | ( | ObjId | destId, | |
const string & | field, | |||
const vector< A > & | arg | |||
) | [inline, static] |
setVec assigns all the entries in the target Id to the specified vector of values. If the target is a FieldElement it assigns the entries on the specific DataIndex provided in the ObjId argument. The vector is used as a circular buffer: if the number of targets exceeds the vector size, it rolls over.
Reimplemented from SetGet1< A >.
Referenced by testCopyFieldElement(), testSetGetExtField(), testSetGetSynapse(), testSetGetVec(), testSetRepeat(), testSparseMsg(), and testSyncSynapseSize().