The Gnome Chemistry Utils
0.13.7
|
parent class for reaction steps, mesomers, and more. More...
#include <gcp/step.h>
Public Member Functions | |
Step (gcu::TypeId type) | |
virtual | ~Step () |
void | AddArrow (Arrow *arrow, Step *step) throw (std::invalid_argument) |
void | RemoveArrow (Arrow *arrow, Step *step) |
bool | Validate () |
std::map< Step *, Arrow * > * | GetArrows () |
gcp::Step::Step | ( | gcu::TypeId | type | ) |
The default constructor.
virtual gcp::Step::~Step | ( | ) | [virtual] |
The destructor.
void gcp::Step::AddArrow | ( | Arrow * | arrow, |
Step * | step | ||
) | throw (std::invalid_argument) |
arrow | an arrow |
step | the Step at the other end of the arrow. |
Adds the arrow to the arrows map. See Step::GetArrows().
std::map< Step *, Arrow * >* gcp::Step::GetArrows | ( | ) | [inline] |
Reimplemented in gcp::Mesomer.
void gcp::Step::RemoveArrow | ( | Arrow * | arrow, |
Step * | step | ||
) |
arrow | an arrow |
step | the Step at the other end of the arrow. |
Removes the arrow from the arrows map. See Step::GetArrows().
bool gcp::Step::Validate | ( | ) | [inline] |
Reimplemented in gcp::ReactionStep, and gcp::Mesomer.