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

#include <Bpp/Graph/GlobalGraph.h>

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

Public Member Functions

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

Private Types

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

Private Attributes

itType it_
 
itType begin_
 
itType end_
 

Detailed Description

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

Definition at line 748 of file GlobalGraph.h.

Member Typedef Documentation

◆ itType

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

Definition at line 754 of file GlobalGraph.h.

Constructor & Destructor Documentation

◆ NodesIteratorClass() [1/2]

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

Definition at line 756 of file GlobalGraph.h.

◆ NodesIteratorClass() [2/2]

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

Definition at line 756 of file GlobalGraph.h.

◆ ~NodesIteratorClass()

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

Definition at line 756 of file GlobalGraph.h.

Member Function Documentation

◆ end()

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

Implements bpp::Graph::NodeIterator.

Definition at line 772 of file GlobalGraph.h.

◆ next()

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

Implements bpp::Graph::NodeIterator.

Definition at line 771 of file GlobalGraph.h.

◆ operator*()

template<bool is_const>
Graph::NodeId bpp::NodesIteratorClass< Graph::ALLGRAPHITER, is_const >::operator* ( )
inlinevirtual

Implements bpp::Graph::NodeIterator.

Definition at line 775 of file GlobalGraph.h.

◆ start()

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

Implements bpp::Graph::NodeIterator.

Definition at line 773 of file GlobalGraph.h.

Member Data Documentation

◆ begin_

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

Definition at line 756 of file GlobalGraph.h.

◆ end_

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

Definition at line 756 of file GlobalGraph.h.

◆ it_

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

Definition at line 756 of file GlobalGraph.h.


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