OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
openfpm::detail::multi_array::array_iterator_openfpm< T, TPtr, NumDims, vector, Reference, IteratorCategory > Class Template Reference

Detailed Description

template<typename T, typename TPtr, typename NumDims, typename vector, typename Reference, typename IteratorCategory>
class openfpm::detail::multi_array::array_iterator_openfpm< T, TPtr, NumDims, vector, Reference, IteratorCategory >

Definition at line 46 of file multi_array_iterator_openfpm.hpp.

+ Inheritance diagram for openfpm::detail::multi_array::array_iterator_openfpm< T, TPtr, NumDims, vector, Reference, IteratorCategory >:

Public Types

typedef facade_type::reference reference
 
typedef facade_type::value_type value_type
 
typedef facade_type::difference_type difference_type
 

Public Member Functions

__device__ __host__ array_iterator_openfpm (index idx, TPtr base, const size_type extent, const index *strides)
 
template<typename OPtr , typename ORef , typename Cat >
 array_iterator_openfpm (const array_iterator_openfpm< T, OPtr, NumDims, vector, ORef, Cat > &rhs, typename boost::enable_if_convertible< OPtr, TPtr >::type *=0)
 
operator_arrow_proxy_openfpm< reference > operator-> () const
 
reference dereference () const
 
void increment ()
 
void decrement ()
 
template<class IteratorAdaptor >
bool equal (IteratorAdaptor &rhs) const
 
template<class DifferenceType >
void advance (DifferenceType n)
 
template<class IteratorAdaptor >
facade_type::difference_type distance_to (IteratorAdaptor &rhs) const
 

Private Types

typedef detail::multi_array::associated_types_openfpm< T, NumDims, vectoraccess_t
 
typedef boost::iterator_facade< array_iterator_openfpm< T, TPtr, NumDims, vector, Reference, IteratorCategory >, typename detail::multi_array::associated_types_openfpm< T, NumDims, vector >::value_type, boost::random_access_traversal_tag, Reference > facade_type
 
typedef access_t::index index
 
typedef access_t::size_type size_type
 

Private Attributes

index idx_
 
TPtr base_
 
const size_type extent
 
const index * strides_
 

Friends

class iterator_core_access
 
template<typename , typename , typename , typename , typename , typename >
class array_iterator_openfpm
 

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