Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

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) throw ()
Node & getData () throw ()
const Node & getData () const throw ()
void setData (const Node &data) throw ()
const AtomgetAtom () const throw ()
AtomgetAtom () throw ()
Iterator begin () throw ()
ConstIterator begin () const throw ()
Iterator end () throw ()
ConstIterator end () const throw ()
Size getDegree () const throw ()
bool operator== (const NodeItem &item) const throw ()
bool operator!= (const NodeItem &item) const throw ()

Protected Member Functions

void deleteEdge_ (EdgeItemType *item) throw ()

Protected Attributes

Node data_
Atomatom_
std::list< EdgeItemType * > adjacent_edges_

Friends

class TMolecularGraph<Node, Edge>


Detailed Description

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

The node type in a molecular graph.