NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
cached_iterator.h File Reference

CUDA-compatible iterator wrappers allowing to cache the dereferenced value of generic iterators. More...

#include <nvbio/basic/types.h>
#include <nvbio/basic/iterator.h>
#include <nvbio/basic/cached_iterator_inl.h>

Go to the source code of this file.

Classes

struct  nvbio::cached_iterator< InputStream >
 
struct  nvbio::const_cached_iterator< InputStream >
 

Namespaces

 nvbio
 Define a vector_view POD type and plain_view() for std::vector.
 

Functions

template<typename InputStream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
cached_iterator< InputStream > 
nvbio::make_cached_iterator (InputStream it)
 
template<typename InputStream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
const_cached_iterator
< InputStream > 
nvbio::make_const_cached_iterator (InputStream it)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator< (const const_cached_iterator< Stream > &it1, const const_cached_iterator< Stream > &it2)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator> (const const_cached_iterator< Stream > &it1, const const_cached_iterator< Stream > &it2)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator<= (const const_cached_iterator< Stream > &it1, const const_cached_iterator< Stream > &it2)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator>= (const const_cached_iterator< Stream > &it1, const const_cached_iterator< Stream > &it2)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator== (const const_cached_iterator< Stream > &it1, const const_cached_iterator< Stream > &it2)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::operator!= (const const_cached_iterator< Stream > &it1, const const_cached_iterator< Stream > &it2)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
const_cached_iterator< Stream > & 
nvbio::operator++ (const_cached_iterator< Stream > &it)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
const_cached_iterator< Stream > 
nvbio::operator++ (const_cached_iterator< Stream > &it, int dummy)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
const_cached_iterator< Stream > & 
nvbio::operator-- (const_cached_iterator< Stream > &it)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
const_cached_iterator< Stream > 
nvbio::operator-- (const_cached_iterator< Stream > &it, int dummy)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
const_cached_iterator< Stream > & 
nvbio::operator+= (const_cached_iterator< Stream > &it, const typename const_cached_iterator< Stream >::difference_type distance)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
const_cached_iterator< Stream > & 
nvbio::operator-= (const_cached_iterator< Stream > &it, const typename const_cached_iterator< Stream >::difference_type distance)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
const_cached_iterator< Stream > 
nvbio::operator+ (const const_cached_iterator< Stream > it, const typename const_cached_iterator< Stream >::difference_type distance)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
const_cached_iterator< Stream > 
nvbio::operator- (const const_cached_iterator< Stream > it, const typename const_cached_iterator< Stream >::difference_type distance)
 
template<typename Stream >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
const_cached_iterator< Stream >
::difference_type 
nvbio::operator- (const const_cached_iterator< Stream > it1, const const_cached_iterator< Stream > it2)
 

Detailed Description

CUDA-compatible iterator wrappers allowing to cache the dereferenced value of generic iterators.

Definition in file cached_iterator.h.