Bolt  1.3
C++ template library with support for OpenCL
Classes | Typedefs | Functions | Variables | Friends
AMP-CountingIterator

Classes

class  bolt::amp::counting_iterator< value_type >
 

Typedefs

typedef std::iterator
< counting_iterator_tag,
typename value_type, int >
::difference_type 
bolt::amp::counting_iterator< value_type >::difference_type
 
typedef
concurrency::array_view
< value_type > 
bolt::amp::counting_iterator< value_type >::arrayview_type
 
typedef counting_iterator
< value_type > 
bolt::amp::counting_iterator< value_type >::const_iterator
 

Functions

 bolt::amp::counting_iterator< value_type >::counting_iterator (value_type init, const control &ctl=control::getDefault())
 
template<typename OtherType >
 bolt::amp::counting_iterator< value_type >::counting_iterator (const counting_iterator< OtherType > &rhs)
 
counting_iterator< value_type > & bolt::amp::counting_iterator< value_type >::operator= (const counting_iterator< value_type > &rhs)
 
counting_iterator< value_type > & bolt::amp::counting_iterator< value_type >::operator+= (const difference_type &n)
 
const counting_iterator
< value_type > 
bolt::amp::counting_iterator< value_type >::operator+ (const difference_type &n) const
 
const counting_iterator
< value_type > 
bolt::amp::counting_iterator< value_type >::operator- (const difference_type &n) const
 
const counting_iterator
< value_type > & 
bolt::amp::counting_iterator< value_type >::getBuffer (const_iterator itr) const
 
value_type * bolt::amp::counting_iterator< value_type >::getPointer ()
 
const value_type * bolt::amp::counting_iterator< value_type >::getPointer () const
 
const counting_iterator
< value_type > & 
bolt::amp::counting_iterator< value_type >::getContainer () const
 
difference_type bolt::amp::counting_iterator< value_type >::operator- (const counting_iterator< value_type > &rhs) const
 
void bolt::amp::counting_iterator< value_type >::advance (difference_type n)
 
counting_iterator< value_type > bolt::amp::counting_iterator< value_type >::operator++ ()
 
counting_iterator< value_type > bolt::amp::counting_iterator< value_type >::operator++ (int)
 
counting_iterator< value_type > bolt::amp::counting_iterator< value_type >::operator-- ()
 
counting_iterator< value_type > bolt::amp::counting_iterator< value_type >::operator-- (int)
 
difference_type bolt::amp::counting_iterator< value_type >::getIndex () const
 
template<typename OtherType >
bool bolt::amp::counting_iterator< value_type >::operator== (const counting_iterator< OtherType > &rhs) const
 
template<typename OtherType >
bool bolt::amp::counting_iterator< value_type >::operator!= (const counting_iterator< OtherType > &rhs) const
 
template<typename OtherType >
bool bolt::amp::counting_iterator< value_type >::operator< (const counting_iterator< OtherType > &rhs) const
 
value_type bolt::amp::counting_iterator< value_type >::operator* () const restrict(cpu
 
value_type bolt::amp::counting_iterator< value_type >::operator[] (int x) const restrict(cpu
 
template<typename Type >
counting_iterator< Type > bolt::amp::make_counting_iterator (Type initValue)
 

Variables

difference_type bolt::amp::counting_iterator< value_type >::m_Index
 
value_type bolt::amp::counting_iterator< value_type >::amp
 
return bolt::amp::counting_iterator< value_type >::xy
 
return bolt::amp::counting_iterator< value_type >::temp
 

Friends

template<typename >
class bolt::amp::counting_iterator< value_type >::counting_iterator
 

Detailed Description

Variable Documentation

template<typename value_type>
value_type bolt::amp::counting_iterator< value_type >::amp
Initial value:
{
value_type xy = m_initValue + m_Index