File SBDDataGraphNodeGetter.hpp#
FileList > DataGraph > SBDDataGraphNodeGetter.hpp
#include "SBCFunctor.hpp"
Classes#
Type | Name |
---|---|
class | SBDDataGraphNodeGetter <typename Output> This class describes a getter functor of a data graph node. |
Macros#
Type | Name |
---|---|
define | SBNodeGetter The short name of SBDDataGraphNodeGetter . |
define | SB_NODE_GETTER_0 (EXPORT, OUTPUT, NAME) A macro that defines a description of a node getter. |
define | SB_NODE_GETTER_IMPLEMENTATION_0 (CLASS, OUTPUT, NAME, GETTER) A macro that defines an implementation of a node getter. |
Macro Definition Documentation#
define SBNodeGetter#
The short name of SBDDataGraphNodeGetter .
define SB_NODE_GETTER_0#
A macro that defines a description of a node getter.
Parameters:
EXPORT
E.g., SB_EXPORTOUTPUT
The output typeNAME
The node getter's name
This should go into a header of the class to which this getter belongs.
Example:
define SB_NODE_GETTER_IMPLEMENTATION_0#
A macro that defines an implementation of a node getter.
Parameters:
CLASS
The class to which this getter belongsOUTPUT
The output typeNAME
The node getter's nameGETTER
The node getter's function
Example:
SB_NODE_GETTER_IMPLEMENTATION_0(MyClass, std::string, GetStringRepresentation, static_cast<MyClass const*>(node)->getStringRepresentation());