AvogadroLibs 1.100.0
Loading...
Searching...
No Matches
Bond Class Reference

#include <avogadro/core/bond.h>

Inheritance diagram for Bond:
BondTemplate< Molecule >

Public Member Functions

 Bond (Molecule *m, Index i)
 
- Public Member Functions inherited from BondTemplate< Molecule >
 BondTemplate ()=default
 
 BondTemplate (MoleculeType *m, Index i)
 
bool operator== (const BondTemplate< MoleculeType > &other) const
 
bool operator!= (const BondTemplate< MoleculeType > &other) const
 
BondTemplate< MoleculeType > & operator++ ()
 
BondTemplate< MoleculeTypeoperator++ (int)
 
BondTemplate< MoleculeType > & operator-- ()
 
BondTemplate< MoleculeTypeoperator-- (int)
 
bool isValid () const
 
MoleculeTypemolecule () const
 
Index index () const
 
AtomType getOtherAtom (Index index) const
 
AtomType getOtherAtom (AtomType atom) const
 
Real length () const
 
std::string label () const
 
AtomType atom1 () const
 
AtomType atom2 () const
 
void setOrder (unsigned char o)
 
unsigned char order () const
 

Additional Inherited Members

- Public Types inherited from BondTemplate< Molecule >
using MoleculeType
 
using AtomType
 

Detailed Description

The Bond class represents a bond in a molecule. To use the appropriate bond implementation for a specific molecule implementation, use the [MoleculeClass]::BondType typedef.


The documentation for this class was generated from the following file: