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

#include <BALL/STRUCTURE/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 ()
 NodeItem (const Atom &atom)
Node & getData ()
const Node & getData () const
void setData (const Node &data)
const AtomgetAtom () const
AtomgetAtom ()
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_
Atomatom_
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


Member Typedef Documentation

template<typename Node, typename Edge>
typedef std::list<EdgeItem<Node, Edge>*>::const_iterator BALL::NodeItem< Node, Edge >::ConstIterator
template<typename Node, typename Edge>
typedef EdgeItem<Node, Edge> BALL::NodeItem< Node, Edge >::EdgeItemType
template<typename Node, typename Edge>
typedef std::list<EdgeItem<Node, Edge>*>::iterator BALL::NodeItem< Node, Edge >::Iterator
template<typename Node, typename Edge>
typedef NodeItem<Node, Edge> BALL::NodeItem< Node, Edge >::NodeItemType

Constructor & Destructor Documentation

template<typename Node , typename Edge >
BALL::NodeItem< Node, Edge >::NodeItem (  )  [inline]
template<typename Node , typename Edge >
BALL::NodeItem< Node, Edge >::NodeItem ( const Atom atom  )  [inline]

Member Function Documentation

template<typename Node , typename Edge >
NodeItem< Node, Edge >::ConstIterator BALL::NodeItem< Node, Edge >::begin (  )  const [inline]
template<typename Node , typename Edge >
NodeItem< Node, Edge >::Iterator BALL::NodeItem< Node, Edge >::begin (  )  [inline]
template<typename Node , typename Edge >
void BALL::NodeItem< Node, Edge >::deleteEdge_ ( EdgeItemType item  )  [inline, protected]
template<typename Node , typename Edge >
NodeItem< Node, Edge >::ConstIterator BALL::NodeItem< Node, Edge >::end (  )  const [inline]
template<typename Node , typename Edge >
NodeItem< Node, Edge >::Iterator BALL::NodeItem< Node, Edge >::end (  )  [inline]
template<typename Node , typename Edge >
Atom * BALL::NodeItem< Node, Edge >::getAtom (  )  [inline]
template<typename Node , typename Edge >
const Atom * BALL::NodeItem< Node, Edge >::getAtom (  )  const [inline]
template<typename Node , typename Edge >
const Node & BALL::NodeItem< Node, Edge >::getData (  )  const [inline]
template<typename Node , typename Edge >
Node & BALL::NodeItem< Node, Edge >::getData (  )  [inline]
template<typename Node , typename Edge >
Size BALL::NodeItem< Node, Edge >::getDegree (  )  const [inline]
template<typename Node , typename Edge >
bool BALL::NodeItem< Node, Edge >::operator!= ( const NodeItem< Node, Edge > &  item  )  const [inline]
template<typename Node , typename Edge >
bool BALL::NodeItem< Node, Edge >::operator== ( const NodeItem< Node, Edge > &  item  )  const [inline]
template<typename Node , typename Edge >
void BALL::NodeItem< Node, Edge >::setData ( const Node &  data  )  [inline]

Friends And Related Function Documentation

template<typename Node, typename Edge>
friend class TMolecularGraph< Node, Edge > [friend]

Member Data Documentation

template<typename Node, typename Edge>
Node BALL::NodeItem< Node, Edge >::data_ [protected]