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

A pseudo-functor with one arguments, specialized for static functions. More...

#include <FUFunctor.h>

Inheritance diagram for FUStaticFunctor1< Arg1, ReturnType >:

IFunctor1< Arg1, ReturnType > List of all members.

Public Member Functions

 FUStaticFunctor1 (ReturnType(*function)(Arg1))
 Constructor.
virtual ~FUStaticFunctor1 ()
 Destructor.
virtual ReturnType operator() (Arg1 argument1) const
 Calls the functor.
virtual bool Compare (void *UNUSED(object), void *function) const
 Checks whether this pseudo-functor points towards the given function.
virtual IFunctor1< Arg1, ReturnType > * Copy () const
 Returns a copy of this functor.

Detailed Description

template<class Arg1, class ReturnType>
class FUStaticFunctor1< Arg1, ReturnType >

A pseudo-functor with one arguments, specialized for static functions.


Constructor & Destructor Documentation

template<class Arg1, class ReturnType>
FUStaticFunctor1< Arg1, ReturnType >::FUStaticFunctor1 ReturnType(*)(Arg1)  function  )  [inline]
 

Constructor.

Parameters:
function A static function.


Member Function Documentation

template<class Arg1, class ReturnType>
virtual bool FUStaticFunctor1< Arg1, ReturnType >::Compare void *  UNUSED(object),
void *  function
const [inline, virtual]
 

Checks whether this pseudo-functor points towards the given function.

Parameters:
UNUSED Unused.
function The static function.
Returns:
Whether this pseudo-functor points towards the given function.

template<class Arg1, class ReturnType>
virtual ReturnType FUStaticFunctor1< Arg1, ReturnType >::operator() Arg1  argument1  )  const [inline, virtual]
 

Calls the functor.

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

Implements IFunctor1< Arg1, ReturnType >.


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