bpp-core3  3.0.0
bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const > Class Template Reference

#include <Bpp/Graph/GlobalGraph.h>

+ Inheritance diagram for bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >:
+ Collaboration diagram for bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >:

Public Member Functions

template<bool B = is_const>
 EdgesIteratorClass (const GlobalGraph &gg, typename std::enable_if< B >::type *=0)
 
template<bool B = is_const>
 EdgesIteratorClass (GlobalGraph &gg, typename std::enable_if<!B >::type *=0)
 
 ~EdgesIteratorClass ()
 
void next ()
 
bool end () const
 
void start ()
 
Graph::EdgeId operator* ()
 

Private Types

typedef std::conditional< is_const, GlobalGraph::edgeStructureType::const_iterator, GlobalGraph::edgeStructureType::iterator >::type itType
 

Private Attributes

itType it_
 
itType begin_
 
itType end_
 

Detailed Description

template<bool is_const>
class bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >

Definition at line 878 of file GlobalGraph.h.

Member Typedef Documentation

◆ itType

template<bool is_const>
typedef std::conditional<is_const, GlobalGraph::edgeStructureType::const_iterator, GlobalGraph::edgeStructureType::iterator >::type bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >::itType
private

Definition at line 884 of file GlobalGraph.h.

Constructor & Destructor Documentation

◆ EdgesIteratorClass() [1/2]

template<bool is_const>
template<bool B = is_const>
bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >::EdgesIteratorClass ( const GlobalGraph gg,
typename std::enable_if< B >::type *  = 0 
)
inline

Definition at line 886 of file GlobalGraph.h.

◆ EdgesIteratorClass() [2/2]

template<bool is_const>
template<bool B = is_const>
bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >::EdgesIteratorClass ( GlobalGraph gg,
typename std::enable_if<!B >::type *  = 0 
)
inline

Definition at line 886 of file GlobalGraph.h.

◆ ~EdgesIteratorClass()

template<bool is_const>
bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >::~EdgesIteratorClass ( )
inline

Definition at line 886 of file GlobalGraph.h.

Member Function Documentation

◆ end()

template<bool is_const>
bool bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >::end ( ) const
inlinevirtual

Implements bpp::Graph::EdgeIterator.

Definition at line 902 of file GlobalGraph.h.

◆ next()

template<bool is_const>
void bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >::next ( )
inlinevirtual

Implements bpp::Graph::EdgeIterator.

Definition at line 901 of file GlobalGraph.h.

◆ operator*()

template<bool is_const>
Graph::EdgeId bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >::operator* ( )
inlinevirtual

Implements bpp::Graph::EdgeIterator.

Definition at line 905 of file GlobalGraph.h.

◆ start()

template<bool is_const>
void bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >::start ( )
inlinevirtual

Implements bpp::Graph::EdgeIterator.

Definition at line 903 of file GlobalGraph.h.

Member Data Documentation

◆ begin_

template<bool is_const>
itType bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >::begin_
private

Definition at line 886 of file GlobalGraph.h.

◆ end_

template<bool is_const>
itType bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >::end_
private

Definition at line 886 of file GlobalGraph.h.

◆ it_

template<bool is_const>
itType bpp::EdgesIteratorClass< Graph::ALLGRAPHITER, is_const >::it_
private

Definition at line 886 of file GlobalGraph.h.


The documentation for this class was generated from the following file: