Bolt  1.3
C++ template library with support for OpenCL
Classes | Public Types | Public Member Functions | Friends | List of all members
bolt::cl::transform_iterator< UnaryFunc, Iterator, Reference, Value > Class Template Reference
Inheritance diagram for bolt::cl::transform_iterator< UnaryFunc, Iterator, Reference, Value >:
bolt::cl::iterator_adaptor< Derived, Base, Value, Traversal, Reference, Difference > bolt::cl::iterator_facade< Derived, Value, CategoryOrTraversal, Reference, Difference >

Classes

struct  Payload
 

Public Types

typedef transform_iterator_tag iterator_category
 
typedef
bolt::cl::iterator_category
< Iterator >::type 
memory_system
 
typedef super_t iterator_base_class
 
typedef UnaryFunc unary_func
 
typedef std::iterator_traits
< Iterator >::value_type 
value_type
 
typedef std::ptrdiff_t difference_type
 
typedef std::iterator_traits
< Iterator >::pointer 
pointer
 
typedef transform_iterator
< unary_func, typename
bolt::cl::device_vector
< value_type >::iterator > 
device_transform_iterator
 
- Public Types inherited from bolt::cl::iterator_adaptor< Derived, Base, Value, Traversal, Reference, Difference >
typedef Base base_type
 
- Public Types inherited from bolt::cl::iterator_facade< Derived, Value, CategoryOrTraversal, Reference, Difference >
typedef std::remove_const
< Value >::type 
value_type
 
typedef Reference reference
 
typedef Difference difference_type
 
typedef std::add_pointer
< value_type >::type 
pointer
 
typedef
bolt::cl::detail::facade_iterator_category
< CategoryOrTraversal, Value,
Reference >::type 
iterator_category
 

Public Member Functions

 transform_iterator (Iterator const &x, UnaryFunc f)
 
 transform_iterator (Iterator const &x)
 
template<class OtherUnaryFunction , class OtherIterator , class OtherReference , class OtherValue >
 transform_iterator (transform_iterator< OtherUnaryFunction, OtherIterator, OtherReference, OtherValue > const &t, typename bolt::cl::enable_if_convertible< OtherIterator, Iterator >::type *=0, typename bolt::cl::enable_if_convertible< OtherUnaryFunction, UnaryFunc >::type *=0)
 
value_type * getPointer ()
 
const value_type * getPointer () const
 
UnaryFunc functor () const
 
template<typename Container >
Container & getContainer () const
 
const Payload gpuPayload () const
 
const difference_type gpuPayloadSize () const
 
int setKernelBuffers (int arg_num,::cl::Kernel &kernel) const
 
- Public Member Functions inherited from bolt::cl::iterator_adaptor< Derived, Base, Value, Traversal, Reference, Difference >
 iterator_adaptor (Base const &iter)
 
Base const & base () const
 
- Public Member Functions inherited from bolt::cl::iterator_facade< Derived, Value, CategoryOrTraversal, Reference, Difference >
reference operator* () const
 
pointer operator-> () const
 
reference operator[] (difference_type n) const
 
Derived & operator++ ()
 
Derived operator++ (int)
 
Derived & operator-- ()
 
Derived operator-- (int)
 
Derived & operator+= (difference_type n)
 
Derived & operator-= (difference_type n)
 
Derived operator- (difference_type x) const
 

Friends

class iterator_core_access
 

Additional Inherited Members

- Protected Types inherited from bolt::cl::iterator_adaptor< Derived, Base, Value, Traversal, Reference, Difference >
typedef
bolt::cl::detail::iterator_adaptor_base
< Derived, Base, Value,
Traversal, Reference,
Difference >::type 
super_t
 
typedef iterator_adaptor
< Derived, Base, Value,
Traversal, Reference,
Difference > 
iterator_adaptor_
 
- Protected Member Functions inherited from bolt::cl::iterator_adaptor< Derived, Base, Value, Traversal, Reference, Difference >
Base const & base_reference () const
 
Base & base_reference ()
 

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