$search

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 827 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 838 of file function_objects.hpp.

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

Definition at line 841 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 848 of file function_objects.hpp.


Member Data Documentation

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

Definition at line 851 of file function_objects.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


ecl_utilities
Author(s): Daniel Stonier (d.stonier@gmail.com)
autogenerated on Fri Mar 1 15:21:00 2013