RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
Tetrahedral.h
Go to the documentation of this file.
1//
2//
3// Copyright (C) 2020 Schrödinger, LLC
4//
5// @@ All Rights Reserved @@
6// This file is part of the RDKit.
7// The contents are covered by the terms of the BSD license
8// which is included in the file license.txt, found at the root
9// of the RDKit source tree.
10//
11#pragma once
12
13#include "Configuration.h"
14
15namespace RDKit {
16namespace CIPLabeler {
17
18class Tetrahedral : public Configuration {
19 public:
20 Tetrahedral() = delete;
21
22 Tetrahedral(const CIPMol &mol, Atom *focus);
23
24 void setPrimaryLabel(Descriptor desc) override;
25
26 bool hasPrimaryLabel() const override;
27
28 void resetPrimaryLabel() const override;
29
30 Descriptor label(const Rules &comp) override;
31
32 Descriptor label(Node *node, Digraph &digraph, const Rules &comp) override;
33
34 private:
35 Descriptor label(Node *node, const Rules &comp);
36
37 std::vector<unsigned int> d_ranked_anchors;
38};
39
40} // namespace CIPLabeler
41} // namespace RDKit
The class for representing atoms.
Definition Atom.h:74
void setPrimaryLabel(Descriptor desc) override
Tetrahedral(const CIPMol &mol, Atom *focus)
void resetPrimaryLabel() const override
Descriptor label(const Rules &comp) override
bool hasPrimaryLabel() const override
Descriptor label(Node *node, Digraph &digraph, const Rules &comp) override
Std stuff.