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

Namespaces

namespace  bolt
 Defining namespace for the Bolt project.
 
namespace  bolt::amp
 Namespace containing AMP related data types and functions.
 

Classes

struct  bolt::amp::transform_iterator_tag
 
class  bolt::amp::transform_iterator< UnaryFunc, Iterator >
 

Typedefs

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

Functions

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

Variables

difference_type bolt::amp::transform_iterator< UnaryFunc, Iterator >::m_Index
 
value_type bolt::amp::transform_iterator< UnaryFunc, Iterator >::amp
 
UnaryFunc bolt::amp::transform_iterator< UnaryFunc, Iterator >::func
 
Iterator bolt::amp::transform_iterator< UnaryFunc, Iterator >::iter
 

Friends

template<typename , typename >
class transform_iterator
 

Detailed Description

Variable Documentation

template<class UnaryFunc, class Iterator>
value_type transform_iterator< UnaryFunction, Iterator, Reference, Value >::amp
Initial value:
{
return func( iter[ x ] )