23 #include "coreexport.h" 35 enum order { SINGLE=1, DOUBLE, TRIPLE, AROMATIC, };
36 enum stereo { NOSTEREO=0,UP,DOWN, RUP, RDOWN, WIGGLE };
38 Bond (
size_t i,
size_t j,
order e= SINGLE );
44 stereo&
Stereo() {
return m_stereo; }
46 const stereo&
Stereo()
const {
return m_stereo; }
48 const size_t&
I()
const {
return m_i; }
50 const size_t&
J()
const {
return m_j; }
52 friend bool operator == (
const Bond& a,
const Bond& b ) {
return ( ( a.m_i == b.m_i ) && ( a.m_j == b.m_j ) ); }
const size_t & I() const
Definition: bond.h:48
the global magnes namespace
Definition: ccchequation.h:38
stereo & Stereo()
Definition: bond.h:44
const stereo & Stereo() const
Definition: bond.h:46
order & Order()
Definition: bond.h:40
MAGNES_CORE_API bool operator==(const ChemicalShift &, const ChemicalShift &)
order
Definition: bond.h:35
const order & Order() const
Definition: bond.h:42
const size_t & J() const
Definition: bond.h:50
representation of a chemical bond
Definition: bond.h:31