Public Member Functions | Private Attributes | List of all members
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

Public Member Functions

 NullaryFunctionCopy (const FunctionObject &f_o)
 NullaryFunction child constructor for nullary function objects. More...
void operator() ()
 This ensures any children objects are deleted correctly. More...
virtual ~NullaryFunctionCopy ()
- Public Member Functions inherited from ecl::NullaryFunction< void >
virtual ~NullaryFunction ()

Private Attributes

FunctionObject function_object

Additional Inherited Members

- Public Types inherited from ecl::NullaryFunction< void >
typedef void result_type
 The result type. More...

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

Definition at line 894 of file function_objects.hpp.

Constructor & Destructor Documentation

template<typename FunctionObject >
ecl::NullaryFunctionCopy< FunctionObject, void >::NullaryFunctionCopy ( const FunctionObject &  f_o)

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.

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

Definition at line 908 of file function_objects.hpp.

Member Function Documentation

template<typename FunctionObject >
void ecl::NullaryFunctionCopy< FunctionObject, void >::operator() ( )

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

Definition at line 918 of file function_objects.hpp.

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

Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:28