2 #include "../utils/fwd_declares.hpp" 7 #ifndef INDIGOX_CLASSES_BOND_HPP 8 #define INDIGOX_CLASSES_BOND_HPP 43 template <
typename Archive>
44 void serialise(Archive &archive,
const uint32_t version);
64 int64_t
GetID()
const;
130 std::shared_ptr<Impl> m_data;
Definition: forcefield.hpp:58
No defined stereochemistry.
#define INDIGOX_GENERIC_PIMPL_CLASS_DEFAULTS(class_name)
Definition: fwd_declares.hpp:18
void SetStereochemistry(Stereo stereo)
Set the stereochemistry of the bond.
const Molecule & GetMolecule() const
Molecule this bond is associated with.
int64_t GetIndex() const
Get the index from the molecule.
Stereo GetStereochemistry() const
Get the stereochemistry of the bond.
constexpr int64_t NumAtoms() const
Number of atoms this bond is between.
Definition: bond.hpp:103
Namespace for all graph related functionality.
Definition: access.hpp:7
Defined as no stereochemistry.
Order
Enum for the different possible bond orders.
Definition: bond.hpp:31
friend class cereal::access
Friendship allows serialisation.
Definition: bond.hpp:15
void SetTag(int64_t tag)
Set the tag of this bond.
int64_t GetTag() const
Tag of the bond.
const BondAtoms & GetAtoms() const
Get the atoms of the bond.
Definition: molecule.hpp:15
void SetOrder(Order order)
Set the bond order.
#define INDIGOX_GENERIC_PIMPL_CLASS_OPERATORS(class_name, short_name)
Definition: fwd_declares.hpp:26
bool IsCarbonylBond() const
const FFBond & GetType() const
Get the type of the bond.
void SetType(const FFBond &type)
Set the type of the bond.
Order GetOrder() const
Get the bond order of the bond.
std::array< Atom, 2 > BondAtoms
Container for storing Atom references assigned to an Bond.
Definition: bond.hpp:19
Stereo
Enum for the different possible bond stereochemistry states.
Definition: bond.hpp:23
Non-aromatic bond order of 1.5.