BALL::NodeItem< Node, Edge > Class Template Reference
[Miscellaneous]

The node type in a molecular graph. More...

#include <molecularGraph.h>

List of all members.


Public Types

Type definitions
typedef NodeItem< Node, Edge > NodeItemType
typedef EdgeItem< Node, Edge > EdgeItemType
typedef std::list< EdgeItem
< Node, Edge > * >::iterator
Iterator
typedef std::list< EdgeItem
< Node, Edge >
* >::const_iterator
ConstIterator

Public Member Functions

NodeItem (const Atom &atom)
Node & getData ()
const Node & getData () const
void setData (const Node &data)
const Atom * getAtom () const
Atom * getAtom ()
Iterator begin ()
ConstIterator begin () const
Iterator end ()
ConstIterator end () const
Size getDegree () const
bool operator== (const NodeItem &item) const
bool operator!= (const NodeItem &item) const

Protected Member Functions

void deleteEdge_ (EdgeItemType *item)

Protected Attributes

Node data_
Atom * atom_
std::list< EdgeItemType * > adjacent_edges_

Friends

class TMolecularGraph< Node, Edge >

Detailed Description

template<typename Node, typename Edge>
class BALL::NodeItem< Node, Edge >

The node type in a molecular graph.

Generated on Thu Aug 6 18:30:47 2009 for BALL by doxygen 1.5.8