Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::mpi::detail::comm_edge_iterator Class Reference

INTERNAL ONLY. More...

#include <graph_communicator.hpp>

Inheritance diagram for boost::mpi::detail::comm_edge_iterator:
Collaboration diagram for boost::mpi::detail::comm_edge_iterator:

Public Member Functions

 comm_edge_iterator ()
 
 comm_edge_iterator (int nedges)
 Constructor for a past-the-end iterator. More...
 
 comm_edge_iterator (shared_array< int > indices, shared_array< int > edges)
 

Protected Member Functions

const std::pair< int, int > & dereference () const
 
bool equal (const comm_edge_iterator &other) const
 
void increment ()
 

Protected Attributes

shared_array< int > indices
 
shared_array< int > edges
 
int edge_index
 
std::pair< int, int > edge
 

Friends

class boost::iterator_core_access
 

Detailed Description

INTERNAL ONLY.

The iterator used to access the edges in a communicator's graph topology.

Constructor & Destructor Documentation

boost::mpi::detail::comm_edge_iterator::comm_edge_iterator ( )
inline
boost::mpi::detail::comm_edge_iterator::comm_edge_iterator ( int  nedges)
inline

Constructor for a past-the-end iterator.

boost::mpi::detail::comm_edge_iterator::comm_edge_iterator ( shared_array< int >  indices,
shared_array< int >  edges 
)
inline

Member Function Documentation

const std::pair<int, int>& boost::mpi::detail::comm_edge_iterator::dereference ( ) const
inlineprotected

References edge, edge_index, edges, and indices.

bool boost::mpi::detail::comm_edge_iterator::equal ( const comm_edge_iterator other) const
inlineprotected

References edge_index.

void boost::mpi::detail::comm_edge_iterator::increment ( )
inlineprotected

References edge_index.

Friends And Related Function Documentation

friend class boost::iterator_core_access
friend

Member Data Documentation

std::pair<int, int> boost::mpi::detail::comm_edge_iterator::edge
mutableprotected

Referenced by dereference().

int boost::mpi::detail::comm_edge_iterator::edge_index
protected

Referenced by dereference(), equal(), and increment().

shared_array<int> boost::mpi::detail::comm_edge_iterator::edges
protected

Referenced by dereference().

shared_array<int> boost::mpi::detail::comm_edge_iterator::indices
protected

Referenced by dereference().


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