#include <base.h>
Inheritance diagram for OBGraphBase:
Public Member Functions | |
OBGraphBase () | |
OBGraphBase (const OBGraphBase &src) | |
virtual | ~OBGraphBase () |
unsigned int | NumNodes () |
unsigned int | NumEdges () |
void | ResetVisitFlags () |
bool | SetVisitLock (bool) |
bool | GetVisitLock () |
OBNodeBase * | Begin (std::vector< OBNodeBase * >::iterator &) |
OBNodeBase * | Next (std::vector< OBNodeBase * >::iterator &) |
OBEdgeBase * | Begin (std::vector< OBEdgeBase * >::iterator &) |
OBEdgeBase * | Next (std::vector< OBEdgeBase * >::iterator &) |
virtual OBBase * | DoTransformations (const std::map< std::string, std::string > *pOptions) |
Static Public Member Functions | |
static const char * | ClassDescription () |
Protected Attributes | |
bool | _vlock |
std::vector< OBNodeBase * > | _vatom |
std::vector< OBEdgeBase * > | _vbond |
The base class for graphs (e.g. rings, molecules, etc.) in a graph-theoretical representation.
OBGraphBase | ( | ) | [inline] |
OBGraphBase | ( | const OBGraphBase & | src | ) | [inline] |
virtual ~OBGraphBase | ( | ) | [inline, virtual] |
unsigned int NumNodes | ( | ) | [inline] |
unsigned int NumEdges | ( | ) | [inline] |
void ResetVisitFlags | ( | ) |
bool SetVisitLock | ( | bool | ) |
bool GetVisitLock | ( | ) | [inline] |
OBNodeBase * Begin | ( | std::vector< OBNodeBase * >::iterator & | ) |
OBNodeBase * Next | ( | std::vector< OBNodeBase * >::iterator & | ) |
OBEdgeBase * Begin | ( | std::vector< OBEdgeBase * >::iterator & | ) |
OBEdgeBase * Next | ( | std::vector< OBEdgeBase * >::iterator & | ) |
virtual OBBase* DoTransformations | ( | const std::map< std::string, std::string > * | pOptions | ) | [inline, virtual, inherited] |
Reimplemented in OBMol.
static const char* ClassDescription | ( | ) | [inline, static, inherited] |
Reimplemented in OBMol.
bool _vlock [protected] |
std::vector<OBNodeBase*> _vatom [protected] |
std::vector<OBEdgeBase*> _vbond [protected] |