Template Class UnaryFunctionCopy< FunctionObject, T, void >

Inheritance Relationships

Base Type

Class Documentation

template<typename FunctionObject, typename T>
class UnaryFunctionCopy<FunctionObject, T, void> : public ecl::UnaryFunction<T, void>

Specialisation of UnaryFunctionCopy for void return types.

Specialises the UnaryFunctionCopy class for void return types.

See also

FunctionObjects.

Template Parameters:

FunctionObject – : type of the function object to be wrapped.

Public Functions

inline explicit UnaryFunctionCopy(const FunctionObject &f_o)

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).

Parameters:

f_o – : the function object to be assigned to the UnaryFunction child.

inline virtual ~UnaryFunctionCopy()
inline virtual void operator()(T t)

This ensures any children objects are deleted correctly.

The unary function object call.

Redirects the call to the composited unary function object call.