Open Babel: OBIsomorphismMapper::Functor Class Reference

Public Member Functions

# OBIsomorphismMapper::Functor Class Reference

Functor base class to be used in combination with MapGeneric. More...

`#include <openbabel/isomorphism.h>`

Inherited by MapAllFunctor.

List of all members.

## Public Member Functions
virtual | ~Functor ()
virtual bool | operator() (Mapping &map)=0

## Detailed Description

Functor base class to be used in combination with MapGeneric.

See also:
  MapGeneric

Since:
  2.3

## Constructor & Destructor Documentation

virtual ~Functor | ( | ) | `[inline, virtual]`

## Member Function Documentation

virtual bool operator() | ( | Mapping & | map ) | `[pure virtual]`

This function is called every time an isomorphism is discovered. Returing true, will abort the mapping process. The map is passed as non-const reference and may be modified (e.g. swap).

See also:
  MapGeneric

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

- isomorphism.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines