CMS 3D CMS Logo

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

#include <adjgraph.h>

Public Member Functions

N firstToValue () const
 
secondToValue () const
 
 value_type (const N &n, const E &e)
 

Public Attributes

const Nfirst
 
const E & second
 

Detailed Description

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

Definition at line 111 of file adjgraph.h.

Constructor & Destructor Documentation

template<class N, class E>
graph< N, E >::value_type::value_type ( const N n,
const E &  e 
)
inline

Definition at line 112 of file adjgraph.h.

112 : first(n), second(e) { }
const N & first
Definition: adjgraph.h:113
const E & second
Definition: adjgraph.h:114

Member Function Documentation

template<class N, class E>
N graph< N, E >::value_type::firstToValue ( ) const
inline

Definition at line 115 of file adjgraph.h.

References graph< N, E >::value_type::first.

115 { return first; }
const N & first
Definition: adjgraph.h:113
template<class N, class E>
E graph< N, E >::value_type::secondToValue ( ) const
inline

Definition at line 116 of file adjgraph.h.

References graph< N, E >::value_type::second.

116 { return second; }
const E & second
Definition: adjgraph.h:114

Member Data Documentation

template<class N, class E>
const N& graph< N, E >::value_type::first
template<class N, class E>
const E& graph< N, E >::value_type::second