#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
Definition at line 41 of file molecularGraph.h.
typedef std::list<EdgeItem<Node, Edge>*>::const_iterator BALL::NodeItem< Node, Edge >::ConstIterator |
Definition at line 56 of file molecularGraph.h.
typedef EdgeItem<Node, Edge> BALL::NodeItem< Node, Edge >::EdgeItemType |
Definition at line 51 of file molecularGraph.h.
typedef std::list<EdgeItem<Node, Edge>*>::iterator BALL::NodeItem< Node, Edge >::Iterator |
Definition at line 54 of file molecularGraph.h.
typedef NodeItem<Node, Edge> BALL::NodeItem< Node, Edge >::NodeItemType |
Definition at line 48 of file molecularGraph.h.
BALL::NodeItem< Node, Edge >::NodeItem | ( | ) | [inline] |
Definition at line 380 of file molecularGraph.h.
BALL::NodeItem< Node, Edge >::NodeItem | ( | const Atom & | atom | ) | [inline] |
Definition at line 387 of file molecularGraph.h.
NodeItem< Node, Edge >::ConstIterator BALL::NodeItem< Node, Edge >::begin | ( | ) | const [inline] |
Definition at line 438 of file molecularGraph.h.
NodeItem< Node, Edge >::Iterator BALL::NodeItem< Node, Edge >::begin | ( | ) | [inline] |
Definition at line 431 of file molecularGraph.h.
void BALL::NodeItem< Node, Edge >::deleteEdge_ | ( | EdgeItemType * | item | ) | [inline, protected] |
Definition at line 480 of file molecularGraph.h.
NodeItem< Node, Edge >::ConstIterator BALL::NodeItem< Node, Edge >::end | ( | ) | const [inline] |
Definition at line 452 of file molecularGraph.h.
NodeItem< Node, Edge >::Iterator BALL::NodeItem< Node, Edge >::end | ( | ) | [inline] |
Definition at line 445 of file molecularGraph.h.
Atom * BALL::NodeItem< Node, Edge >::getAtom | ( | ) | [inline] |
Definition at line 424 of file molecularGraph.h.
const Atom * BALL::NodeItem< Node, Edge >::getAtom | ( | ) | const [inline] |
Definition at line 417 of file molecularGraph.h.
const Node & BALL::NodeItem< Node, Edge >::getData | ( | ) | const [inline] |
Definition at line 401 of file molecularGraph.h.
Node & BALL::NodeItem< Node, Edge >::getData | ( | ) | [inline] |
Definition at line 394 of file molecularGraph.h.
Size BALL::NodeItem< Node, Edge >::getDegree | ( | ) | const [inline] |
Definition at line 459 of file molecularGraph.h.
bool BALL::NodeItem< Node, Edge >::operator!= | ( | const NodeItem< Node, Edge > & | item | ) | const [inline] |
Definition at line 473 of file molecularGraph.h.
bool BALL::NodeItem< Node, Edge >::operator== | ( | const NodeItem< Node, Edge > & | item | ) | const [inline] |
Definition at line 466 of file molecularGraph.h.
void BALL::NodeItem< Node, Edge >::setData | ( | const Node & | data | ) | [inline] |
Definition at line 409 of file molecularGraph.h.
friend class TMolecularGraph< Node, Edge > [friend] |
Definition at line 59 of file molecularGraph.h.
std::list<EdgeItemType*> BALL::NodeItem< Node, Edge >::adjacent_edges_ [protected] |
Definition at line 88 of file molecularGraph.h.
Atom* BALL::NodeItem< Node, Edge >::atom_ [protected] |
Definition at line 87 of file molecularGraph.h.
Node BALL::NodeItem< Node, Edge >::data_ [protected] |
Definition at line 86 of file molecularGraph.h.