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

#include <ParticleAttrib.h>

Inheritance diagram for ParticleAttribIterator< T >:
Collaboration diagram for ParticleAttribIterator< 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 ParticleAttribIterator< T > PETE_Expr_t
typedef T PETE_Return_t
typedef ParticleAttribIterator< T > Wrapped

Public Member Functions

 ParticleAttribIterator ()
 ParticleAttribIterator (ParticleAttrib< T > *pa)
 ParticleAttribIterator (ParticleAttrib< T > *pa, size_t offset)
 ParticleAttribIterator (const ParticleAttribIterator< T > &i)
PETE_Expr_t MakeExpression () const
PETE_Return_toperator* (void) const
T * operator-> () const
ParticleAttribIterator< T > & operator++ (void)
ParticleAttribIterator< T > operator++ (int)
ParticleAttribIterator< T > & operator-- (void)
ParticleAttribIterator< T > operator-- (int)
ParticleAttribIterator< T > & operator+= (size_t n)
ParticleAttribIterator< T > operator+ (size_t n) const
ParticleAttribIterator< T > & operator-= (size_t n)
ParticleAttribIterator< T > operator- (size_t n) const
size_t operator- (const ParticleAttribIterator< T > &a) const
ParticleAttribIterator< T > operator[] (size_t n) const
ParticleAttribIterator< T > & at_end (void)
bool operator== (const ParticleAttribIterator< T > &a) const
bool operator!= (const ParticleAttribIterator< T > &a) const
bool operator< (const ParticleAttribIterator< T > &a) const
bool operator<= (const ParticleAttribIterator< T > &a) const
bool operator> (const ParticleAttribIterator< T > &a) const
bool operator>= (const ParticleAttribIterator< T > &a) const
size_t size () const
T * getP () const
ParticleAttribIterator< T > & PETE_unwrap ()

Private Attributes

ParticleAttrib< T > * attrib
ParticleList_t::iterator curr

Detailed Description

template<class T>
class ParticleAttribIterator< T >

Definition at line 567 of file ParticleAttrib.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 572 of file ParticleAttrib.h.

◆ iterator_category

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

Definition at line 575 of file ParticleAttrib.h.

◆ ParticleList_t

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

Definition at line 570 of file ParticleAttrib.h.

◆ PETE_Expr_t

template<class T>
typedef ParticleAttribIterator<T> ParticleAttribIterator< T >::PETE_Expr_t

Definition at line 589 of file ParticleAttrib.h.

◆ PETE_Return_t

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

Definition at line 590 of file ParticleAttrib.h.

◆ pointer

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

Definition at line 573 of file ParticleAttrib.h.

◆ reference

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

Definition at line 574 of file ParticleAttrib.h.

◆ value_type

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

Definition at line 571 of file ParticleAttrib.h.

◆ Wrapped

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

Definition at line 79 of file PETE.h.

Constructor & Destructor Documentation

◆ ParticleAttribIterator() [1/4]

◆ ParticleAttribIterator() [2/4]

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

Definition at line 579 of file ParticleAttrib.h.

References attrib, begin(), and curr.

Here is the call graph for this function:

◆ ParticleAttribIterator() [3/4]

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

Definition at line 582 of file ParticleAttrib.h.

References attrib, begin(), and curr.

Here is the call graph for this function:

◆ ParticleAttribIterator() [4/4]

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

Definition at line 585 of file ParticleAttrib.h.

References attrib, curr, and ParticleAttribIterator().

Here is the call graph for this function:

Member Function Documentation

◆ at_end()

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

Definition at line 647 of file ParticleAttrib.h.

References attrib, curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ getP()

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

Definition at line 677 of file ParticleAttrib.h.

Referenced by operator->().

◆ MakeExpression()

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

Definition at line 591 of file ParticleAttrib.h.

◆ operator!=()

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

Definition at line 656 of file ParticleAttrib.h.

References a, curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator*()

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

Definition at line 592 of file ParticleAttrib.h.

References curr.

◆ operator+()

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

Definition at line 622 of file ParticleAttrib.h.

References ParticleAttribIterator().

Here is the call graph for this function:

◆ operator++() [1/2]

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

Definition at line 600 of file ParticleAttrib.h.

References curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator++() [2/2]

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

Definition at line 595 of file ParticleAttrib.h.

References curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator+=()

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

Definition at line 617 of file ParticleAttrib.h.

References curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator-() [1/2]

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

Definition at line 639 of file ParticleAttrib.h.

References a, curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator-() [2/2]

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

Definition at line 633 of file ParticleAttrib.h.

References ParticleAttribIterator().

Here is the call graph for this function:

◆ operator--() [1/2]

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

Definition at line 611 of file ParticleAttrib.h.

References curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator--() [2/2]

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

Definition at line 606 of file ParticleAttrib.h.

References curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator-=()

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

Definition at line 628 of file ParticleAttrib.h.

References curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator->()

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

Definition at line 593 of file ParticleAttrib.h.

References getP().

Here is the call graph for this function:

◆ operator<()

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

Definition at line 660 of file ParticleAttrib.h.

References a, curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator<=()

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

Definition at line 664 of file ParticleAttrib.h.

References a, curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator==()

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

Definition at line 652 of file ParticleAttrib.h.

References a, curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator>()

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

Definition at line 668 of file ParticleAttrib.h.

References a, curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator>=()

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

Definition at line 672 of file ParticleAttrib.h.

References a, curr, and ParticleAttribIterator().

Here is the call graph for this function:

◆ operator[]()

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

Definition at line 643 of file ParticleAttrib.h.

References ParticleAttribIterator().

Here is the call graph for this function:

◆ PETE_unwrap()

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

Definition at line 81 of file PETE.h.

◆ size()

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

Definition at line 676 of file ParticleAttrib.h.

References attrib.

Referenced by scatter().

Member Data Documentation

◆ attrib

◆ curr


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