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::uint4_as_uint32_iterator< IteratorType > Struct Template Reference

Detailed description

template< typename IteratorType>
struct nvbio::uint4_as_uint32_iterator< IteratorType >

A utility class to view a uint4 iterator as a uint32 one

Definition at line 611 of file packedstream.h.

#include <packedstream.h>

Public Types

typedef uint32 value_type
 
typedef value_typepointer
 
typedef value_type reference
 
typedef std::iterator_traits
< IteratorType >
::difference_type 
difference_type
 
typedef std::iterator_traits
< IteratorType >
::iterator_category 
iterator_category
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint4_as_uint32_iterator ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint4_as_uint32_iterator (const IteratorType it)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE value_type 
operator[] (const uint32 i) const
 

Public Members

IteratorType m_it
 

Member Typedef Documentation

template<typename IteratorType >
typedef std::iterator_traits<IteratorType>::difference_type nvbio::uint4_as_uint32_iterator< IteratorType >::difference_type

Definition at line 616 of file packedstream.h.

template<typename IteratorType >
typedef std::iterator_traits<IteratorType>::iterator_category nvbio::uint4_as_uint32_iterator< IteratorType >::iterator_category

Definition at line 618 of file packedstream.h.

template<typename IteratorType >
typedef value_type* nvbio::uint4_as_uint32_iterator< IteratorType >::pointer

Definition at line 614 of file packedstream.h.

template<typename IteratorType >
typedef value_type nvbio::uint4_as_uint32_iterator< IteratorType >::reference

Definition at line 615 of file packedstream.h.

template<typename IteratorType >
typedef uint32 nvbio::uint4_as_uint32_iterator< IteratorType >::value_type

Definition at line 613 of file packedstream.h.

Constructor & Destructor Documentation

template<typename IteratorType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::uint4_as_uint32_iterator< IteratorType >::uint4_as_uint32_iterator ( )
inline

empty constructor

Definition at line 623 of file packedstream.h.

template<typename IteratorType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::uint4_as_uint32_iterator< IteratorType >::uint4_as_uint32_iterator ( const IteratorType  it)
inline

constructor

Definition at line 628 of file packedstream.h.

Member Function Documentation

template<typename IteratorType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE value_type nvbio::uint4_as_uint32_iterator< IteratorType >::operator[] ( const uint32  i) const
inline

indexing operator

Definition at line 633 of file packedstream.h.

Member Data Documentation

template<typename IteratorType >
IteratorType nvbio::uint4_as_uint32_iterator< IteratorType >::m_it

Definition at line 640 of file packedstream.h.


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