Open Babel  3.0
tautomer.h
Go to the documentation of this file.
1 /**********************************************************************
2 tautomer.h - Tautomer support
3 
4  Copyright (C) 2011 by Tim Vandermeersch
5 
6 This file is part of the Open Babel project.
7 For more information, see <http://openbabel.org/>
8 
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation version 2 of the License.
12 
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17 ***********************************************************************/
18 
19 #include <openbabel/babelconfig.h>
20 #ifndef OBAPI
21  #define OBAPI
22 #endif
23 
24 namespace OpenBabel {
25 
26  class OBMol;
27 
70  class OBAPI TautomerFunctor
71  {
72  public:
73  virtual ~TautomerFunctor() {}
77  virtual void operator()(OBMol *mol) = 0;
78  };
79 
92  void OBAPI EnumerateTautomers(OBMol *mol, TautomerFunctor &functor);
93 
103  void OBAPI CanonicalTautomer(OBMol *mol);
104 
105 }
106 
Molecule Class.
Definition: mol.h:118
void EnumerateTautomers(OBMol *mol, TautomerFunctor &functor)
Definition: tautomer.cpp:658
void CanonicalTautomer(OBMol *mol)
Definition: tautomer.cpp:664
Definition: tautomer.h:70
virtual ~TautomerFunctor()
Definition: tautomer.h:73
Global namespace for all Open Babel code.
Definition: alias.h:22