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_adj_iterator Class Reference

INTERNAL ONLY. More...

#include <graph_communicator.hpp>

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

Public Member Functions

 comm_adj_iterator ()
 
 comm_adj_iterator (shared_array< int > neighbors, int index)
 

Protected Member Functions

int dereference () const
 
bool equal (const comm_adj_iterator &other) const
 
void increment ()
 
void decrement ()
 
void advance (int n)
 
int distance_to (const comm_adj_iterator &other) const
 

Protected Attributes

shared_array< int > neighbors
 
int index
 

Friends

class boost::iterator_core_access
 

Detailed Description

INTERNAL ONLY.

The iterator used to access the adjacent vertices within a communicator's graph topology.

Constructor & Destructor Documentation

boost::mpi::detail::comm_adj_iterator::comm_adj_iterator ( )
inline
boost::mpi::detail::comm_adj_iterator::comm_adj_iterator ( shared_array< int >  neighbors,
int  index 
)
inline

Member Function Documentation

void boost::mpi::detail::comm_adj_iterator::advance ( int  n)
inlineprotected

References index, and boost::n.

void boost::mpi::detail::comm_adj_iterator::decrement ( )
inlineprotected

References index.

int boost::mpi::detail::comm_adj_iterator::dereference ( ) const
inlineprotected

References index, and neighbors.

int boost::mpi::detail::comm_adj_iterator::distance_to ( const comm_adj_iterator other) const
inlineprotected

References index.

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

References index, and neighbors.

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

References index.

Friends And Related Function Documentation

friend class boost::iterator_core_access
friend

Member Data Documentation

int boost::mpi::detail::comm_adj_iterator::index
protected
shared_array<int> boost::mpi::detail::comm_adj_iterator::neighbors
protected

Referenced by dereference(), and equal().


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