BALL::EdgeItem< Node, Edge > Class Template Reference

#include <BALL/STRUCTURE/molecularGraph.h>

List of all members.


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)
NodeItemTypegetSource ()
NodeItemTypegetTarget ()
const NodeItemTypegetSource () const
const NodeItemTypegetTarget () const
Node & getData ()
const Node & getData () const
void setData (const Edge &data)
BondgetBond ()
const BondgetBond () const
bool operator== (const EdgeItem &item) const
bool operator!= (const EdgeItem &item) const

Protected Attributes

Edge data_
Bondbond_
NodeItemTypesource_
NodeItemTypetarget_

template<typename Node, typename Edge>
class BALL::EdgeItem< Node, Edge >


Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename Node, typename Edge>
BALL::EdgeItem< Node, Edge >::EdgeItem (  )  [inline]
template<typename Node , typename Edge >
BALL::EdgeItem< Node, Edge >::EdgeItem ( const Bond bond  )  [inline]
template<typename Node, typename Edge>
BALL::EdgeItem< Node, Edge >::EdgeItem ( const Bond bond,
NodeItemType source,
NodeItemType target 
)

Member Function Documentation

template<typename Node, typename Edge>
const Bond* BALL::EdgeItem< Node, Edge >::getBond (  )  const [inline]
template<typename Node, typename Edge>
Bond* BALL::EdgeItem< Node, Edge >::getBond (  )  [inline]
template<typename Node, typename Edge>
const Node& BALL::EdgeItem< Node, Edge >::getData (  )  const [inline]
template<typename Node, typename Edge>
Node& BALL::EdgeItem< Node, Edge >::getData (  )  [inline]
template<typename Node, typename Edge>
const NodeItemType& BALL::EdgeItem< Node, Edge >::getSource (  )  const [inline]
template<typename Node, typename Edge>
NodeItemType& BALL::EdgeItem< Node, Edge >::getSource (  )  [inline]
template<typename Node, typename Edge>
const NodeItemType& BALL::EdgeItem< Node, Edge >::getTarget (  )  const [inline]
template<typename Node, typename Edge>
NodeItemType& BALL::EdgeItem< Node, Edge >::getTarget (  )  [inline]
template<typename Node, typename Edge>
bool BALL::EdgeItem< Node, Edge >::operator!= ( const EdgeItem< Node, Edge > &  item  )  const [inline]
template<typename Node, typename Edge>
bool BALL::EdgeItem< Node, Edge >::operator== ( const EdgeItem< Node, Edge > &  item  )  const [inline]
template<typename Node, typename Edge>
void BALL::EdgeItem< Node, Edge >::setData ( const Edge &  data  )  [inline]

Member Data Documentation

template<typename Node, typename Edge>
Edge BALL::EdgeItem< Node, Edge >::data_ [protected]
template<typename Node, typename Edge>
NodeItemType* BALL::EdgeItem< Node, Edge >::source_ [protected]
template<typename Node, typename Edge>
NodeItemType* BALL::EdgeItem< Node, Edge >::target_ [protected]