OBGraphBase Class Reference

Graph Base Class. More...

#include <base.h>

Inheritance diagram for OBGraphBase:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 OBGraphBase ()
 OBGraphBase (const OBGraphBase &src)
virtual ~OBGraphBase ()
unsigned int NumNodes ()
unsigned int NumEdges ()
void ResetVisitFlags ()
bool SetVisitLock (bool)
bool GetVisitLock ()
OBNodeBaseBegin (std::vector< OBNodeBase * >::iterator &)
OBNodeBaseNext (std::vector< OBNodeBase * >::iterator &)
OBEdgeBaseBegin (std::vector< OBEdgeBase * >::iterator &)
OBEdgeBaseNext (std::vector< OBEdgeBase * >::iterator &)
virtual OBBaseDoTransformations (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

Detailed Description

Graph Base Class.

The base class for graphs (e.g. rings, molecules, etc.) in a graph-theoretical representation.


Constructor & Destructor Documentation

OBGraphBase (  )  [inline]

OBGraphBase ( const OBGraphBase src  )  [inline]

virtual ~OBGraphBase (  )  [inline, virtual]


Member Function Documentation

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.


Member Data Documentation

bool _vlock [protected]

std::vector<OBNodeBase*> _vatom [protected]

std::vector<OBEdgeBase*> _vbond [protected]


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