FUFunctor2< Class, Arg1, Arg2, ReturnType > Class Template Reference
[Utility Classes.]

A functor with two arguments. More...

#include <FUFunctor.h>

Inheritance diagram for FUFunctor2< Class, Arg1, Arg2, ReturnType >:

IFunctor2< Arg1, Arg2, ReturnType > List of all members.

Public Member Functions

 FUFunctor2 (Class *object, ReturnType(Class::*function)(Arg1, Arg2))
 Constructor.
virtual ~FUFunctor2 ()
 Destructor.
virtual ReturnType operator() (Arg1 argument1, Arg2 argument2) const
 Calls the functor.
virtual bool Compare (void *object, void *function) const
 Checks whether this functor points towards the given member function.
virtual IFunctor2< Arg1, Arg2,
ReturnType > * 
Copy () const
 Returns a copy of this functor.

Detailed Description

template<class Class, class Arg1, class Arg2, class ReturnType>
class FUFunctor2< Class, Arg1, Arg2, ReturnType >

A functor with two arguments.


Constructor & Destructor Documentation

template<class Class, class Arg1, class Arg2, class ReturnType>
FUFunctor2< Class, Arg1, Arg2, ReturnType >::FUFunctor2 Class *  object,
ReturnType(Class::*)(Arg1, Arg2)  function
[inline]
 

Constructor.

Parameters:
object An object.
function A member function of this object.


Member Function Documentation

template<class Class, class Arg1, class Arg2, class ReturnType>
virtual bool FUFunctor2< Class, Arg1, Arg2, ReturnType >::Compare void *  object,
void *  function
const [inline, virtual]
 

Checks whether this functor points towards the given member function.

Parameters:
object The object which holds the member function.
function The member function.
Returns:
Whether this functor points towards the given member function.

Implements IFunctor2< Arg1, Arg2, ReturnType >.

template<class Class, class Arg1, class Arg2, class ReturnType>
virtual ReturnType FUFunctor2< Class, Arg1, Arg2, ReturnType >::operator() Arg1  argument1,
Arg2  argument2
const [inline, virtual]
 

Calls the functor.

Parameters:
argument1 A first argument.
argument2 A second argument.
Returns:
Implementation-dependant.

Implements IFunctor2< Arg1, Arg2, ReturnType >.


The documentation for this class was generated from the following file:
Generated on Thu Feb 14 16:58:40 2008 for FCollada by  doxygen 1.4.6-NO