$search
Specialisation of the binary function object for void unary member functions. More...
#include <function_objects.hpp>
Public Member Functions | |
void | operator() (C &class_object, A a) |
This ensures any children objects are deleted correctly. | |
UnaryMemberFunction (void(C::*function)(A)) | |
Binary function object constructor for unary member functions. | |
virtual | ~UnaryMemberFunction () |
Private Attributes | |
void(C::* | member_function )(A) |
Specialisation of the binary function object for void unary member functions.
Specialises the binary member function object for void member functions.
C | : the member function's class type. | |
A | : the member function's argument type. |
Definition at line 522 of file function_objects.hpp.
ecl::UnaryMemberFunction< C, A, void >::UnaryMemberFunction | ( | void(C::*)(A) | function | ) | [inline] |
Binary function object constructor for unary member functions.
Accepts a unary member function, and builds the function object around it.
function | : a unary member function. |
Definition at line 532 of file function_objects.hpp.
virtual ecl::UnaryMemberFunction< C, A, void >::~UnaryMemberFunction | ( | ) | [inline, virtual] |
Definition at line 533 of file function_objects.hpp.
void ecl::UnaryMemberFunction< C, A, void >::operator() | ( | C & | class_object, | |
A | a | |||
) | [inline, virtual] |
This ensures any children objects are deleted correctly.
A binary function object call. Uses the specified class instance and argument to redirect the function call to the unary member function.
class_object | : the member function's class instance. | |
a | : the member function's argument value. |
Implements ecl::BinaryFunction< C &, A, void >.
Definition at line 544 of file function_objects.hpp.
void(C::* ecl::UnaryMemberFunction< C, A, void >::member_function)(A) [private] |
Definition at line 548 of file function_objects.hpp.