OBIsomorphismMapper::Functor Class Reference

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
OBIsomorphismMapper::Functor Class Reference

`#include <openbabel/isomorphism.h>`

Inheritance diagram for OBIsomorphismMapper::Functor:
[legend]

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