basecode/SetGet.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SetGet
class  SetGet0
class  SetGet1< A >
class  Field< A >
class  SetGet2< A1, A2 >
class  LookupField< L, A >
class  SetGet3< A1, A2, A3 >
class  SetGet4< A1, A2, A3, A4 >
class  SetGet5< A1, A2, A3, A4, A5 >
class  SetGet6< A1, A2, A3, A4, A5, A6 >

Functions

template<class T , class A >
localGet (const Eref &er, string field)

Function Documentation

template<class T , class A >
A localGet ( const Eref er,
string  field 
) [inline]

Similar to Field< A >::fastGet(), except that an existing Msg is not needed.

Instant-return call for a single value. Bypasses all the queueing stuff. It is hardcoded so type safety will have to be coded in too: the dynamic_cast will catch it only at runtime.

Perhaps analogous localSet(), localLookupGet(), localGetVec(), etc. should also be added.

Also, will be nice to change this to Field< A >::localGet() to make things more uniform.

References Element::cinfo(), Eref::element(), Cinfo::findFinfo(), DestFinfo::getOpFunc(), and GetOpFunc< T, A >::op().

Here is the call graph for this function:


Generated on 1 Jul 2015 for MOOSE by  doxygen 1.6.1