Bolt  1.3
C++ template library with support for OpenCL
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
bolt::amp::transform_iterator< UnaryFunc, Iterator > Class Template Reference
Inheritance diagram for bolt::amp::transform_iterator< UnaryFunc, Iterator >:

Public Types

typedef std::iterator
< transform_iterator_tag,
typename std::result_of
< UnaryFunc()>, int >
::difference_type 
difference_type
 
typedef UnaryFunc unary_func
 
typedef UnaryFunc::result_type value_type
 
typedef std::iterator_traits
< Iterator >::pointer 
pointer
 

Public Member Functions

 transform_iterator (Iterator iiter, UnaryFunc ifunc, const control &ctl=control::getDefault())
 
template<class OtherUnaryFunc , class OtherIter >
 transform_iterator (const transform_iterator< OtherUnaryFunc, OtherIter > &rhs)
 
transform_iterator< UnaryFunc,
Iterator > & 
operator= (const transform_iterator< UnaryFunc, Iterator > &rhs)
 
transform_iterator< UnaryFunc,
Iterator > & 
operator+= (const difference_type &n)
 
const transform_iterator
< UnaryFunc, Iterator > 
operator+ (const difference_type &n) const
 
const transform_iterator
< UnaryFunc, Iterator > 
operator- (const difference_type &n) const
 
const concurrency::array_view
< int > & 
getBuffer (transf_iterator itr) const
 
UnaryFunc functor () const
 
Iterator getContainer () const
 
difference_type operator- (const transform_iterator< UnaryFunc, Iterator > &rhs) const
 
void advance (difference_type n)
 
transform_iterator< UnaryFunc,
Iterator > 
operator++ ()
 
transform_iterator< UnaryFunc,
Iterator > 
operator++ (int)
 
transform_iterator< UnaryFunc,
Iterator > 
operator-- () const
 
transform_iterator< UnaryFunc,
Iterator > 
operator-- (int) const
 
difference_type getIndex () const
 
value_type * getPointer ()
 
const value_type * getPointer () const
 
template<class OtherUnaryFunc , class OtherIterator >
bool operator== (const transform_iterator< OtherUnaryFunc, OtherIterator > &rhs) const
 
template<class OtherUnaryFunc , class OtherIterator >
bool operator!= (const transform_iterator< OtherUnaryFunc, OtherIterator > &rhs) const
 
template<class OtherUnaryFunc , class OtherIterator >
bool operator< (const transform_iterator< OtherUnaryFunc, OtherIterator > &rhs) const
 
value_type operator* () const
 
value_type operator[] (int x) const restrict(cpu
 
value_type operator[] (int x) restrict(cpu
 

Public Attributes

difference_type m_Index
 
value_type amp
 
UnaryFunc func
 
Iterator iter
 

Friends

template<typename , typename >
class transform_iterator
 

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