Public Member Functions | Private Attributes
ecl::UnaryFunctionCopy< FunctionObject, T, void > Class Template Reference

Specialisation of UnaryFunctionCopy for void return types. More...

#include <function_objects.hpp>

Inheritance diagram for ecl::UnaryFunctionCopy< FunctionObject, T, void >:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

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

Specialisation of UnaryFunctionCopy for void return types.

Specialises the UnaryFunctionCopy class for void return types.

Template Parameters:
FunctionObject: type of the function object to be wrapped.
See also:
FunctionObjects.

Definition at line 993 of file function_objects.hpp.


Constructor & Destructor Documentation

template<typename FunctionObject , typename T >
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).

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

Definition at line 1004 of file function_objects.hpp.

template<typename FunctionObject , typename T >
virtual ecl::UnaryFunctionCopy< FunctionObject, T, void >::~UnaryFunctionCopy ( ) [inline, virtual]

Definition at line 1007 of file function_objects.hpp.


Member Function Documentation

template<typename FunctionObject , typename T >
void ecl::UnaryFunctionCopy< FunctionObject, T, void >::operator() ( 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 1014 of file function_objects.hpp.


Member Data Documentation

template<typename FunctionObject , typename T >
FunctionObject ecl::UnaryFunctionCopy< FunctionObject, T, void >::function_object [private]

Definition at line 1017 of file function_objects.hpp.


The documentation for this class was generated from the following file:


ecl_utilities
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Thu Jan 2 2014 11:12:21