118 refs(_refs), shape(_shape), specified(true)
192 return !(*
this == other);
230 bool IsValid()
const;
236 void SetConfig(
const Config &config);
245 Config GetConfig(
unsigned long start,
262 return !(*
this == other);
301 bool IsOnSameAtom(
unsigned long id1,
unsigned long id2)
const;
305 bool IsTrans(
unsigned long id1,
unsigned long id2)
const;
309 bool IsCis(
unsigned long id1,
unsigned long id2)
const;
314 unsigned long GetTransRef(
unsigned long id)
const;
319 unsigned long GetCisRef(
unsigned long id)
const;
325 unsigned long GetCisOrTransRef(
unsigned long id,
bool getcisref)
const;
OBStereo::Type GetType() const
Definition: cistrans.h:222
Base class for generic data.
Definition: base.h:188
Config()
Definition: cistrans.h:105
Class for handling and storing cis/trans stereochemistry.
Definition: cistrans.h:75
Placeholder for enums & Ref/Refs related functions.
Definition: stereo.h:75
Molecule Class.
Definition: mol.h:118
Config(unsigned long _begin, unsigned long _end, const OBStereo::Refs &_refs, OBStereo::Shape _shape=OBStereo::ShapeU)
Definition: cistrans.h:116
Base class for handling and storing planar stereochemistry with 4 reference atoms.
Definition: tetraplanar.h:83
cis/trans double bond
Definition: stereo.h:81
OBStereo::Refs refs
The 4 reference ids.
Definition: cistrans.h:200
Shape
Definition: stereo.h:108
unsigned long end
Definition: cistrans.h:199
OBStereo::Shape shape
The shape of the 4 reference ids.
Definition: cistrans.h:201
bool specified
Definition: cistrans.h:202
bool operator!=(const OBCisTransStereo &other) const
Definition: cistrans.h:260
Stereochemical configuration for double-bond cis/trans stereochemistry.
Definition: cistrans.h:99
std::ostream & operator<<(std::ostream &, const vector3 &)
Prints a representation of the vector as a row vector of the form "<0.1,1,2>".
Definition: vector3.cpp:109
std::vector< Ref > Refs
Definition: stereo.h:156
Type
Definition: stereo.h:80
Base Class.
Definition: base.h:239
bool operator!=(const Config &other) const
Definition: cistrans.h:190
Base class for handling and storing planar stereochemistry with 4 reference atoms.
bool operator==(const OBBitVec &bv1, const OBBitVec &bv2)
Definition: bitvec.cpp:525
Global namespace for all Open Babel code.
Definition: alias.h:22