ra4_draw  4bd0201e3d922d42bd545d4b045ed44db33454a4
Typedefs | Functions
anonymous_namespace{baby.cpp} Namespace Reference

Typedefs

using ScalarType = NamedFunc::ScalarType
 
using VectorType = NamedFunc::VectorType
 
using ScalarFunc = NamedFunc::ScalarFunc
 
using VectorFunc = NamedFunc::VectorFunc
 

Functions

template<typename T >
NamedFunc GetFunction (T, const string &name)
 Get dummy NamedFunc in case of substitution failure. More...
 
template<typename T >
NamedFunc GetFunction (T const &(Baby::*baby_func)() const, const string &name)
 Get NamedFunc for a function returning a scalar. More...
 
template<typename T >
NamedFunc GetFunction (vector< T > *const &(Baby::*baby_func)() const, const string &name)
 Get NamedFunc for a function returning a vector. More...
 

Typedef Documentation

using anonymous_namespace{baby.cpp}::ScalarFunc = typedef NamedFunc::ScalarFunc

Definition at line 33 of file baby.cpp.

using anonymous_namespace{baby.cpp}::ScalarType = typedef NamedFunc::ScalarType

Definition at line 31 of file baby.cpp.

using anonymous_namespace{baby.cpp}::VectorFunc = typedef NamedFunc::VectorFunc

Definition at line 34 of file baby.cpp.

using anonymous_namespace{baby.cpp}::VectorType = typedef NamedFunc::VectorType

Definition at line 32 of file baby.cpp.

Function Documentation

template<typename T >
NamedFunc anonymous_namespace{baby.cpp}::GetFunction ( ,
const string &  name 
)

Get dummy NamedFunc in case of substitution failure.

Parameters
[in]nameName of function/variable
Returns
Dummy NamedFunc that always returns 0

Definition at line 43 of file baby.cpp.

References DBG.

template<typename T >
NamedFunc anonymous_namespace{baby.cpp}::GetFunction ( T const &(Baby::*)() const  baby_func,
const string &  name 
)

Get NamedFunc for a function returning a scalar.

Parameters
[in]baby_funcMember function pointer to variable accessor
[in]nameName of function/variable
Returns
NamedFunc that returns appropriate scalar

Definition at line 58 of file baby.cpp.

template<typename T >
NamedFunc anonymous_namespace{baby.cpp}::GetFunction ( vector< T > *const &(Baby::*)() const  baby_func,
const string &  name 
)

Get NamedFunc for a function returning a vector.

Parameters
[in]baby_funcMember function pointer to variable accessor
[in]nameName of function/variable
Returns
NamedFunc that returns appropriate vectorr

Definition at line 75 of file baby.cpp.

Referenced by Baby::GetFunction().