Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cl::vector< T, N >::iterator Class Reference

Iterator class for vectors. More...

#include <JETSCAPE/blob/main/external_packages/clvisc_wrapper/include/cl.hpp>

Public Member Functions

 iterator (void)
 
 ~iterator (void)
 
bool operator== (iterator i)
 
bool operator!= (iterator i)
 
void operator++ ()
 
void operator++ (int x)
 
void operator-- ()
 
void operator-- (int x)
 
T operator* ()
 

Static Public Member Functions

static iterator begin (vector< T, N > &vec)
 
static iterator end (vector< T, N > &vec)
 

Private Attributes

vector< T, Nvec_
 
int index_
 
bool initialized_
 

Detailed Description

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
class cl::vector< T, N >::iterator

Iterator class for vectors.

Definition at line 566 of file cl.hpp.

View newest version in sPHENIX GitHub at line 566 of file cl.hpp

Constructor & Destructor Documentation

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
cl::vector< T, N >::iterator::iterator ( void  )
inline

Definition at line 573 of file cl.hpp.

View newest version in sPHENIX GitHub at line 573 of file cl.hpp

References cl::vector< T, N >::iterator::index_, and cl::vector< T, N >::iterator::initialized_.

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
cl::vector< T, N >::iterator::~iterator ( void  )
inline

Definition at line 581 of file cl.hpp.

View newest version in sPHENIX GitHub at line 581 of file cl.hpp

Member Function Documentation

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
static iterator cl::vector< T, N >::iterator::begin ( vector< T, N > &  vec)
inlinestatic

Definition at line 583 of file cl.hpp.

View newest version in sPHENIX GitHub at line 583 of file cl.hpp

References cl::vector< T, N >::empty(), i, cl::vector< T, N >::iterator::index_, cl::vector< T, N >::iterator::initialized_, vec, and cl::vector< T, N >::iterator::vec_.

Referenced by cl::vector< ::size_t, N >::begin().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
static iterator cl::vector< T, N >::iterator::end ( vector< T, N > &  vec)
inlinestatic

Definition at line 596 of file cl.hpp.

View newest version in sPHENIX GitHub at line 596 of file cl.hpp

References cl::vector< T, N >::empty(), i, cl::vector< T, N >::iterator::index_, cl::vector< T, N >::iterator::initialized_, cl::vector< T, N >::size(), vec, and cl::vector< T, N >::iterator::vec_.

Referenced by cl::vector< ::size_t, N >::end().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
bool cl::vector< T, N >::iterator::operator!= ( iterator  i)
inline

Definition at line 615 of file cl.hpp.

View newest version in sPHENIX GitHub at line 615 of file cl.hpp

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
T cl::vector< T, N >::iterator::operator* ( )
inline

Definition at line 640 of file cl.hpp.

View newest version in sPHENIX GitHub at line 640 of file cl.hpp

References cl::vector< T, N >::iterator::index_, and cl::vector< T, N >::iterator::vec_.

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
void cl::vector< T, N >::iterator::operator++ ( )
inline

Definition at line 620 of file cl.hpp.

View newest version in sPHENIX GitHub at line 620 of file cl.hpp

References cl::vector< T, N >::iterator::index_.

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
void cl::vector< T, N >::iterator::operator++ ( int  x)
inline

Definition at line 625 of file cl.hpp.

View newest version in sPHENIX GitHub at line 625 of file cl.hpp

References cl::vector< T, N >::iterator::index_, and ambiguity_solver_full_chain::x.

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
void cl::vector< T, N >::iterator::operator-- ( )
inline

Definition at line 630 of file cl.hpp.

View newest version in sPHENIX GitHub at line 630 of file cl.hpp

References cl::vector< T, N >::iterator::index_.

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
void cl::vector< T, N >::iterator::operator-- ( int  x)
inline

Definition at line 635 of file cl.hpp.

View newest version in sPHENIX GitHub at line 635 of file cl.hpp

References cl::vector< T, N >::iterator::index_, and ambiguity_solver_full_chain::x.

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
bool cl::vector< T, N >::iterator::operator== ( iterator  i)
inline

Definition at line 608 of file cl.hpp.

View newest version in sPHENIX GitHub at line 608 of file cl.hpp

References cl::vector< T, N >::iterator::index_, cl::vector< T, N >::iterator::initialized_, and cl::vector< T, N >::iterator::vec_.

Member Data Documentation

template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
int cl::vector< T, N >::iterator::index_
private
template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
bool cl::vector< T, N >::iterator::initialized_
private
template<typename T, unsigned int N = __MAX_DEFAULT_VECTOR_SIZE>
vector<T,N> cl::vector< T, N >::iterator::vec_
private

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