Specialisation of NullaryFunctionCopy for void return types. More...
#include <function_objects.hpp>
Public Member Functions | |
NullaryFunctionCopy (const FunctionObject &f_o) | |
NullaryFunction child constructor for nullary function objects. | |
void | operator() () |
This ensures any children objects are deleted correctly. | |
virtual | ~NullaryFunctionCopy () |
Private Attributes | |
FunctionObject | function_object |
Specialisation of NullaryFunctionCopy for void return types.
Specialises the NullaryFunctionCopy class for void return types.
FunctionObject | : type of the function object to be wrapped. |
Definition at line 894 of file function_objects.hpp.
ecl::NullaryFunctionCopy< FunctionObject, void >::NullaryFunctionCopy | ( | const FunctionObject & | f_o | ) | [inline, explicit] |
NullaryFunction child constructor for nullary function objects.
Creates a child of the NullaryFunction class by copying a nullary function object (one that is purely by definition).
f_o | : the function object to be assigned to the NullaryFunction child. |
Definition at line 905 of file function_objects.hpp.
virtual ecl::NullaryFunctionCopy< FunctionObject, void >::~NullaryFunctionCopy | ( | ) | [inline, virtual] |
Definition at line 908 of file function_objects.hpp.
void ecl::NullaryFunctionCopy< FunctionObject, void >::operator() | ( | ) | [inline, virtual] |
This ensures any children objects are deleted correctly.
The nullary function object call.
Redirects the call to the composited nullary function object call.
Implements ecl::NullaryFunction< void >.
Definition at line 915 of file function_objects.hpp.
FunctionObject ecl::NullaryFunctionCopy< FunctionObject, void >::function_object [private] |
Definition at line 918 of file function_objects.hpp.