Field< A > Class Template Reference

#include <SetGet.h>

Inheritance diagram for Field< A >:
Inheritance graph
[legend]
Collaboration diagram for Field< A >:
Collaboration graph
[legend]

List of all members.

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)

template<class A>
class Field< A >


Constructor & Destructor Documentation

template<class A>
Field< A >::Field (  )  [inline]

Member Function Documentation

template<class A>
static A Field< A >::get ( const ObjId dest,
const string &  field 
) [inline, static]
template<class A>
static void Field< A >::getVec ( ObjId  dest,
const string &  field,
vector< A > &  vec 
) [inline, static]
template<class A>
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.

template<class A>
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 >.

template<class A>
static bool Field< A >::set ( const ObjId dest,
const string &  field,
arg 
) [inline, static]
template<class A>
static bool Field< A >::setRepeat ( ObjId  destId,
const string &  field,
arg 
) [inline, static]
template<class A>
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().


The documentation for this class was generated from the following file:

Generated on 1 Jul 2015 for MOOSE by  doxygen 1.6.1