Chemical Data Processing Library C++ API - Version 1.1.1
MMFF94BondTyper.hpp
Go to the documentation of this file.
1 /*
2  * MMFF94BondTyper.hpp
3  *
4  * This file is part of the Chemical Data Processing Toolkit
5  *
6  * Copyright (C) 2003 Thomas Seidel <thomas.seidel@univie.ac.at>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library 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 GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; see the file COPYING. If not, write to
20  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23 
29 #ifndef CDPL_FORCEFIELD_MMFF94BONDTYPER_HPP
30 #define CDPL_FORCEFIELD_MMFF94BONDTYPER_HPP
31 
35 #include "CDPL/Util/Array.hpp"
36 
37 
38 namespace CDPL
39 {
40 
41  namespace Chem
42  {
43 
44  class MolecularGraph;
45  }
46 
47  namespace ForceField
48  {
49 
51  {
52 
53  public:
55 
56  MMFF94BondTyper(const Chem::MolecularGraph& molgraph, Util::UIArray& types, bool strict);
57 
59 
61 
63 
78  void perceiveTypes(const Chem::MolecularGraph& molgraph, Util::UIArray& types, bool strict);
79 
80  private:
82 
84  MMFF94RingSetFunction aromRingSetFunc;
85  MMFF94NumericAtomTypeFunction atomTypeFunc;
86  };
87  } // namespace ForceField
88 } // namespace CDPL
89 
90 #endif // CDPL_FORCEFIELD_MMFF94BONDTYPER_HPP
APIPrefix.hpp
Definition of the preprocessor macro CDPL_FORCEFIELD_API.
CDPL::ForceField::MMFF94BondTyper::setAtomTypePropertyTable
void setAtomTypePropertyTable(const MMFF94AtomTypePropertyTable::SharedPointer &table)
CDPL::ForceField::MMFF94BondTyper::MMFF94BondTyper
MMFF94BondTyper()
CDPL::ForceField::MMFF94AtomTypePropertyTable::SharedPointer
std::shared_ptr< MMFF94AtomTypePropertyTable > SharedPointer
Definition: MMFF94AtomTypePropertyTable.hpp:59
CDPL::Chem::MolecularGraph
MolecularGraph.
Definition: MolecularGraph.hpp:52
Array.hpp
Definition of the class CDPL::Util::Array.
CDPL::ForceField::MMFF94BondTyper::MMFF94BondTyper
MMFF94BondTyper(const Chem::MolecularGraph &molgraph, Util::UIArray &types, bool strict)
CDPL::ForceField::MMFF94NumericAtomTypeFunction
std::function< unsigned int(const Chem::Atom &)> MMFF94NumericAtomTypeFunction
A generic wrapper class used to store a user-defined numeric MMFF94 atom type function.
Definition: MMFF94PropertyFunctions.hpp:56
CDPL::ForceField::MMFF94BondTyper::setAtomTypeFunction
void setAtomTypeFunction(const MMFF94NumericAtomTypeFunction &func)
CDPL::ForceField::MMFF94BondTyper::setAromaticRingSetFunction
void setAromaticRingSetFunction(const MMFF94RingSetFunction &func)
CDPL
The namespace of the Chemical Data Processing Library.
MMFF94AtomTypePropertyTable.hpp
Definition of the class CDPL::ForceField::MMFF94AtomTypePropertyTable.
CDPL_FORCEFIELD_API
#define CDPL_FORCEFIELD_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
CDPL::Util::UIArray
Array< unsigned int > UIArray
An array of unsigned integers.
Definition: Array.hpp:562
CDPL::ForceField::MMFF94RingSetFunction
std::function< const Chem::FragmentList::SharedPointer &(const Chem::MolecularGraph &)> MMFF94RingSetFunction
A generic wrapper class used to store a user-defined MMFF94 ring set function.
Definition: MMFF94PropertyFunctions.hpp:76
CDPL::ForceField::MMFF94BondTyper
Definition: MMFF94BondTyper.hpp:51
CDPL::ForceField::MMFF94AtomTypePropertyTable::Entry
Definition: MMFF94AtomTypePropertyTable.hpp:62
MMFF94PropertyFunctions.hpp
Type definition of generic wrapper classes for storing user-defined functions for the retrieval of MM...
CDPL::ForceField::MMFF94BondTyper::perceiveTypes
void perceiveTypes(const Chem::MolecularGraph &molgraph, Util::UIArray &types, bool strict)
Determines MMFF94 bond type indicies for the bonds of a molecular graph.