The Gnome Chemistry Utils 0.13.3
Public Member Functions
gcr::Bond Class Reference

#include <gcr/bond.h>

Inheritance diagram for gcr::Bond:
gcu::Bond gcu::Object

List of all members.

Public Member Functions

 Bond ()
virtual ~Bond ()
virtual void Move (double x, double y, double z)
virtual bool Load (xmlNodePtr node)

Detailed Description

This class will be used to represent bonds inside crystals. It is not implemented yet.

Definition at line 38 of file gcr/bond.h.


Constructor & Destructor Documentation

gcr::Bond::Bond ( )

The default constructor. Creates a bond with order set to 0.

Reimplemented from gcu::Bond.

virtual gcr::Bond::~Bond ( ) [virtual]

The destructor of Bond.

Reimplemented from gcu::Bond.


Member Function Documentation

virtual bool gcr::Bond::Load ( xmlNodePtr  node) [virtual]
Parameters:
nodea pointer to the xmlNode containing the serialized Bond.

Loads a bond from an xmlNode.

Reimplemented from gcu::Bond.

virtual void gcr::Bond::Move ( double  x,
double  y,
double  z 
) [virtual]
Parameters:
xthe x component of the transation vector.
ythe y component of the transation vector.
zthe z component of the transation vector.

Does nothing. Just a slight optimization to avoid execution of Object::Move

Reimplemented from gcu::Bond.


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