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

#include <ParticleAttrib.h>

Inheritance diagram for ParticleAttribIterator< T >:
Inheritance graph
[legend]
Collaboration diagram for ParticleAttribIterator< 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 ParticleAttribIterator< T > PETE_Expr_t
 
typedef T PETE_Return_t
 
- Public Types inherited from PETE_Expr< ParticleAttribIterator< 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
 
- Public Member Functions inherited from PETE_Expr< ParticleAttribIterator< T > >
ParticleAttribIterator< T > & PETE_unwrap ()
 
const ParticleAttribIterator< T > & PETE_unwrap () const
 

Private Attributes

ParticleAttrib< T > * attrib
 
ParticleList_t::iterator curr
 

Detailed Description

template<class T>
class ParticleAttribIterator< T >

Definition at line 92 of file ParticleAttrib.h.

Member Typedef Documentation

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

Definition at line 572 of file ParticleAttrib.h.

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

Definition at line 575 of file ParticleAttrib.h.

Definition at line 570 of file ParticleAttrib.h.

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

Definition at line 589 of file ParticleAttrib.h.

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

Definition at line 590 of file ParticleAttrib.h.

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

Definition at line 573 of file ParticleAttrib.h.

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

Definition at line 574 of file ParticleAttrib.h.

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

Definition at line 571 of file ParticleAttrib.h.

Constructor & Destructor Documentation

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

Definition at line 577 of file ParticleAttrib.h.

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

Definition at line 579 of file ParticleAttrib.h.

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

Definition at line 582 of file ParticleAttrib.h.

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

Definition at line 585 of file ParticleAttrib.h.

Member Function Documentation

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

Definition at line 677 of file ParticleAttrib.h.

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

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

Definition at line 591 of file ParticleAttrib.h.

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

Definition at line 656 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::curr.

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

Definition at line 592 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::curr.

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

Definition at line 622 of file ParticleAttrib.h.

References Hypervolume::n.

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

Definition at line 595 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::curr.

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

Definition at line 600 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::curr.

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

Definition at line 617 of file ParticleAttrib.h.

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

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

Definition at line 633 of file ParticleAttrib.h.

References Hypervolume::n.

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

Definition at line 639 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::curr.

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

Definition at line 606 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::curr.

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

Definition at line 611 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::curr.

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

Definition at line 628 of file ParticleAttrib.h.

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

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

Definition at line 593 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::getP().

Here is the call graph for this function:

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

Definition at line 660 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::curr.

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

Definition at line 664 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::curr.

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

Definition at line 652 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::curr.

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

Definition at line 668 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::curr.

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

Definition at line 672 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::curr.

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

Definition at line 643 of file ParticleAttrib.h.

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

Definition at line 676 of file ParticleAttrib.h.

References ParticleAttribIterator< T >::attrib.

Referenced by scatter().

Member Data Documentation

template<class T>
ParticleAttrib<T>* ParticleAttribIterator< T >::attrib
private
template<class T>
ParticleList_t::iterator ParticleAttribIterator< T >::curr
private

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