Class for wrapping bound functions and function objects as an object. More...
#include <uhal/XmlParser.hpp>
Public Member Functions | |
FunctionObject (T &aT) | |
Constructor. More... | |
R | operator() (const pugi::xml_node &aNode) |
Functor which converts an XML node to an object of template type R. More... | |
Public Member Functions inherited from uhal::BaseFunctionObject< R > | |
BaseFunctionObject () | |
Default constructor. More... | |
virtual | ~BaseFunctionObject () |
Destructor. More... | |
Private Attributes | |
T | mT |
The function object or bound function which will be called when the object is evaluated (bracket operator) More... | |
Class for wrapping bound functions and function objects as an object.
Definition at line 92 of file XmlParser.hpp.
uhal::FunctionObject< R, T >::FunctionObject | ( | T & | aT | ) |
Constructor.
aT | a reference to a bound object or function object which will be evaluated when the object is evaluated (bracket operator) |
Definition at line 59 of file XmlParser.hxx.
|
virtual |
Functor which converts an XML node to an object of template type R.
aNode | an XML node for converting to an object |
Implements uhal::BaseFunctionObject< R >.
Definition at line 66 of file XmlParser.hxx.
|
private |
The function object or bound function which will be called when the object is evaluated (bracket operator)
Definition at line 112 of file XmlParser.hpp.
Referenced by uhal::FunctionObject< R, T * >::operator()().