Chemical Data Processing Library C++ API - Version 1.2.0
AtomMatchConstraint.hpp
Go to the documentation of this file.
1 /*
2  * AtomMatchConstraint.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_CHEM_ATOMMATCHCONSTRAINT_HPP
30 #define CDPL_CHEM_ATOMMATCHCONSTRAINT_HPP
31 
32 
33 namespace CDPL
34 {
35 
36  namespace Chem
37  {
38 
42  namespace AtomMatchConstraint
43  {
44 
49  constexpr unsigned int CONSTRAINT_LIST = 0;
50 
54  constexpr unsigned int TYPE = 1;
55 
59  constexpr unsigned int ENVIRONMENT = 2;
60 
64  constexpr unsigned int ISOTOPE = 3;
65 
69  constexpr unsigned int CHARGE = 4;
70 
74  constexpr unsigned int RING_BOND_COUNT = 5;
75 
79  constexpr unsigned int H_COUNT = 6;
80 
84  constexpr unsigned int IMPLICIT_H_COUNT = 7;
85 
89  constexpr unsigned int EXPLICIT_H_COUNT = 8;
90 
94  constexpr unsigned int BOND_COUNT = 9;
95 
99  constexpr unsigned int EXPLICIT_BOND_COUNT = 10;
100 
104  constexpr unsigned int HEAVY_BOND_COUNT = 11;
105 
109  constexpr unsigned int VALENCE = 12;
110 
114  constexpr unsigned int EXPLICIT_VALENCE = 13;
115 
119  constexpr unsigned int AROMATICITY = 14;
120 
124  constexpr unsigned int RING_TOPOLOGY = 15;
125 
129  constexpr unsigned int CONFIGURATION = 16;
130 
134  constexpr unsigned int UNSATURATION = 17;
135 
139  constexpr unsigned int SSSR_RING_COUNT = 18;
140 
144  constexpr unsigned int SSSR_RING_SIZE = 19;
145 
149  constexpr unsigned int HYBRIDIZATION_STATE = 20;
150  } // namespace AtomMatchConstraint
151  } // namespace Chem
152 } // namespace CDPL
153 
154 #endif // CDPL_CHEM_ATOMMATCHCONSTRAINT_HPP
constexpr unsigned int AROMATICITY
Specifies a constraint on the aromaticity of the target atom.
Definition: AtomMatchConstraint.hpp:119
constexpr unsigned int EXPLICIT_H_COUNT
Specifies a constraint on the explicit hydrogen count of the target atom.
Definition: AtomMatchConstraint.hpp:89
constexpr unsigned int BOND_COUNT
Specifies a constraint on the total bond count of the target atom.
Definition: AtomMatchConstraint.hpp:94
constexpr unsigned int H_COUNT
Specifies a constraint on the total hydrogen count of the target atom.
Definition: AtomMatchConstraint.hpp:79
constexpr unsigned int ENVIRONMENT
Specifies a constraint on the structural environment of the target atom.
Definition: AtomMatchConstraint.hpp:59
constexpr unsigned int SSSR_RING_SIZE
Specifies a constraint on the size of the rings (from the SSSR) the target atom is a member of.
Definition: AtomMatchConstraint.hpp:144
constexpr unsigned int CONFIGURATION
Specifies a constraint on the steric configuration of the target atom.
Definition: AtomMatchConstraint.hpp:129
constexpr unsigned int VALENCE
Specifies a constraint on the valence of the target atom.
Definition: AtomMatchConstraint.hpp:109
constexpr unsigned int RING_TOPOLOGY
Specifies a constraint on the ring-membership of the target atom.
Definition: AtomMatchConstraint.hpp:124
constexpr unsigned int HYBRIDIZATION_STATE
Specifies a constraint on the hybridization state of the target atom.
Definition: AtomMatchConstraint.hpp:149
constexpr unsigned int CONSTRAINT_LIST
Specifies a constraint which requires the target atom to fulfill additional constraints specified by ...
Definition: AtomMatchConstraint.hpp:49
constexpr unsigned int HEAVY_BOND_COUNT
Specifies a constraint on the heavy bond count of the target atom.
Definition: AtomMatchConstraint.hpp:104
constexpr unsigned int ISOTOPE
Specifies a constraint on the isotopic mass of the target atom.
Definition: AtomMatchConstraint.hpp:64
constexpr unsigned int EXPLICIT_BOND_COUNT
Specifies a constraint on the explicit bond count of the target atom.
Definition: AtomMatchConstraint.hpp:99
constexpr unsigned int SSSR_RING_COUNT
Specifies a constraint on the number of rings (from the SSSR) the target atom is a member of.
Definition: AtomMatchConstraint.hpp:139
constexpr unsigned int UNSATURATION
Specifies a constraint on the (non-)membership of the target atom in a double or triple bond.
Definition: AtomMatchConstraint.hpp:134
constexpr unsigned int CHARGE
Specifies a constraint on the fromal charge of the target atom.
Definition: AtomMatchConstraint.hpp:69
constexpr unsigned int TYPE
Specifies a constraint on the type of the target atom.
Definition: AtomMatchConstraint.hpp:54
constexpr unsigned int RING_BOND_COUNT
Specifies a constraint on the ring bond count of the target atom.
Definition: AtomMatchConstraint.hpp:74
constexpr unsigned int IMPLICIT_H_COUNT
Specifies a constraint on the implicit hydrogen count of the target atom.
Definition: AtomMatchConstraint.hpp:84
constexpr unsigned int EXPLICIT_VALENCE
Specifies a constraint on the explicit valence of the target atom.
Definition: AtomMatchConstraint.hpp:114
The namespace of the Chemical Data Processing Library.