CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes | Friends
graph< N, E >::const_iterator::value_type Struct Reference

#include <adjgraph.h>

Public Member Functions

const E & edge (void) const
 
const Nfrom (void) const
 
const Nto (void) const
 
 value_type (const graph &g, index_type a, index_type e)
 

Private Attributes

index_type a_
 
index_type e_
 
const graphgr_
 

Friends

class graph< N, E >::const_iterator
 

Detailed Description

template<class N, class E>
struct graph< N, E >::const_iterator::value_type

Definition at line 31 of file adjgraph.h.

Constructor & Destructor Documentation

template<class N, class E>
graph< N, E >::const_iterator::value_type::value_type ( const graph g,
index_type  a,
index_type  e 
)
inline

Definition at line 34 of file adjgraph.h.

35  : gr_( g ), a_( a ), e_( e )
36  { }
double a
Definition: hdecay.h:121

Member Function Documentation

template<class N, class E>
const E& graph< N, E >::const_iterator::value_type::edge ( void  ) const
inline
template<class N, class E>
const N& graph< N, E >::const_iterator::value_type::from ( void  ) const
inline

Definition at line 38 of file adjgraph.h.

References graph< N, E >::const_iterator::value_type::a_, graph< N, E >::const_iterator::value_type::gr_, and graph< N, E >::nodeData().

38 { return gr_.nodeData( a_ ); }
const N & nodeData(const edge_type &) const
Definition: adjgraph.h:317
template<class N, class E>
const N& graph< N, E >::const_iterator::value_type::to ( void  ) const
inline

Friends And Related Function Documentation

template<class N, class E>
friend class graph< N, E >::const_iterator
friend

Definition at line 33 of file adjgraph.h.

Member Data Documentation

template<class N, class E>
index_type graph< N, E >::const_iterator::value_type::a_
private
template<class N, class E>
index_type graph< N, E >::const_iterator::value_type::e_
private
template<class N, class E>
const graph& graph< N, E >::const_iterator::value_type::gr_
private