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

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

#include <function_objects.hpp>

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

List of all members.

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

Detailed Description

template<typename FunctionObject>
class ecl::NullaryFunctionCopy< FunctionObject, void >

Specialisation of NullaryFunctionCopy for void return types.

Specialises the NullaryFunctionCopy class for void return types.

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

Definition at line 894 of file function_objects.hpp.


Constructor & Destructor Documentation

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

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

Definition at line 905 of file function_objects.hpp.

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

Definition at line 908 of file function_objects.hpp.


Member Function Documentation

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


Member Data Documentation

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

Definition at line 918 of file function_objects.hpp.


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


ecl_utilities
Author(s): Daniel Stonier
autogenerated on Mon Jul 3 2017 02:21:39