RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
nmmolhash.h
Go to the documentation of this file.
1/*==============================================*/
2/* Copyright (C) 2019 NextMove Software */
3/* All rights reserved. */
4/* */
5/* This file is part of molhash. */
6/* */
7/* The contents are covered by the terms of the */
8/* BSD license, which is included in the file */
9/* license.txt. */
10/*==============================================*/
11
12// This file will disappear in a future release; please don't include it
13// directly. Use MolHash.h instead.
14
15#include <RDGeneral/export.h>
16#ifndef NMS_MOLHASH_H
17#define NMS_MOLHASH_H
18
19#include <string>
20#include <vector>
21
22namespace RDKit {
23class RWMol;
24namespace MolHash {
25// atoms or bonds with this property set (value not important) will not be
26// included in tautomerism when using the HetAtomTautomerv2 or
27// HetAtomProtomerv2 hash functions.
28constexpr const char *excludeFromTautomerismProp =
29 "_MolHashExcludeFromTautomerism";
30enum class HashFunction {
49 18, //! Note that this is under active development and the results may
50 //! change from one release to the next.
52 19, //! Note that this is under active development and the results may
53 //! change from one release to the next.
54};
55
57 bool useCXSmiles = false,
58 unsigned cxFlagsToSkip = 0);
59
60enum class StripType {
66};
67
68RDKIT_MOLHASH_EXPORT void Strip(RWMol *mol, unsigned int striptype);
69RDKIT_MOLHASH_EXPORT void SplitMolecule(RWMol *mol, std::vector<RWMol *> &molv);
70} // namespace MolHash
71} // namespace RDKit
72#endif // NMS_MOLHASH_H
RWMol is a molecule class that is intended to be edited.
Definition RWMol.h:32
#define RDKIT_MOLHASH_EXPORT
Definition export.h:345
RDKIT_MOLHASH_EXPORT std::string MolHash(RWMol *mol, HashFunction func, bool useCXSmiles=false, unsigned cxFlagsToSkip=0)
RDKIT_MOLHASH_EXPORT void SplitMolecule(RWMol *mol, std::vector< RWMol * > &molv)
RDKIT_MOLHASH_EXPORT void Strip(RWMol *mol, unsigned int striptype)
constexpr const char * excludeFromTautomerismProp
Definition nmmolhash.h:28
Std stuff.