OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
ParticleAttribConstIterator< T > Class Template Reference

#include <ParticleAttrib.h>

Inheritance diagram for ParticleAttribConstIterator< T >:
Collaboration diagram for ParticleAttribConstIterator< T >:

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
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
ParticleAttribConstIterator< T > & PETE_unwrap ()

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

template<class T>
typedef ParticleAttrib<T>::ParticleList_t ParticleAttribConstIterator< T >::ParticleList_t

Definition at line 693 of file ParticleAttrib.h.

◆ PETE_Expr_t

template<class T>
typedef ParticleAttribConstIterator<T> ParticleAttribConstIterator< T >::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.

◆ Wrapped

typedef ParticleAttribConstIterator< T > PETE_Expr< ParticleAttribConstIterator< T > >::Wrapped
inherited

Definition at line 79 of file PETE.h.

Constructor & Destructor Documentation

◆ ParticleAttribConstIterator() [1/4]

◆ ParticleAttribConstIterator() [2/4]

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

Definition at line 702 of file ParticleAttrib.h.

References attrib, begin(), and curr.

Here is the call graph for this function:

◆ 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.

References attrib, begin(), and curr.

Here is the call graph for this function:

◆ ParticleAttribConstIterator() [4/4]

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

Definition at line 708 of file ParticleAttrib.h.

References attrib, curr, and ParticleAttribConstIterator().

Here is the call graph for this function:

Member Function Documentation

◆ at_end()

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

Definition at line 774 of file ParticleAttrib.h.

References attrib, curr, and ParticleAttribConstIterator().

Here is the call graph for this function:

◆ getP()

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

Definition at line 805 of file ParticleAttrib.h.

Referenced by 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, curr, and ParticleAttribConstIterator().

Here is the call graph for this function:

◆ operator*()

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

Definition at line 715 of file ParticleAttrib.h.

References curr.

◆ operator+()

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

Definition at line 749 of file ParticleAttrib.h.

References ParticleAttribConstIterator().

Here is the call graph for this function:

◆ operator++() [1/2]

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

Definition at line 727 of file ParticleAttrib.h.

References curr, and ParticleAttribConstIterator().

Here is the call graph for this function:

◆ operator++() [2/2]

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

Definition at line 722 of file ParticleAttrib.h.

References curr, and ParticleAttribConstIterator().

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 744 of file ParticleAttrib.h.

References curr, and ParticleAttribConstIterator().

Here is the call graph for this function:

◆ 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, curr, and ParticleAttribConstIterator().

Here is the call graph for this function:

◆ 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 ParticleAttribConstIterator().

Here is the call graph for this function:

◆ operator--() [1/2]

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

Definition at line 738 of file ParticleAttrib.h.

References curr, and ParticleAttribConstIterator().

Here is the call graph for this function:

◆ operator--() [2/2]

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

Definition at line 733 of file ParticleAttrib.h.

References curr, and ParticleAttribConstIterator().

Here is the call graph for this function:

◆ operator-=()

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

Definition at line 755 of file ParticleAttrib.h.

References curr, and ParticleAttribConstIterator().

Here is the call graph for this function:

◆ operator->()

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

Definition at line 717 of file ParticleAttrib.h.

References 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, curr, and ParticleAttribConstIterator().

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 791 of file ParticleAttrib.h.

References a, curr, and ParticleAttribConstIterator().

Here is the call graph for this function:

◆ operator=()

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

References ParticleAttribConstIterator().

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 779 of file ParticleAttrib.h.

References a, curr, and ParticleAttribConstIterator().

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 795 of file ParticleAttrib.h.

References a, curr, and ParticleAttribConstIterator().

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 799 of file ParticleAttrib.h.

References a, curr, and ParticleAttribConstIterator().

Here is the call graph for this function:

◆ operator[]()

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

Definition at line 770 of file ParticleAttrib.h.

References ParticleAttribConstIterator().

Here is the call graph for this function:

◆ PETE_unwrap()

ParticleAttribConstIterator< T > & PETE_Expr< ParticleAttribConstIterator< T > >::PETE_unwrap ( )
inlineinherited

Definition at line 81 of file PETE.h.

◆ size()

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

Definition at line 804 of file ParticleAttrib.h.

References attrib.

Referenced by for_each(), and scatter().

Member Data Documentation

◆ attrib

◆ curr


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