RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
SubstructDetails.h
Go to the documentation of this file.
1//
2// Copyright (C) 2026 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#include <RDGeneral/export.h>
11#ifndef RD_SUBSTRUCTDETAILS_H
12#define RD_SUBSTRUCTDETAILS_H
13
14// std bits
15#include <vector>
16#include <map>
17
18#include <GraphMol/QueryAtom.h>
19
20namespace RDKit {
21class ROMol;
24
25namespace detail {
28 std::vector<RecursiveStructureQuery *> locked;
29 RecursiveLocker() = default;
30 RecursiveLocker(size_t numAtoms, const bool recursionPossible);
32};
33
34using SUBQUERY_MAP = std::map<unsigned int, QueryAtom::QUERYATOM_QUERY *>;
36 const ROMol &mol, QueryAtom::QUERYATOM_QUERY *q,
37 const SubstructMatchParameters &params, SUBQUERY_MAP &subqueryMap,
38 std::vector<RecursiveStructureQuery *> &locked);
39} // namespace detail
40} // namespace RDKit
41
42#endif
Queries::Query< int, Atom const *, true > QUERYATOM_QUERY
Definition QueryAtom.h:30
allows use of recursive structure queries (e.g. recursive SMARTS)
Definition QueryOps.h:793
#define RDKIT_SUBSTRUCTMATCH_EXPORT
Definition export.h:721
std::map< unsigned int, QueryAtom::QUERYATOM_QUERY * > SUBQUERY_MAP
RDKIT_SUBSTRUCTMATCH_EXPORT void MatchSubqueries(const ROMol &mol, QueryAtom::QUERYATOM_QUERY *q, const SubstructMatchParameters &params, SUBQUERY_MAP &subqueryMap, std::vector< RecursiveStructureQuery * > &locked)
Std stuff.
std::vector< RecursiveStructureQuery * > locked
RecursiveLocker(size_t numAtoms, const bool recursionPossible)