NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Public Members | List of all members
nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator > Struct Template Reference

Detailed description

template< uint32 STRIDE, uint32 WHICH, typename BaseIterator>
struct nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >

A helper class to select a component out of a vector of interleaved data.

Definition at line 39 of file deinterleaved_iterator.h.

#include <deinterleaved_iterator.h>

Public Types

typedef std::iterator_traits
< BaseIterator >::value_type 
value_type
 
typedef std::iterator_traits
< BaseIterator >::reference 
reference
 
typedef const value_typepointer
 
typedef int32 difference_type
 
typedef
std::random_access_iterator_tag 
iterator_category
 
typedef deinterleaved_iterator
< STRIDE, WHICH, BaseIterator > 
this_type
 

Public Methods

NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE 
deinterleaved_iterator ()
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE 
deinterleaved_iterator (const BaseIterator it)
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE 
deinterleaved_iterator (const deinterleaved_iterator &it)
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE value_type 
operator[] (const uint32 i) const
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE reference 
operator[] (const uint32 i)
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE reference 
operator* () const
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
deinterleaved_iterator
operator++ ()
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
deinterleaved_iterator 
operator++ (int i)
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
deinterleaved_iterator
operator-- ()
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
deinterleaved_iterator 
operator-- (int i)
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
deinterleaved_iterator 
operator+ (const difference_type i) const
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
deinterleaved_iterator 
operator- (const difference_type i) const
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
deinterleaved_iterator
operator+= (const difference_type i)
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
deinterleaved_iterator
operator-= (const difference_type i)
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
difference_type 
operator- (const deinterleaved_iterator &it) const
 
NVBIO_HOST_DEVICE_TEMPLATE
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
deinterleaved_iterator
operator= (const deinterleaved_iterator &it)
 

Public Members

BaseIterator m_it
 

Member Typedef Documentation

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
typedef int32 nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::difference_type

Definition at line 44 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
typedef std::random_access_iterator_tag nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::iterator_category

Definition at line 45 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
typedef const value_type* nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::pointer

Definition at line 43 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
typedef std::iterator_traits<BaseIterator>::reference nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::reference

Definition at line 42 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
typedef deinterleaved_iterator<STRIDE,WHICH,BaseIterator> nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::this_type

Definition at line 47 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
typedef std::iterator_traits<BaseIterator>::value_type nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::value_type

Definition at line 41 of file deinterleaved_iterator.h.

Constructor & Destructor Documentation

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::deinterleaved_iterator ( )
inline

constructor

Definition at line 53 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::deinterleaved_iterator ( const BaseIterator  it)
inline

constructor

Definition at line 59 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::deinterleaved_iterator ( const deinterleaved_iterator< STRIDE, WHICH, BaseIterator > &  it)
inline

copy constructor

Definition at line 65 of file deinterleaved_iterator.h.

Member Function Documentation

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE reference nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator* ( ) const
inline

dereference operator

Definition at line 83 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE deinterleaved_iterator nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator+ ( const difference_type  i) const
inline

addition

Definition at line 131 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE deinterleaved_iterator& nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator++ ( )
inline

pre-increment

Definition at line 89 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE deinterleaved_iterator nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator++ ( int  i)
inline

post-increment

Definition at line 99 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE deinterleaved_iterator& nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator+= ( const difference_type  i)
inline

addition

Definition at line 149 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE deinterleaved_iterator nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator- ( const difference_type  i) const
inline

subtraction

Definition at line 140 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE difference_type nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator- ( const deinterleaved_iterator< STRIDE, WHICH, BaseIterator > &  it) const
inline

iterator subtraction

Definition at line 169 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE deinterleaved_iterator& nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator-- ( )
inline

pre-decrement

Definition at line 110 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE deinterleaved_iterator nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator-- ( int  i)
inline

post-decrement

Definition at line 120 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE deinterleaved_iterator& nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator-= ( const difference_type  i)
inline

subtraction

Definition at line 159 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE deinterleaved_iterator& nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator= ( const deinterleaved_iterator< STRIDE, WHICH, BaseIterator > &  it)
inline

assignment

Definition at line 178 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE value_type nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator[] ( const uint32  i) const
inline

indexing operator

Definition at line 71 of file deinterleaved_iterator.h.

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
NVBIO_HOST_DEVICE_TEMPLATE NVBIO_FORCEINLINE NVBIO_HOST_DEVICE reference nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::operator[] ( const uint32  i)
inline

indexing operator

Definition at line 77 of file deinterleaved_iterator.h.

Member Data Documentation

template<uint32 STRIDE, uint32 WHICH, typename BaseIterator >
BaseIterator nvbio::deinterleaved_iterator< STRIDE, WHICH, BaseIterator >::m_it

Definition at line 184 of file deinterleaved_iterator.h.


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