#include <chemistry/bond.h>
Inheritance diagram for gcu::Bond:
Public Member Functions | |
Bond () | |
Bond (Atom *first, Atom *last, unsigned char order) | |
virtual | ~Bond () |
virtual Atom * | GetAtom (int which) |
virtual Atom * | GetAtom (Atom *pAtom, int which=0) |
unsigned char | GetOrder () |
void | SetOrder (unsigned char Order) |
virtual xmlNodePtr | Save (xmlDocPtr xml) |
virtual bool | Load (xmlNodePtr node) |
virtual void | IncOrder (int n=1) |
virtual bool | LoadNode (xmlNodePtr node) |
virtual bool | SaveNode (xmlDocPtr xml, xmlNodePtr node) |
Protected Attributes | |
unsigned char | m_order |
Atom * | m_Begin |
Atom * | m_End |
Definition at line 44 of file bond.h.
|
The default constructor. Creates a bond with order set to 0. |
|
|
|
The destructor of Bond. |
|
|
|
|
|
|
|
|
|
Reimplemented from gcu::Object.
|
|
|
|
Reimplemented from gcu::Object.
|
|
|
|
|
|
A pointer to the first Atom instance of the Bond. Definition at line 130 of file bond.h. |
|
A pointer to the last Atom instance of the Bond. Definition at line 134 of file bond.h. |
|
The order of the bond. Definition at line 126 of file bond.h. |