OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Types | Public Member Functions | Private Attributes | List of all members
ParticleAttribConstIterator< T > Class Template Reference

#include <ParticleAttrib.h>

Inheritance diagram for ParticleAttribConstIterator< T >:
Inheritance graph
[legend]
Collaboration diagram for ParticleAttribConstIterator< T >:
Collaboration graph
[legend]

Public Types

typedef ParticleAttrib< T >::ParticleList_t ParticleList_t
 
typedef T value_type
 
typedef std::ptrdiff_t difference_type
 
typedef T * pointer
 
typedef T & reference
 
typedef std::random_access_iterator_tag iterator_category
 
typedef ParticleAttribConstIterator< T > PETE_Expr_t
 
typedef T PETE_Return_t
 
- Public Types inherited from PETE_Expr< ParticleAttribConstIterator< T > >
typedef ParticleAttribConstIterator< T > Wrapped
 

Public Member Functions

 ParticleAttribConstIterator ()
 
 ParticleAttribConstIterator (const ParticleAttrib< T > *pa)
 
 ParticleAttribConstIterator (const ParticleAttrib< T > *pa, size_t offset)
 
 ParticleAttribConstIterator (const ParticleAttribConstIterator< T > &i)
 
PETE_Expr_t MakeExpression () const
 
const PETE_Return_toperator* (void) const
 
T const * operator-> () const
 
ParticleAttribConstIterator< T > & operator= (const ParticleAttribConstIterator< T > &)=default
 
ParticleAttribConstIterator< T > & operator++ (void)
 
ParticleAttribConstIterator< T > operator++ (int)
 
ParticleAttribConstIterator< T > & operator-- (void)
 
ParticleAttribConstIterator< T > operator-- (int)
 
ParticleAttribConstIterator< T > & operator+= (size_t n)
 
ParticleAttribConstIterator< T > operator+ (size_t n) const
 
ParticleAttribConstIterator< T > & operator-= (size_t n)
 
ParticleAttribConstIterator< T > operator- (size_t n) const
 
size_t operator- (const ParticleAttribConstIterator< T > &a) const
 
ParticleAttribConstIterator< T > operator[] (size_t n) const
 
ParticleAttribConstIterator< T > & at_end (void)
 
bool operator== (const ParticleAttribConstIterator< T > &a) const
 
bool operator!= (const ParticleAttribConstIterator< T > &a) const
 
bool operator< (const ParticleAttribConstIterator< T > &a) const
 
bool operator<= (const ParticleAttribConstIterator< T > &a) const
 
bool operator> (const ParticleAttribConstIterator< T > &a) const
 
bool operator>= (const ParticleAttribConstIterator< T > &a) const
 
size_t size () const
 
T const * getP () const
 
- Public Member Functions inherited from PETE_Expr< ParticleAttribConstIterator< T > >
ParticleAttribConstIterator< T > & PETE_unwrap ()
 
const ParticleAttribConstIterator< T > & PETE_unwrap () const
 

Private Attributes

ParticleAttrib< T > const * attrib
 
ParticleList_t::const_iterator curr
 

Detailed Description

template<class T>
class ParticleAttribConstIterator< T >

Definition at line 690 of file ParticleAttrib.h.

Member Typedef Documentation

◆ difference_type

template<class T >
typedef std::ptrdiff_t ParticleAttribConstIterator< T >::difference_type

Definition at line 695 of file ParticleAttrib.h.

◆ iterator_category

template<class T >
typedef std::random_access_iterator_tag ParticleAttribConstIterator< T >::iterator_category

Definition at line 698 of file ParticleAttrib.h.

◆ ParticleList_t

Definition at line 693 of file ParticleAttrib.h.

◆ PETE_Expr_t

Definition at line 712 of file ParticleAttrib.h.

◆ PETE_Return_t

template<class T >
typedef T ParticleAttribConstIterator< T >::PETE_Return_t

Definition at line 713 of file ParticleAttrib.h.

◆ pointer

template<class T >
typedef T* ParticleAttribConstIterator< T >::pointer

Definition at line 696 of file ParticleAttrib.h.

◆ reference

template<class T >
typedef T& ParticleAttribConstIterator< T >::reference

Definition at line 697 of file ParticleAttrib.h.

◆ value_type

template<class T >
typedef T ParticleAttribConstIterator< T >::value_type

Definition at line 694 of file ParticleAttrib.h.

Constructor & Destructor Documentation

◆ ParticleAttribConstIterator() [1/4]

template<class T >
ParticleAttribConstIterator< T >::ParticleAttribConstIterator ( )
inline

Definition at line 700 of file ParticleAttrib.h.

◆ ParticleAttribConstIterator() [2/4]

template<class T >
ParticleAttribConstIterator< T >::ParticleAttribConstIterator ( const ParticleAttrib< T > *  pa)
inline

Definition at line 702 of file ParticleAttrib.h.

◆ ParticleAttribConstIterator() [3/4]

template<class T >
ParticleAttribConstIterator< T >::ParticleAttribConstIterator ( const ParticleAttrib< T > *  pa,
size_t  offset 
)
inline

Definition at line 705 of file ParticleAttrib.h.

◆ ParticleAttribConstIterator() [4/4]

template<class T >
ParticleAttribConstIterator< T >::ParticleAttribConstIterator ( const ParticleAttribConstIterator< T > &  i)
inline

Definition at line 708 of file ParticleAttrib.h.

Member Function Documentation

◆ at_end()

template<class T >
ParticleAttribConstIterator<T>& ParticleAttribConstIterator< T >::at_end ( void  )
inline

◆ getP()

template<class T >
T const* ParticleAttribConstIterator< T >::getP ( ) const
inline

Definition at line 805 of file ParticleAttrib.h.

