#include <BALL/STRUCTURE/molecularGraph.h>
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 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 > |
The node type in a molecular graph
typedef std::list<EdgeItem<Node, Edge>*>::const_iterator BALL::NodeItem< Node, Edge >::ConstIterator |
typedef EdgeItem<Node, Edge> BALL::NodeItem< Node, Edge >::EdgeItemType |
typedef std::list<EdgeItem<Node, Edge>*>::iterator BALL::NodeItem< Node, Edge >::Iterator |
typedef NodeItem<Node, Edge> BALL::NodeItem< Node, Edge >::NodeItemType |
BALL::NodeItem< Node, Edge >::NodeItem | ( | ) | [inline] |
BALL::NodeItem< Node, Edge >::NodeItem | ( | const Atom & | atom | ) | [inline] |
NodeItem< Node, Edge >::ConstIterator BALL::NodeItem< Node, Edge >::begin | ( | ) | const [inline] |
References BALL::NodeItem< Node, Edge >::adjacent_edges_.
NodeItem< Node, Edge >::Iterator BALL::NodeItem< Node, Edge >::begin | ( | ) | [inline] |
References BALL::NodeItem< Node, Edge >::adjacent_edges_.
void BALL::NodeItem< Node, Edge >::deleteEdge_ | ( | EdgeItemType * | item | ) | [inline, protected] |
References BALL::NodeItem< Node, Edge >::adjacent_edges_.
NodeItem< Node, Edge >::ConstIterator BALL::NodeItem< Node, Edge >::end | ( | ) | const [inline] |
References BALL::NodeItem< Node, Edge >::adjacent_edges_.
NodeItem< Node, Edge >::Iterator BALL::NodeItem< Node, Edge >::end | ( | ) | [inline] |
References BALL::NodeItem< Node, Edge >::adjacent_edges_.
Atom * BALL::NodeItem< Node, Edge >::getAtom | ( | ) | [inline] |
References BALL::NodeItem< Node, Edge >::atom_.
const Atom * BALL::NodeItem< Node, Edge >::getAtom | ( | ) | const [inline] |
References BALL::NodeItem< Node, Edge >::atom_.
const Node & BALL::NodeItem< Node, Edge >::getData | ( | ) | const [inline] |
References BALL::NodeItem< Node, Edge >::data_.
Node & BALL::NodeItem< Node, Edge >::getData | ( | ) | [inline] |
References BALL::NodeItem< Node, Edge >::data_.
Size BALL::NodeItem< Node, Edge >::getDegree | ( | ) | const [inline] |
References BALL::NodeItem< Node, Edge >::adjacent_edges_.
bool BALL::NodeItem< Node, Edge >::operator!= | ( | const NodeItem< Node, Edge > & | item | ) | const [inline] |
References BALL::NodeItem< Node, Edge >::atom_.
bool BALL::NodeItem< Node, Edge >::operator== | ( | const NodeItem< Node, Edge > & | item | ) | const [inline] |
References BALL::NodeItem< Node, Edge >::atom_.
void BALL::NodeItem< Node, Edge >::setData | ( | const Node & | data | ) | [inline] |
References BALL::NodeItem< Node, Edge >::data_.
friend class TMolecularGraph< Node, Edge > [friend] |
std::list<EdgeItemType*> BALL::NodeItem< Node, Edge >::adjacent_edges_ [protected] |
Atom* BALL::NodeItem< Node, Edge >::atom_ [protected] |
Node BALL::NodeItem< Node, Edge >::data_ [protected] |
Referenced by BALL::NodeItem< Node, Edge >::getData(), and BALL::NodeItem< Node, Edge >::setData().