IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
ippl::Index::iterator Class Reference

#include <Index.h>

Collaboration diagram for ippl::Index::iterator:

Public Member Functions

 iterator ()
 iterator (int current, int stride=1)
int operator* ()
iterator operator-- (int)
iteratoroperator-- ()
iterator operator++ (int)
iteratoroperator++ ()
iteratoroperator+= (int i)
iteratoroperator-= (int i)
iterator operator+ (int i) const
iterator operator- (int i) const
int operator[] (int i) const
bool operator== (const iterator &y) const
bool operator< (const iterator &y) const
bool operator!= (const iterator &y) const
bool operator> (const iterator &y) const
bool operator<= (const iterator &y) const
bool operator>= (const iterator &y) const

Private Attributes

int current_m
int stride_m

Detailed Description

Definition at line 42 of file Index.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

ippl::Index::iterator::iterator ( )
inline

Definition at line 44 of file Index.h.

References current_m, and stride_m.

Referenced by operator!=(), operator+(), operator++(), operator++(), operator+=(), operator-(), operator--(), operator--(), operator-=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().

Here is the caller graph for this function:

◆ iterator() [2/2]

ippl::Index::iterator::iterator ( int current,
int stride = 1 )
inline

Definition at line 48 of file Index.h.

References current_m, ippl::Index::stride(), and stride_m.

Here is the call graph for this function:

Member Function Documentation

◆ operator!=()

bool ippl::Index::iterator::operator!= ( const iterator & y) const
inline

Definition at line 101 of file Index.h.

References iterator().

Here is the call graph for this function:

◆ operator*()

int ippl::Index::iterator::operator* ( )
inline

Definition at line 52 of file Index.h.

References current_m.

◆ operator+()

iterator ippl::Index::iterator::operator+ ( int i) const
inline

Definition at line 86 of file Index.h.

References current_m, iterator(), and stride_m.

Here is the call graph for this function:

◆ operator++() [1/2]

iterator & ippl::Index::iterator::operator++ ( )
inline

Definition at line 71 of file Index.h.

References current_m, iterator(), and stride_m.

Here is the call graph for this function:

◆ operator++() [2/2]

iterator ippl::Index::iterator::operator++ ( int )
inline

Definition at line 65 of file Index.h.

References current_m, iterator(), and stride_m.

Here is the call graph for this function:

◆ operator+=()

iterator & ippl::Index::iterator::operator+= ( int i)
inline

Definition at line 76 of file Index.h.

References current_m, iterator(), and stride_m.

Here is the call graph for this function:

◆ operator-()

iterator ippl::Index::iterator::operator- ( int i) const
inline

Definition at line 88 of file Index.h.

References current_m, iterator(), and stride_m.

Here is the call graph for this function:

◆ operator--() [1/2]

iterator & ippl::Index::iterator::operator-- ( )
inline

Definition at line 60 of file Index.h.

References current_m, iterator(), and stride_m.

Here is the call graph for this function:

◆ operator--() [2/2]

iterator ippl::Index::iterator::operator-- ( int )
inline

Definition at line 54 of file Index.h.

References current_m, iterator(), and stride_m.

Here is the call graph for this function:

◆ operator-=()

iterator & ippl::Index::iterator::operator-= ( int i)
inline

Definition at line 81 of file Index.h.

References current_m, iterator(), and stride_m.

Here is the call graph for this function:

◆ operator<()

bool ippl::Index::iterator::operator< ( const iterator & y) const
inline

Definition at line 96 of file Index.h.

References current_m, iterator(), and stride_m.

Here is the call graph for this function:

◆ operator<=()

bool ippl::Index::iterator::operator<= ( const iterator & y) const
inline

Definition at line 105 of file Index.h.

References iterator().

Here is the call graph for this function:

◆ operator==()

bool ippl::Index::iterator::operator== ( const iterator & y) const
inline

Definition at line 92 of file Index.h.

References current_m, iterator(), and stride_m.

Here is the call graph for this function:

◆ operator>()

bool ippl::Index::iterator::operator> ( const iterator & y) const
inline

Definition at line 103 of file Index.h.

References iterator().

Here is the call graph for this function:

◆ operator>=()

bool ippl::Index::iterator::operator>= ( const iterator & y) const
inline

Definition at line 107 of file Index.h.

References iterator().

Here is the call graph for this function:

◆ operator[]()

int ippl::Index::iterator::operator[] ( int i) const
inline

Definition at line 90 of file Index.h.

References current_m, and stride_m.

Member Data Documentation

◆ current_m

int ippl::Index::iterator::current_m
private

◆ stride_m

int ippl::Index::iterator::stride_m
private

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