Referenced by ParticleAttribConstIterator< T >::operator->().

◆ MakeExpression()

template<class T >
PETE_Expr_t ParticleAttribConstIterator< T >::MakeExpression ( ) const
inline

Definition at line 714 of file ParticleAttrib.h.

◆ operator!=()

template<class T >
bool ParticleAttribConstIterator< T >::operator!= ( const ParticleAttribConstIterator< T > &  a) const
inline

Definition at line 783 of file ParticleAttrib.h.

References a, and ParticleAttribConstIterator< T >::curr.

◆ operator*()

template<class T >
const PETE_Return_t& ParticleAttribConstIterator< T >::operator* ( void  ) const
inline

Definition at line 715 of file ParticleAttrib.h.

References ParticleAttribConstIterator< T >::curr.

◆ operator+()

template<class T >
ParticleAttribConstIterator<T> ParticleAttribConstIterator< T >::operator+ ( size_t  n) const
inline

Definition at line 749 of file ParticleAttrib.h.

References Hypervolume::n.

◆ operator++() [1/2]

template<class T >
ParticleAttribConstIterator<T> ParticleAttribConstIterator< T >::operator++ ( int  )
inline

Definition at line 727 of file ParticleAttrib.h.

References ParticleAttribConstIterator< T >::curr.

◆ operator++() [2/2]

template<class T >
ParticleAttribConstIterator<T>& ParticleAttribConstIterator< T >::operator++ ( void  )
inline

Definition at line 722 of file ParticleAttrib.h.

References ParticleAttribConstIterator< T >::curr.

◆ operator+=()

template<class T >
ParticleAttribConstIterator<T>& ParticleAttribConstIterator< T >::operator+= ( size_t  n)
inline

Definition at line 744 of file ParticleAttrib.h.

References ParticleAttribConstIterator< T >::curr, and Hypervolume::n.

◆ operator-() [1/2]

template<class T >
size_t ParticleAttribConstIterator< T >::operator- ( const ParticleAttribConstIterator< T > &  a) const
inline

Definition at line 766 of file ParticleAttrib.h.

References a, and ParticleAttribConstIterator< T >::curr.

◆ operator-() [2/2]

template<class T >
ParticleAttribConstIterator<T> ParticleAttribConstIterator< T >::operator- ( size_t  n) const
inline

Definition at line 760 of file ParticleAttrib.h.

References Hypervolume::n.

◆ operator--() [1/2]

template<class T >
ParticleAttribConstIterator<T> ParticleAttribConstIterator< T >::operator-- ( int  )
inline

Definition at line 738 of file ParticleAttrib.h.

References ParticleAttribConstIterator< T >::curr.

◆ operator--() [2/2]

template<class T >
ParticleAttribConstIterator<T>& ParticleAttribConstIterator< T >::operator-- ( void  )
inline

Definition at line 733 of file ParticleAttrib.h.

References ParticleAttribConstIterator< T >::curr.

◆ operator-=()

template<class T >
ParticleAttribConstIterator<T>& ParticleAttribConstIterator< T >::operator-= ( size_t  n)
inline

Definition at line 755 of file ParticleAttrib.h.

References ParticleAttribConstIterator< T >::curr, and Hypervolume::n.

◆ operator->()

template<class T >
T const* ParticleAttribConstIterator< T >::operator-> ( ) const
inline

Definition at line 717 of file ParticleAttrib.h.

References ParticleAttribConstIterator< T >::getP().

Here is the call graph for this function:

◆ operator<()

template<class T >
bool ParticleAttribConstIterator< T >::operator< ( const ParticleAttribConstIterator< T > &  a) const
inline

Definition at line 787 of file ParticleAttrib.h.

References a, and ParticleAttribConstIterator< T >::curr.

◆ operator<=()

template<class T >
bool ParticleAttribConstIterator< T >::operator<= ( const ParticleAttribConstIterator< T > &  a) const
inline

Definition at line 791 of file ParticleAttrib.h.

References a, and ParticleAttribConstIterator< T >::curr.

◆ operator=()

template<class T >
ParticleAttribConstIterator<T>& ParticleAttribConstIterator< T >::operator= ( const ParticleAttribConstIterator< T > &  )
default

◆ operator==()

template<class T >
bool ParticleAttribConstIterator< T >::operator== ( const ParticleAttribConstIterator< T > &  a) const
inline

Definition at line 779 of file ParticleAttrib.h.

References a, and ParticleAttribConstIterator< T >::curr.

◆ operator>()

template<class T >
bool ParticleAttribConstIterator< T >::operator> ( const ParticleAttribConstIterator< T > &  a) const
inline

Definition at line 795 of file ParticleAttrib.h.

References a, and ParticleAttribConstIterator< T >::curr.

◆ operator>=()

template<class T >
bool ParticleAttribConstIterator< T >::operator>= ( const ParticleAttribConstIterator< T > &  a) const
inline

Definition at line 799 of file ParticleAttrib.h.

References a, and ParticleAttribConstIterator< T >::curr.

◆ operator[]()

template<class T >
ParticleAttribConstIterator<T> ParticleAttribConstIterator< T >::operator[] ( size_t  n) const
inline

Definition at line 770 of file ParticleAttrib.h.

References Hypervolume::n.

◆ size()

template<class T >
size_t ParticleAttribConstIterator< T >::size ( void  ) const
inline

Definition at line 804 of file ParticleAttrib.h.

References ParticleAttribConstIterator< T >::attrib.

Referenced by for_each(), and scatter().

Member Data Documentation

◆ attrib

template<class T >
ParticleAttrib<T> const* ParticleAttribConstIterator< T >::attrib
private

◆ curr

template<class T >
ParticleList_t::const_iterator ParticleAttribConstIterator< T >::curr
private

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