RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1//
2// Copyright 2001-2021 Greg Landrum and other RDKit contributors
3//
4// @@ All Rights Reserved @@
5// This file is part of the RDKit.
6// The contents are covered by the terms of the BSD license
7// which is included in the file license.txt, found at the root
8// of the RDKit source tree.
9//
10
11#include <RDGeneral/export.h>
12#ifndef RD_TYPES_H
13#define RD_TYPES_H
14
15#ifdef WIN32
16#ifndef _USE_MATH_DEFINES
17#define _USE_MATH_DEFINES
18#define _DEFINED_USE_MATH_DEFINES
19#endif
20#endif
21#include <cmath>
22#ifdef _DEFINED_USE_MATH_DEFINES
23#undef _DEFINED_USE_MATH_DEFINES
24#undef _USE_MATH_DEFINES
25#endif
26
27#include "Invariant.h"
28#include "Dict.h"
29
30#include <vector>
31#include <deque>
32#include <map>
33#include <set>
34#include <string>
35#include <algorithm>
36#include <numeric>
37#include <list>
38#include <limits>
39
40#include <cstring>
41#include <any>
43#include <boost/lexical_cast.hpp>
45
46namespace RDKit {
47
48namespace detail {
49// used in various places for computed properties
50RDKIT_RDGENERAL_EXPORT extern const std::string computedPropName;
51} // namespace detail
52
53namespace common_properties {
54///////////////////////////////////////////////////////////////
55// Molecule Props
56RDKIT_RDGENERAL_EXPORT extern const std::string _Name; // string
57RDKIT_RDGENERAL_EXPORT extern const std::string MolFileInfo; // string
58RDKIT_RDGENERAL_EXPORT extern const std::string MolFileComments; // string
59RDKIT_RDGENERAL_EXPORT extern const std::string
60 _2DConf; // int (combine into dimension?)
61RDKIT_RDGENERAL_EXPORT extern const std::string _3DConf; // int
62RDKIT_RDGENERAL_EXPORT extern const std::string
63 _doIsoSmiles; // int (should probably be removed)
64RDKIT_RDGENERAL_EXPORT extern const std::string extraRings; // vec<vec<int> >
65RDKIT_RDGENERAL_EXPORT extern const std::string
66 _smilesAtomOutputOrder; // vec<int> computed
67RDKIT_RDGENERAL_EXPORT extern const std::string
68 _smilesBondOutputOrder; // vec<int> computed
69RDKIT_RDGENERAL_EXPORT extern const std::string _StereochemDone; // int
70RDKIT_RDGENERAL_EXPORT extern const std::string _NeedsQueryScan; // int (bool)
71RDKIT_RDGENERAL_EXPORT extern const std::string _fragSMARTS; // std::string
72RDKIT_RDGENERAL_EXPORT extern const std::string
73 maxAttachIdx; // int TemplEnumTools.cpp
74RDKIT_RDGENERAL_EXPORT extern const std::string
75 ringMembership; //? unused (molopstest.cpp)
76
77// Computed Values
78// ConnectivityDescriptors
79RDKIT_RDGENERAL_EXPORT extern const std::string
80 _connectivityHKDeltas; // std::vector<double> computed
81RDKIT_RDGENERAL_EXPORT extern const std::string
82 _connectivityNVals; // std::vector<double> computed
83
84RDKIT_RDGENERAL_EXPORT extern const std::string
85 _crippenLogP; // double computed
86RDKIT_RDGENERAL_EXPORT extern const std::string
87 _crippenLogPContribs; // std::vector<double> computed
88
89RDKIT_RDGENERAL_EXPORT extern const std::string _crippenMR; // double computed
90RDKIT_RDGENERAL_EXPORT extern const std::string
91 _crippenMRContribs; // std::vector<double> computed
92
93RDKIT_RDGENERAL_EXPORT extern const std::string _labuteASA; // double computed
94RDKIT_RDGENERAL_EXPORT extern const std::string
95 _labuteAtomContribs; // vec<double> computed
96RDKIT_RDGENERAL_EXPORT extern const std::string
97 _labuteAtomHContrib; // double computed
98
99RDKIT_RDGENERAL_EXPORT extern const std::string _tpsa; // double computed
100RDKIT_RDGENERAL_EXPORT extern const std::string
101 _tpsaAtomContribs; // vec<double> computed
102
103RDKIT_RDGENERAL_EXPORT extern const std::string
104 numArom; // int computed (only uses in tests?)
105RDKIT_RDGENERAL_EXPORT extern const std::string
106 _MMFFSanitized; // int (bool) computed
107
108RDKIT_RDGENERAL_EXPORT extern const std::string
109 _CrippenLogP; // Unused (in the basement)
110RDKIT_RDGENERAL_EXPORT extern const std::string
111 _CrippenMR; // Unused (in the basement)
112RDKIT_RDGENERAL_EXPORT extern const std::string
113 _GasteigerCharge; // used to hold partial charges
114RDKIT_RDGENERAL_EXPORT extern const std::string
115 _GasteigerHCharge; // used to hold partial charges from implicit Hs
116
117///////////////////////////////////////////////////////////////
118// Atom Props
119
120// Chirality stuff
121RDKIT_RDGENERAL_EXPORT extern const std::string
122 _BondsPotentialStereo; // int (or bool) COMPUTED
123RDKIT_RDGENERAL_EXPORT extern const std::string
124 _CIPCode; // std::string COMPUTED
125RDKIT_RDGENERAL_EXPORT extern const std::string _CIPRank; // int COMPUTED
126RDKIT_RDGENERAL_EXPORT extern const std::string
127 _CanonicalRankingNumber; // unsigned int
128RDKIT_RDGENERAL_EXPORT extern const std::string _ChiralityPossible; // int
129RDKIT_RDGENERAL_EXPORT extern const std::string
130 _UnknownStereo; // int (bool) AddHs/Chirality
131RDKIT_RDGENERAL_EXPORT extern const std::string
132 _ringStereoAtoms; // int vect Canon/Chiral/MolHash/MolOps//Renumber//RWmol
133RDKIT_RDGENERAL_EXPORT extern const std::string
134 _ringStereochemCand; // chirality bool COMPUTED
135RDKIT_RDGENERAL_EXPORT extern const std::string
136 _ringStereoWarning; // obsolete ?
137RDKIT_RDGENERAL_EXPORT extern const std::string _chiralPermutation; // int
138RDKIT_RDGENERAL_EXPORT extern const std::string _ringStereoOtherAtom; // int
139RDKIT_RDGENERAL_EXPORT extern const std::string _mesoOtherAtom; // int
140
141// Smiles parsing
142RDKIT_RDGENERAL_EXPORT extern const std::string _SmilesStart; // int
143RDKIT_RDGENERAL_EXPORT extern const std::string
144 _TraversalBondIndexOrder; // ? unused
145RDKIT_RDGENERAL_EXPORT extern const std::string
146 _TraversalRingClosureBond; // unsigned int
147RDKIT_RDGENERAL_EXPORT extern const std::string _TraversalStartPoint; // bool
148RDKIT_RDGENERAL_EXPORT extern const std::string
149 _queryRootAtom; // int SLNParse/SubstructMatch
150RDKIT_RDGENERAL_EXPORT extern const std::string _hasMassQuery; // atom bool
151RDKIT_RDGENERAL_EXPORT extern const std::string _protected; // atom int (bool)
152RDKIT_RDGENERAL_EXPORT extern const std::string
153 _ChiralAtomRank; // atom rank (unsigned int)
154RDKIT_RDGENERAL_EXPORT extern const std::string
155 _supplementalSmilesLabel; // atom string (SmilesWrite)
156RDKIT_RDGENERAL_EXPORT extern const std::string
157 _unspecifiedOrder; // atom int (bool) smarts/smiles
158RDKIT_RDGENERAL_EXPORT extern const std::string
159 _RingClosures; // INT_VECT smarts/smiles/canon
160RDKIT_RDGENERAL_EXPORT extern const std::string
161 atomLabel; // atom string from CXSMILES
162RDKIT_RDGENERAL_EXPORT extern const std::string OxidationNumber; // int
163
164// MDL Style Properties (MolFileParser)
165RDKIT_RDGENERAL_EXPORT extern const std::string molAtomMapNumber; // int
166RDKIT_RDGENERAL_EXPORT extern const std::string molFileAlias; // string
167RDKIT_RDGENERAL_EXPORT extern const std::string molFileValue; // string
168RDKIT_RDGENERAL_EXPORT extern const std::string molInversionFlag; // int
169RDKIT_RDGENERAL_EXPORT extern const std::string molParity; // int
170RDKIT_RDGENERAL_EXPORT extern const std::string molStereoCare; // int
171RDKIT_RDGENERAL_EXPORT extern const std::string molRxnComponent; // int
172RDKIT_RDGENERAL_EXPORT extern const std::string molRxnRole; // int
173RDKIT_RDGENERAL_EXPORT extern const std::string molTotValence; // int
174RDKIT_RDGENERAL_EXPORT extern const std::string molRingBondCount; // int
175RDKIT_RDGENERAL_EXPORT extern const std::string molSubstCount; // int
176RDKIT_RDGENERAL_EXPORT extern const std::string molAttachPoint; // int
177RDKIT_RDGENERAL_EXPORT extern const std::string molAttachOrder; // int
178RDKIT_RDGENERAL_EXPORT extern const std::string molAtomClass; // string
179RDKIT_RDGENERAL_EXPORT extern const std::string molAtomSeqId; // int
180RDKIT_RDGENERAL_EXPORT extern const std::string molRxnExactChange; // int
181RDKIT_RDGENERAL_EXPORT extern const std::string molReactStatus; // int
182RDKIT_RDGENERAL_EXPORT extern const std::string molFileLinkNodes; // string
183RDKIT_RDGENERAL_EXPORT extern const std::string _fromAttachPoint; // int
184
185RDKIT_RDGENERAL_EXPORT extern const std::string _MolFileRLabel; // unsigned int
186RDKIT_RDGENERAL_EXPORT extern const std::string _MolFileChiralFlag; // int
187RDKIT_RDGENERAL_EXPORT extern const std::string _MolFileAtomQuery; // int
188RDKIT_RDGENERAL_EXPORT extern const std::string _MolFileBondQuery; // int
189RDKIT_RDGENERAL_EXPORT extern const std::string _MolFileBondEndPts; // string
190RDKIT_RDGENERAL_EXPORT extern const std::string _MolFileBondAttach; // string
191RDKIT_RDGENERAL_EXPORT extern const std::string
192 _MolFileBondType; // unsigned int
193RDKIT_RDGENERAL_EXPORT extern const std::string
194 _MolFileBondStereo; // unsigned int
195RDKIT_RDGENERAL_EXPORT extern const std::string
196 _MolFileBondCfg; // unsigned int
197RDKIT_RDGENERAL_EXPORT extern const std::string
198 MRV_SMA; // smarts string from Marvin
199
200// flag indicating that the chirality wasn't specified in the input,
201// but was calculated from 3D coordinates in the input
202RDKIT_RDGENERAL_EXPORT extern const std::string _NonExplicit3DChirality; // int
203RDKIT_RDGENERAL_EXPORT extern const std::string dummyLabel; // atom string
204
205RDKIT_RDGENERAL_EXPORT extern const std::string
206 _QueryAtomGenericLabel; // string
207
208// Reaction Information (Reactions.cpp)
209RDKIT_RDGENERAL_EXPORT extern const std::string _QueryFormalCharge; // int
210RDKIT_RDGENERAL_EXPORT extern const std::string _QueryHCount; // int
211RDKIT_RDGENERAL_EXPORT extern const std::string _QueryIsotope; // int
212RDKIT_RDGENERAL_EXPORT extern const std::string
213 _QueryMass; // int = round(float * 1000)
214RDKIT_RDGENERAL_EXPORT extern const std::string
215 _ReactionDegreeChanged; // int (bool)
216RDKIT_RDGENERAL_EXPORT extern const std::string NullBond; // int (bool)
217RDKIT_RDGENERAL_EXPORT extern const std::string _rgroupAtomMaps;
218RDKIT_RDGENERAL_EXPORT extern const std::string _rgroupBonds;
219RDKIT_RDGENERAL_EXPORT extern const std::string _rgroupTargetAtoms;
220RDKIT_RDGENERAL_EXPORT extern const std::string _rgroupTargetBonds;
221RDKIT_RDGENERAL_EXPORT extern const std::string reactantAtomIdx;
222RDKIT_RDGENERAL_EXPORT extern const std::string reactionMapNum;
223RDKIT_RDGENERAL_EXPORT extern const std::string reactantIdx;
224
225// SLN
226RDKIT_RDGENERAL_EXPORT extern const std::string
227 _AtomID; // unsigned int SLNParser
228RDKIT_RDGENERAL_EXPORT extern const std::string
229 _starred; // atom int COMPUTED (SLN)
230RDKIT_RDGENERAL_EXPORT extern const std::string
231 _SLN_s; // string SLNAttribs (chiral info)
232RDKIT_RDGENERAL_EXPORT extern const std::string _Unfinished_SLN_; // int (bool)
233
234// Smarts Smiles
235RDKIT_RDGENERAL_EXPORT extern const std::string _brokenChirality; // atom bool
236RDKIT_RDGENERAL_EXPORT extern const std::string isImplicit; // atom int (bool)
237RDKIT_RDGENERAL_EXPORT extern const std::string
238 smilesSymbol; // atom string (only used in test?)
239
240// Tripos
241RDKIT_RDGENERAL_EXPORT extern const std::string
242 _TriposAtomType; // string Mol2FileParser
243// missing defs for _TriposAtomName//_TriposPartialCharge...
244
245// molecule drawing
246RDKIT_RDGENERAL_EXPORT extern const std::string _displayLabel; // string
247RDKIT_RDGENERAL_EXPORT extern const std::string _displayLabelW; // string
248
249///////////////////////////////////////////////////////////////
250// misc props
251RDKIT_RDGENERAL_EXPORT extern const std::string
252 TWOD; // need THREED -> confusing using in TDTMol supplier
253 // converge with _2DConf?
254RDKIT_RDGENERAL_EXPORT extern const std::string BalabanJ; // mol double
255RDKIT_RDGENERAL_EXPORT extern const std::string BalanbanJ; // typo!! fix...
256
257RDKIT_RDGENERAL_EXPORT extern const std::string Discrims; // FragCatalog Entry
258// Subgraphs::DiscrimTuple (uint32,uint32,uint32)
259RDKIT_RDGENERAL_EXPORT extern const std::string
260 DistanceMatrix_Paths; // boost::shared_array<double>
261// - note, confusing creation of names in
262// - getDistanceMat
263RDKIT_RDGENERAL_EXPORT extern const std::string internalRgroupSmiles;
264RDKIT_RDGENERAL_EXPORT extern const std::string molNote;
265RDKIT_RDGENERAL_EXPORT extern const std::string atomNote;
266RDKIT_RDGENERAL_EXPORT extern const std::string bondNote;
267RDKIT_RDGENERAL_EXPORT extern const std::string _isotopicHs;
268
269} // namespace common_properties
270#ifndef WIN32
271typedef long long int LONGINT;
272#else
273typedef __int64 LONGINT;
274#endif
275#ifdef max
276#undef max // FUCK I hate this nonsense
277#endif
278#ifdef min
279#undef min // FUCK I hate this nonsense
280#endif
281
282RDKIT_RDGENERAL_EXPORT extern const double MAX_DOUBLE;
283RDKIT_RDGENERAL_EXPORT extern const double EPS_DOUBLE;
284RDKIT_RDGENERAL_EXPORT extern const double SMALL_DOUBLE;
285RDKIT_RDGENERAL_EXPORT extern const double MAX_INT;
286RDKIT_RDGENERAL_EXPORT extern const double MAX_LONGINT;
287
288typedef unsigned int UINT;
289typedef unsigned short USHORT;
290typedef unsigned char UCHAR;
291
292typedef std::vector<int> INT_VECT;
293typedef INT_VECT::iterator INT_VECT_I;
294typedef INT_VECT::const_iterator INT_VECT_CI;
295typedef INT_VECT::reverse_iterator INT_VECT_RI;
296typedef INT_VECT::const_reverse_iterator INT_VECT_CRI;
297
298typedef std::list<int> INT_LIST;
299typedef INT_LIST::iterator INT_LIST_I;
300typedef INT_LIST::const_iterator INT_LIST_CI;
301
302typedef std::list<INT_VECT> LIST_INT_VECT;
303typedef LIST_INT_VECT::iterator LIST_INT_VECT_I;
304typedef LIST_INT_VECT::const_iterator LIST_INT_VECT_CI;
305
306typedef std::vector<INT_VECT> VECT_INT_VECT;
307typedef VECT_INT_VECT::iterator VECT_INT_VECT_I;
308typedef VECT_INT_VECT::const_iterator VECT_INT_VECT_CI;
309
310typedef std::vector<UINT>::const_iterator UINT_VECT_CI;
311typedef std::vector<UINT> UINT_VECT;
312
313typedef std::vector<std::string>::const_iterator STR_VECT_CI;
314typedef std::vector<std::string>::iterator STR_VECT_I;
315typedef std::vector<std::string> STR_VECT;
316
317typedef std::vector<double> DOUBLE_VECT;
318typedef DOUBLE_VECT::iterator DOUBLE_VECT_I;
319typedef DOUBLE_VECT::const_iterator DOUBLE_VECT_CI;
320typedef std::vector<DOUBLE_VECT> VECT_DOUBLE_VECT;
321typedef VECT_DOUBLE_VECT::iterator VECT_DOUBLE_VECT_I;
322typedef VECT_DOUBLE_VECT::const_iterator VECT_DOUBLE_VECT_CI;
323
324typedef std::map<std::string, UINT> STR_UINT_MAP;
325typedef std::map<std::string, UINT>::const_iterator STR_UINT_MAP_CI;
326
327typedef std::map<int, INT_VECT> INT_INT_VECT_MAP;
328typedef INT_INT_VECT_MAP::const_iterator INT_INT_VECT_MAP_CI;
329
330typedef std::map<int, int> INT_MAP_INT;
331typedef INT_MAP_INT::iterator INT_MAP_INT_I;
332typedef INT_MAP_INT::const_iterator INT_MAP_INT_CI;
333
334typedef std::deque<int> INT_DEQUE;
335typedef INT_DEQUE::iterator INT_DEQUE_I;
336typedef INT_DEQUE::const_iterator INT_DEQUE_CI;
337
338typedef std::map<int, INT_DEQUE> INT_INT_DEQ_MAP;
339typedef INT_INT_DEQ_MAP::const_iterator INT_INT_DEQ_MAP_CI;
340
341typedef std::set<int> INT_SET;
342typedef INT_SET::iterator INT_SET_I;
343typedef INT_SET::const_iterator INT_SET_CI;
344
345//! functor to compare two doubles with a tolerance
347 public:
349 bool operator()(double d1, double d2) const {
350 if (fabs(d1 - d2) < _tol) {
351 return false;
352 } else {
353 return (d1 < d2);
354 }
355 }
356
357 private:
358 double _tol{1.0e-8};
359};
360
361//! std::map from double to integer.
362typedef std::map<double, int, ltDouble> DOUBLE_INT_MAP;
363
364//! functor for returning the larger of two values
365template <typename T>
367 T operator()(T arg1, T arg2) { return arg1 > arg2 ? arg1 : arg2; }
368};
369
370//! functor for comparing two strings
372 bool operator()(const char *s1, const char *s2) const {
373 // std::cout << s1 << " " << s2 << " " << strcmp(s1, s2) << "\n";
374
375 return strcmp(s1, s2) < 0;
376 }
377};
378
379//! \brief calculate the union of two INT_VECTs and put the results in a
380//! third vector
382 INT_VECT &res);
383
384//! \brief calculate the intersection of two INT_VECTs and put the results in a
385//! third vector
387 INT_VECT &res);
388
389//! calculating the union of the INT_VECT's in a VECT_INT_VECT
390/*!
391 \param rings the INT_VECT's to consider
392 \param res used to return results
393 \param exclude any values in this optional INT_VECT will be excluded
394 from the union.
395*/
397 const INT_VECT *exclude = nullptr);
398
399//! given a current combination of numbers change it to the next possible
400// combination
401/*!
402 \param comb the <b>sorted</b> vector to consider
403 \param tot the maximum number possible in the vector
404
405 \return -1 on failure, the index of the last number changed on success.
406 Example:
407 for all combinations 3 of numbers between 0 and tot=5
408 given (0,1,2) the function wil return (0,1,3) etc.
409
410
411*/
413
414}; // namespace RDKit
415
416#endif
Defines the Dict class.
#define RDKIT_RDGENERAL_EXPORT
Definition export.h:409
RDKIT_RDGENERAL_EXPORT const std::string _ringStereoWarning
RDKIT_RDGENERAL_EXPORT const std::string _MolFileBondQuery
RDKIT_RDGENERAL_EXPORT const std::string smilesSymbol
RDKIT_RDGENERAL_EXPORT const std::string _TriposAtomType
RDKIT_RDGENERAL_EXPORT const std::string _RingClosures
RDKIT_RDGENERAL_EXPORT const std::string bondNote
RDKIT_RDGENERAL_EXPORT const std::string _QueryHCount
RDKIT_RDGENERAL_EXPORT const std::string molRingBondCount
RDKIT_RDGENERAL_EXPORT const std::string _labuteASA
RDKIT_RDGENERAL_EXPORT const std::string _supplementalSmilesLabel
RDKIT_RDGENERAL_EXPORT const std::string molStereoCare
RDKIT_RDGENERAL_EXPORT const std::string MolFileComments
RDKIT_RDGENERAL_EXPORT const std::string molInversionFlag
RDKIT_RDGENERAL_EXPORT const std::string DistanceMatrix_Paths
RDKIT_RDGENERAL_EXPORT const std::string maxAttachIdx
RDKIT_RDGENERAL_EXPORT const std::string _3DConf
RDKIT_RDGENERAL_EXPORT const std::string _NeedsQueryScan
RDKIT_RDGENERAL_EXPORT const std::string atomNote
RDKIT_RDGENERAL_EXPORT const std::string reactionMapNum
RDKIT_RDGENERAL_EXPORT const std::string reactantIdx
RDKIT_RDGENERAL_EXPORT const std::string _ChiralityPossible
RDKIT_RDGENERAL_EXPORT const std::string isImplicit
RDKIT_RDGENERAL_EXPORT const std::string _2DConf
RDKIT_RDGENERAL_EXPORT const std::string dummyLabel
RDKIT_RDGENERAL_EXPORT const std::string _fromAttachPoint
RDKIT_RDGENERAL_EXPORT const std::string _rgroupTargetAtoms
RDKIT_RDGENERAL_EXPORT const std::string _doIsoSmiles
RDKIT_RDGENERAL_EXPORT const std::string _QueryMass
RDKIT_RDGENERAL_EXPORT const std::string _QueryFormalCharge
RDKIT_RDGENERAL_EXPORT const std::string _labuteAtomHContrib
RDKIT_RDGENERAL_EXPORT const std::string _connectivityNVals
RDKIT_RDGENERAL_EXPORT const std::string BalanbanJ
RDKIT_RDGENERAL_EXPORT const std::string _unspecifiedOrder
RDKIT_RDGENERAL_EXPORT const std::string _ringStereoAtoms
RDKIT_RDGENERAL_EXPORT const std::string _NonExplicit3DChirality
RDKIT_RDGENERAL_EXPORT const std::string molRxnRole
RDKIT_RDGENERAL_EXPORT const std::string _SmilesStart
RDKIT_RDGENERAL_EXPORT const std::string _MolFileBondType
RDKIT_RDGENERAL_EXPORT const std::string molFileValue
RDKIT_RDGENERAL_EXPORT const std::string _CanonicalRankingNumber
RDKIT_RDGENERAL_EXPORT const std::string _fragSMARTS
RDKIT_RDGENERAL_EXPORT const std::string molTotValence
RDKIT_RDGENERAL_EXPORT const std::string _connectivityHKDeltas
RDKIT_RDGENERAL_EXPORT const std::string _crippenLogP
RDKIT_RDGENERAL_EXPORT const std::string _QueryAtomGenericLabel
RDKIT_RDGENERAL_EXPORT const std::string _TraversalStartPoint
RDKIT_RDGENERAL_EXPORT const std::string _GasteigerCharge
RDKIT_RDGENERAL_EXPORT const std::string molAttachPoint
RDKIT_RDGENERAL_EXPORT const std::string molAtomClass
RDKIT_RDGENERAL_EXPORT const std::string _MolFileAtomQuery
RDKIT_RDGENERAL_EXPORT const std::string TWOD
RDKIT_RDGENERAL_EXPORT const std::string _protected
RDKIT_RDGENERAL_EXPORT const std::string _displayLabelW
RDKIT_RDGENERAL_EXPORT const std::string _TraversalRingClosureBond
RDKIT_RDGENERAL_EXPORT const std::string _Unfinished_SLN_
RDKIT_RDGENERAL_EXPORT const std::string _CrippenMR
RDKIT_RDGENERAL_EXPORT const std::string _brokenChirality
RDKIT_RDGENERAL_EXPORT const std::string ringMembership
RDKIT_RDGENERAL_EXPORT const std::string molFileLinkNodes
RDKIT_RDGENERAL_EXPORT const std::string _MolFileRLabel
RDKIT_RDGENERAL_EXPORT const std::string _MolFileBondAttach
RDKIT_RDGENERAL_EXPORT const std::string molRxnComponent
RDKIT_RDGENERAL_EXPORT const std::string MRV_SMA
RDKIT_RDGENERAL_EXPORT const std::string _ringStereoOtherAtom
RDKIT_RDGENERAL_EXPORT const std::string _MolFileBondEndPts
RDKIT_RDGENERAL_EXPORT const std::string _queryRootAtom
RDKIT_RDGENERAL_EXPORT const std::string numArom
RDKIT_RDGENERAL_EXPORT const std::string _rgroupBonds
RDKIT_RDGENERAL_EXPORT const std::string MolFileInfo
RDKIT_RDGENERAL_EXPORT const std::string molNote
RDKIT_RDGENERAL_EXPORT const std::string _crippenMR
RDKIT_RDGENERAL_EXPORT const std::string _GasteigerHCharge
RDKIT_RDGENERAL_EXPORT const std::string _UnknownStereo
RDKIT_RDGENERAL_EXPORT const std::string _smilesBondOutputOrder
RDKIT_RDGENERAL_EXPORT const std::string OxidationNumber
RDKIT_RDGENERAL_EXPORT const std::string _TraversalBondIndexOrder
RDKIT_RDGENERAL_EXPORT const std::string _rgroupAtomMaps
RDKIT_RDGENERAL_EXPORT const std::string _CIPCode
RDKIT_RDGENERAL_EXPORT const std::string _BondsPotentialStereo
RDKIT_RDGENERAL_EXPORT const std::string _Name
RDKIT_RDGENERAL_EXPORT const std::string _QueryIsotope
RDKIT_RDGENERAL_EXPORT const std::string molAtomMapNumber
RDKIT_RDGENERAL_EXPORT const std::string _CIPRank
RDKIT_RDGENERAL_EXPORT const std::string _hasMassQuery
RDKIT_RDGENERAL_EXPORT const std::string _ReactionDegreeChanged
RDKIT_RDGENERAL_EXPORT const std::string molParity
RDKIT_RDGENERAL_EXPORT const std::string _mesoOtherAtom
RDKIT_RDGENERAL_EXPORT const std::string _rgroupTargetBonds
RDKIT_RDGENERAL_EXPORT const std::string _CrippenLogP
RDKIT_RDGENERAL_EXPORT const std::string molRxnExactChange
RDKIT_RDGENERAL_EXPORT const std::string _displayLabel
RDKIT_RDGENERAL_EXPORT const std::string molAttachOrder
RDKIT_RDGENERAL_EXPORT const std::string molAtomSeqId
RDKIT_RDGENERAL_EXPORT const std::string BalabanJ
RDKIT_RDGENERAL_EXPORT const std::string extraRings
RDKIT_RDGENERAL_EXPORT const std::string atomLabel
RDKIT_RDGENERAL_EXPORT const std::string _isotopicHs
RDKIT_RDGENERAL_EXPORT const std::string _MMFFSanitized
RDKIT_RDGENERAL_EXPORT const std::string _labuteAtomContribs
RDKIT_RDGENERAL_EXPORT const std::string _tpsa
RDKIT_RDGENERAL_EXPORT const std::string _MolFileBondStereo
RDKIT_RDGENERAL_EXPORT const std::string molFileAlias
RDKIT_RDGENERAL_EXPORT const std::string _StereochemDone
RDKIT_RDGENERAL_EXPORT const std::string _ringStereochemCand
RDKIT_RDGENERAL_EXPORT const std::string _MolFileBondCfg
RDKIT_RDGENERAL_EXPORT const std::string _SLN_s
RDKIT_RDGENERAL_EXPORT const std::string molSubstCount
RDKIT_RDGENERAL_EXPORT const std::string _chiralPermutation
RDKIT_RDGENERAL_EXPORT const std::string _MolFileChiralFlag
RDKIT_RDGENERAL_EXPORT const std::string _crippenMRContribs
RDKIT_RDGENERAL_EXPORT const std::string reactantAtomIdx
RDKIT_RDGENERAL_EXPORT const std::string _ChiralAtomRank
RDKIT_RDGENERAL_EXPORT const std::string Discrims
RDKIT_RDGENERAL_EXPORT const std::string _smilesAtomOutputOrder
RDKIT_RDGENERAL_EXPORT const std::string _AtomID
RDKIT_RDGENERAL_EXPORT const std::string molReactStatus
RDKIT_RDGENERAL_EXPORT const std::string NullBond
RDKIT_RDGENERAL_EXPORT const std::string internalRgroupSmiles
RDKIT_RDGENERAL_EXPORT const std::string _starred
RDKIT_RDGENERAL_EXPORT const std::string _tpsaAtomContribs
RDKIT_RDGENERAL_EXPORT const std::string _crippenLogPContribs
RDKIT_RDGENERAL_EXPORT const std::string computedPropName
Std stuff.
INT_MAP_INT::iterator INT_MAP_INT_I
Definition types.h:331
VECT_DOUBLE_VECT::const_iterator VECT_DOUBLE_VECT_CI
Definition types.h:322
std::list< int > INT_LIST
Definition types.h:298
std::list< INT_VECT > LIST_INT_VECT
Definition types.h:302
std::vector< std::string > STR_VECT
Definition Dict.h:29
std::set< int > INT_SET
Definition types.h:341
INT_VECT::const_iterator INT_VECT_CI
Definition types.h:294
RDKIT_RDGENERAL_EXPORT void Intersect(const INT_VECT &r1, const INT_VECT &r2, INT_VECT &res)
calculate the intersection of two INT_VECTs and put the results in a third vector
INT_INT_DEQ_MAP::const_iterator INT_INT_DEQ_MAP_CI
Definition types.h:339
std::vector< int > INT_VECT
Definition types.h:292
unsigned char UCHAR
Definition types.h:290
long long int LONGINT
Definition types.h:271
bool rdvalue_is(const RDValue_cast_t)
INT_SET::const_iterator INT_SET_CI
Definition types.h:343
RDKIT_RDGENERAL_EXPORT int nextCombination(INT_VECT &comb, int tot)
given a current combination of numbers change it to the next possible
std::vector< std::string >::iterator STR_VECT_I
Definition types.h:314
INT_VECT::const_reverse_iterator INT_VECT_CRI
Definition types.h:296
std::map< int, int > INT_MAP_INT
Definition types.h:330
std::vector< INT_VECT > VECT_INT_VECT
Definition types.h:306
std::deque< int > INT_DEQUE
Definition types.h:334
std::map< std::string, UINT > STR_UINT_MAP
Definition types.h:324
RDKIT_RDGENERAL_EXPORT const double EPS_DOUBLE
std::map< int, INT_VECT > INT_INT_VECT_MAP
Definition types.h:327
std::map< int, INT_DEQUE > INT_INT_DEQ_MAP
Definition types.h:338
std::vector< DOUBLE_VECT > VECT_DOUBLE_VECT
Definition types.h:320
RDKIT_RDGENERAL_EXPORT const double MAX_LONGINT
INT_DEQUE::iterator INT_DEQUE_I
Definition types.h:335
INT_LIST::const_iterator INT_LIST_CI
Definition types.h:300
INT_DEQUE::const_iterator INT_DEQUE_CI
Definition types.h:336
unsigned short USHORT
Definition types.h:289
INT_INT_VECT_MAP::const_iterator INT_INT_VECT_MAP_CI
Definition types.h:328
RDKIT_RDGENERAL_EXPORT const double MAX_INT
std::map< double, int, ltDouble > DOUBLE_INT_MAP
std::map from double to integer.
Definition types.h:362
INT_VECT::reverse_iterator INT_VECT_RI
Definition types.h:295
INT_SET::iterator INT_SET_I
Definition types.h:342
std::vector< UINT >::const_iterator UINT_VECT_CI
Definition types.h:310
INT_MAP_INT::const_iterator INT_MAP_INT_CI
Definition types.h:332
VECT_DOUBLE_VECT::iterator VECT_DOUBLE_VECT_I
Definition types.h:321
std::map< std::string, UINT >::const_iterator STR_UINT_MAP_CI
Definition types.h:325
DOUBLE_VECT::const_iterator DOUBLE_VECT_CI
Definition types.h:319
unsigned int UINT
Definition types.h:288
RDKIT_RDGENERAL_EXPORT void Union(const INT_VECT &r1, const INT_VECT &r2, INT_VECT &res)
calculate the union of two INT_VECTs and put the results in a third vector
INT_LIST::iterator INT_LIST_I
Definition types.h:299
std::vector< std::string >::const_iterator STR_VECT_CI
Definition types.h:313
LIST_INT_VECT::const_iterator LIST_INT_VECT_CI
Definition types.h:304
std::vector< double > DOUBLE_VECT
Definition types.h:317
VECT_INT_VECT::iterator VECT_INT_VECT_I
Definition types.h:307
DOUBLE_VECT::iterator DOUBLE_VECT_I
Definition types.h:318
RDKIT_RDGENERAL_EXPORT const double SMALL_DOUBLE
RDKIT_RDGENERAL_EXPORT const double MAX_DOUBLE
VECT_INT_VECT::const_iterator VECT_INT_VECT_CI
Definition types.h:308
LIST_INT_VECT::iterator LIST_INT_VECT_I
Definition types.h:303
INT_VECT::iterator INT_VECT_I
Definition types.h:293
std::vector< UINT > UINT_VECT
Definition types.h:311
functor for comparing two strings
Definition types.h:371
bool operator()(const char *s1, const char *s2) const
Definition types.h:372
functor for returning the larger of two values
Definition types.h:366
T operator()(T arg1, T arg2)
Definition types.h:367
functor to compare two doubles with a tolerance
Definition types.h:346
bool operator()(double d1, double d2) const
Definition types.h:349