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

#include <Bpp/Graph/GlobalGraph.h>

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

Public Member Functions

 NodesIteratorClass (const GlobalGraph &gg, GlobalGraph::NodeId node)
 
 NodesIteratorClass (GlobalGraph &gg, GlobalGraph::NodeId node)
 
 ~NodesIteratorClass ()
 
void next ()
 
bool end () const
 
void start ()
 
Graph::NodeId operator* ()
 

Protected Types

typedef std::conditional< is_const, const std::map< GlobalGraph::Node, GlobalGraph::Edge > &, std::map< GlobalGraph::Node, GlobalGraph::Edge > & >::type mapType
 
typedef std::conditional< is_const, std::map< GlobalGraph::Node, GlobalGraph::Edge >::const_iterator, std::map< GlobalGraph::Node, GlobalGraph::Edge >::iterator >::type itType
 

Protected Attributes

mapType map_
 
itType it_
 
itType begin_
 
itType end_
 

Detailed Description

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

Definition at line 829 of file GlobalGraph.h.

Member Typedef Documentation

◆ itType

template<bool is_const>
typedef std::conditional<is_const, std::map<GlobalGraph::Node, GlobalGraph::Edge>::const_iterator, std::map<GlobalGraph::Node, GlobalGraph::Edge>::iterator>::type bpp::NeighborIteratorClass< is_const >::itType
protectedinherited

Definition at line 796 of file GlobalGraph.h.

◆ mapType

template<bool is_const>
typedef std::conditional<is_const, const std::map<GlobalGraph::Node, GlobalGraph::Edge>&, std::map<GlobalGraph::Node, GlobalGraph::Edge>&>::type bpp::NeighborIteratorClass< is_const >::mapType
protectedinherited

Definition at line 790 of file GlobalGraph.h.

Constructor & Destructor Documentation

◆ NodesIteratorClass() [1/2]

template<bool is_const>
bpp::NodesIteratorClass< Graph::OUTGOINGNEIGHBORITER, is_const >::NodesIteratorClass ( const GlobalGraph gg,
GlobalGraph::NodeId  node 
)
inline

Definition at line 819 of file GlobalGraph.h.

◆ NodesIteratorClass() [2/2]

template<bool is_const>
bpp::NodesIteratorClass< Graph::OUTGOINGNEIGHBORITER, is_const >::NodesIteratorClass ( GlobalGraph gg,
GlobalGraph::NodeId  node 
)
inline

Definition at line 819 of file GlobalGraph.h.

◆ ~NodesIteratorClass()

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

Definition at line 819 of file GlobalGraph.h.

Member Function Documentation

◆ end()

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

Implements bpp::Graph::NodeIterator.

Definition at line 841 of file GlobalGraph.h.

◆ next()

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

Implements bpp::Graph::NodeIterator.

Definition at line 840 of file GlobalGraph.h.

◆ operator*()

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

Implements bpp::Graph::NodeIterator.

Definition at line 844 of file GlobalGraph.h.

◆ start()

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

Implements bpp::Graph::NodeIterator.

Definition at line 842 of file GlobalGraph.h.

Member Data Documentation

◆ begin_

template<bool is_const>
itType bpp::NeighborIteratorClass< is_const >::begin_
protectedinherited

Definition at line 798 of file GlobalGraph.h.

◆ end_

template<bool is_const>
itType bpp::NeighborIteratorClass< is_const >::end_
protectedinherited

Definition at line 798 of file GlobalGraph.h.

◆ it_

template<bool is_const>
itType bpp::NeighborIteratorClass< is_const >::it_
protectedinherited

Definition at line 798 of file GlobalGraph.h.

◆ map_

template<bool is_const>
mapType bpp::NeighborIteratorClass< is_const >::map_
protectedinherited

Definition at line 792 of file GlobalGraph.h.


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