- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# IFunctor0< ReturnType > Class Template Reference
[Utility Classes.]

A functor with no arguments. More...

`#include <FUFunctor.h>`

Inheritance diagram for IFunctor0< ReturnType >:

List of all members.

## Public Member Functions
virtual | ~IFunctor0 ()
| Destructor.
virtual ReturnType | operator() () const =0
| Calls the functor.
virtual bool | Compare (void *object, void *function) const =0
| Checks whether this functor points towards the given member function.
virtual IFunctor0< ReturnType > * | Copy () const =0
| Returns a copy of this functor.

## Detailed Description

### template<class ReturnType>
class IFunctor0< ReturnType >

A functor with no arguments.

## Member Function Documentation

template<class ReturnType>
virtual bool IFunctor0< ReturnType >::Compare | ( | void * | object,
|  | void * | function
| ) | const`[pure 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. Implemented in FUFunctor0< Class, ReturnType >.

template<class ReturnType>
virtual ReturnType IFunctor0< ReturnType >::operator() | ( |  | ) | const`[pure virtual]`

| Calls the functor. Returns: Implementation-dependant. Implemented in FUFunctor0< Class, ReturnType >, and FUStaticFunctor0< ReturnType >.

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

- FUtils/FUFunctor.h