NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
vector_view.h File Reference
#include <nvbio/basic/types.h>
#include <nvbio/basic/iterator.h>
#include <nvbio/strings/string_traits.h>
#include <iterator>
#include <vector>

Go to the source code of this file.

Classes

struct  nvbio::vector_view< Iterator, IndexType >
 
struct  nvbio::string_traits< vector_view< Iterator, IndexType > >
 
struct  nvbio::plain_view_subtype< std::vector< T > >
 
struct  nvbio::plain_view_subtype< const std::vector< T > >
 

Namespaces

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

Functions

template<typename Iterator >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
nvbio::length (const vector_view< Iterator > &vec)
 
template<typename T >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
nvbio::raw_pointer (const vector_view< T > &vec)
 
template<typename T , typename I >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
nvbio::begin (vector_view< T, I > &vec)
 
template<typename T , typename I >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE
nvbio::begin (const vector_view< T, I > &vec)
 
template<typename T >
vector_view< T *, uint64 > nvbio::plain_view (std::vector< T > &vec)
 
template<typename T >
vector_view< const T *, uint64 > nvbio::plain_view (const std::vector< T > &vec)
 
template<typename T >
T * nvbio::raw_pointer (std::vector< T > &vec)
 
template<typename T >
const T * nvbio::raw_pointer (const std::vector< T > &vec)
 
template<typename T >
T * nvbio::begin (T *vec)
 
template<typename T >
const T * nvbio::begin (const T *vec)