#include <BALL/STRUCTURE/molecularGraph.h>
Public Types | |
typedef NodeItem< Node, Edge > | NodeItemType |
typedef EdgeItem< Node, Edge > | EdgeItemType |
typedef std::list< NodeItem < Node, Edge > * >::iterator | Iterator |
typedef std::list< NodeItem < Node, Edge > * >::const_iterator | ConstIterator |
Public Member Functions | |
EdgeItem () | |
EdgeItem (const Bond &bond) | |
EdgeItem (const Bond &bond, NodeItemType *source, NodeItemType *target) | |
NodeItemType & | getSource () |
NodeItemType & | getTarget () |
const NodeItemType & | getSource () const |
const NodeItemType & | getTarget () const |
Node & | getData () |
const Node & | getData () const |
void | setData (const Edge &data) |
Bond * | getBond () |
const Bond * | getBond () const |
bool | operator== (const EdgeItem &item) const |
bool | operator!= (const EdgeItem &item) const |
Protected Attributes | |
Edge | data_ |
Bond * | bond_ |
NodeItemType * | source_ |
NodeItemType * | target_ |
typedef std::list<NodeItem<Node, Edge>*>::const_iterator BALL::EdgeItem< Node, Edge >::ConstIterator |
typedef EdgeItem<Node, Edge> BALL::EdgeItem< Node, Edge >::EdgeItemType |
typedef std::list<NodeItem<Node, Edge>*>::iterator BALL::EdgeItem< Node, Edge >::Iterator |
typedef NodeItem<Node, Edge> BALL::EdgeItem< Node, Edge >::NodeItemType |
BALL::EdgeItem< Node, Edge >::EdgeItem | ( | ) | [inline] |
BALL::EdgeItem< Node, Edge >::EdgeItem | ( | const Bond & | bond | ) | [inline] |
BALL::EdgeItem< Node, Edge >::EdgeItem | ( | const Bond & | bond, | |
NodeItemType * | source, | |||
NodeItemType * | target | |||
) |
const Bond* BALL::EdgeItem< Node, Edge >::getBond | ( | ) | const [inline] |
Bond* BALL::EdgeItem< Node, Edge >::getBond | ( | ) | [inline] |
const Node& BALL::EdgeItem< Node, Edge >::getData | ( | ) | const [inline] |
Node& BALL::EdgeItem< Node, Edge >::getData | ( | ) | [inline] |
const NodeItemType& BALL::EdgeItem< Node, Edge >::getSource | ( | ) | const [inline] |
NodeItemType& BALL::EdgeItem< Node, Edge >::getSource | ( | ) | [inline] |
const NodeItemType& BALL::EdgeItem< Node, Edge >::getTarget | ( | ) | const [inline] |
NodeItemType& BALL::EdgeItem< Node, Edge >::getTarget | ( | ) | [inline] |
bool BALL::EdgeItem< Node, Edge >::operator!= | ( | const EdgeItem< Node, Edge > & | item | ) | const [inline] |
bool BALL::EdgeItem< Node, Edge >::operator== | ( | const EdgeItem< Node, Edge > & | item | ) | const [inline] |
void BALL::EdgeItem< Node, Edge >::setData | ( | const Edge & | data | ) | [inline] |
Bond* BALL::EdgeItem< Node, Edge >::bond_ [protected] |
Edge BALL::EdgeItem< Node, Edge >::data_ [protected] |
Referenced by BALL::EdgeItem< Index, Index >::getData(), and BALL::EdgeItem< Index, Index >::setData().
NodeItemType* BALL::EdgeItem< Node, Edge >::source_ [protected] |
Referenced by BALL::EdgeItem< Index, Index >::getSource().
NodeItemType* BALL::EdgeItem< Node, Edge >::target_ [protected] |
Referenced by BALL::EdgeItem< Index, Index >::getTarget().