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

Definition at line 41 of file molecularGraph.h.


Member Typedef Documentation

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

Definition at line 56 of file molecularGraph.h.

template<typename Node, typename Edge>
typedef EdgeItem<Node, Edge> BALL::NodeItem< Node, Edge >::EdgeItemType

Definition at line 51 of file molecularGraph.h.

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

Definition at line 54 of file molecularGraph.h.

template<typename Node, typename Edge>
typedef NodeItem<Node, Edge> BALL::NodeItem< Node, Edge >::NodeItemType

Definition at line 48 of file molecularGraph.h.


Constructor & Destructor Documentation

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

Definition at line 380 of file molecularGraph.h.

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

Definition at line 387 of file molecularGraph.h.


Member Function Documentation

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

Definition at line 438 of file molecularGraph.h.

template<typename Node , typename Edge >
NodeItem< Node, Edge >::Iterator BALL::NodeItem< Node, Edge >::begin (  )  [inline]

Definition at line 431 of file molecularGraph.h.

template<typename Node , typename Edge >
void BALL::NodeItem< Node, Edge >::deleteEdge_ ( EdgeItemType item  )  [inline, protected]

Definition at line 480 of file molecularGraph.h.

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

Definition at line 452 of file molecularGraph.h.

template<typename Node , typename Edge >
NodeItem< Node, Edge >::Iterator BALL::NodeItem< Node, Edge >::end (  )  [inline]

Definition at line 445 of file molecularGraph.h.

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

Definition at line 424 of file molecularGraph.h.

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

Definition at line 417 of file molecularGraph.h.

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

Definition at line 401 of file molecularGraph.h.

template<typename Node , typename Edge >
Node & BALL::NodeItem< Node, Edge >::getData (  )  [inline]

Definition at line 394 of file molecularGraph.h.

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

Definition at line 459 of file molecularGraph.h.

template<typename Node , typename Edge >
bool BALL::NodeItem< Node, Edge >::operator!= ( const NodeItem< Node, Edge > &  item  )  const [inline]

Definition at line 473 of file molecularGraph.h.

template<typename Node , typename Edge >
bool BALL::NodeItem< Node, Edge >::operator== ( const NodeItem< Node, Edge > &  item  )  const [inline]

Definition at line 466 of file molecularGraph.h.

template<typename Node , typename Edge >
void BALL::NodeItem< Node, Edge >::setData ( const Node &  data  )  [inline]

Definition at line 409 of file molecularGraph.h.


Friends And Related Function Documentation

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

Definition at line 59 of file molecularGraph.h.


Member Data Documentation

template<typename Node, typename Edge>
std::list<EdgeItemType*> BALL::NodeItem< Node, Edge >::adjacent_edges_ [protected]

Definition at line 88 of file molecularGraph.h.

template<typename Node, typename Edge>
Atom* BALL::NodeItem< Node, Edge >::atom_ [protected]

Definition at line 87 of file molecularGraph.h.

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

Definition at line 86 of file molecularGraph.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Generated by  doxygen 1.6.3