This class describes a functor. More...
Constructors and destructors | |
SBCFunctor () | |
Constructs a functor. | |
virtual | ~SBCFunctor () |
Destructs the functor. | |
Cloning | |
virtual SBCFunctor * | clone () const |
This class describes a functor. A functor is an object of a class that acts as a function.
For example, the only purpose of the following class is to compute the distance between two atoms:
The class SBCFunctor is the base class of all functor classes:
Functors are used in several places. In particular, predicates are functors that return a boolean and which may be logically combined.
Short name: SBFunctor