Chemical Data Processing Library C++ API - Version 1.2.0
CIPDescriptor.hpp
Go to the documentation of this file.
1 /*
2  * CIPDescriptor.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_CIPDESCRIPTOR_HPP
30 #define CDPL_CHEM_CIPDESCRIPTOR_HPP
31 
32 
33 namespace CDPL
34 {
35 
36  namespace Chem
37  {
38 
44  namespace CIPDescriptor
45  {
46 
50  constexpr unsigned int UNDEF = 0;
51 
56  constexpr unsigned int NONE = 1;
57 
61  constexpr unsigned int NS = 2;
62 
66  constexpr unsigned int R = 3;
67 
71  constexpr unsigned int S = 4;
72 
76  constexpr unsigned int r = 5;
77 
81  constexpr unsigned int s = 6;
82 
86  constexpr unsigned int seqTrans = 7;
87 
91  constexpr unsigned int seqCis = 8;
92 
96  constexpr unsigned int E = 9;
97 
101  constexpr unsigned int Z = 10;
102 
106  constexpr unsigned int M = 11;
107 
111  constexpr unsigned int P = 12;
112 
116  constexpr unsigned int m = 13;
117 
121  constexpr unsigned int p = 14;
122  } // namespace CIPDescriptor
123  } // namespace Chem
124 } // namespace CDPL
125 
126 #endif // CDPL_CHEM_CIPDESCRIPTOR_HPP
constexpr unsigned int NONE
Specifies that the atom/bond is not a stereogenic center and thus cannot be assigned a configuration.
Definition: CIPDescriptor.hpp:56
constexpr unsigned int seqCis
Specifies that the stereocenter has seqCis configuration.
Definition: CIPDescriptor.hpp:91
constexpr unsigned int UNDEF
Specifies that the configuration of the stereocenter (if any) is completely undefined.
Definition: CIPDescriptor.hpp:50
constexpr unsigned int r
Specifies that the stereocenter has r configuration.
Definition: CIPDescriptor.hpp:76
constexpr unsigned int p
Specifies that the stereocenter has p configuration.
Definition: CIPDescriptor.hpp:121
constexpr unsigned int M
Specifies that the stereocenter has M configuration.
Definition: CIPDescriptor.hpp:106
constexpr unsigned int E
Specifies that the stereocenter has E configuration.
Definition: CIPDescriptor.hpp:96
constexpr unsigned int Z
Specifies that the stereocenter has Z configuration.
Definition: CIPDescriptor.hpp:101
constexpr unsigned int s
Specifies that the stereocenter has s configuration.
Definition: CIPDescriptor.hpp:81
constexpr unsigned int seqTrans
Specifies that the stereocenter has seqTrans configuration.
Definition: CIPDescriptor.hpp:86
constexpr unsigned int NS
Specifies that the atom/bond is a stereogenic center but has no specified configuration.
Definition: CIPDescriptor.hpp:61
constexpr unsigned int P
Specifies that the stereocenter has P configuration.
Definition: CIPDescriptor.hpp:111
constexpr unsigned int S
Specifies that the stereocenter has S configuration.
Definition: CIPDescriptor.hpp:71
constexpr unsigned int m
Specifies that the stereocenter has m configuration.
Definition: CIPDescriptor.hpp:116
constexpr unsigned int R
Specifies that the stereocenter has R configuration.
Definition: CIPDescriptor.hpp:66
The namespace of the Chemical Data Processing Library.