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