RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
AtropisomerBond.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
19 public:
20 AtropisomerBond() = delete;
21
24
26
27 Descriptor label(const Rules &comp) override;
28
30
31 private:
32 Bond *dp_bond;
33
34 // bond->getStereo() can return both E/Z or CIS/TRANS,
35 // so we cache CIS/TRANS we found.
36 Bond::BondStereo d_cfg;
37
38}; // namespace CIPLabeler
39
40} // namespace CIPLabeler
41} // namespace RDKit
The class for representing atoms.
Definition Atom.h:75
class for representing a bond
Definition Bond.h:47
BondStereo
the nature of the bond's stereochem (for cis/trans)
Definition Bond.h:95
Descriptor label(const Rules &comp) override
void setPrimaryLabel(Descriptor desc) override
Descriptor label(Node *root1, Digraph &digraph, const Rules &comp) override
AtropisomerBond(const CIPMol &mol, Bond *bond, Atom *startAtom, Atom *endAtom, Bond::BondStereo cfg)
Std stuff.
bool rdvalue_is(const RDValue_cast_t)