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::SequenceStreamLoader< SequenceDataT, Tag > Struct Template Reference

Detailed description

template< typename SequenceDataT, typename Tag>
struct nvbio::SequenceStreamLoader< SequenceDataT, Tag >

Utility class to load the full stream of a SequenceData. The Tag type allows to specify the caching policy.

Definition at line 324 of file utils.h.

#include <utils.h>

Public Types

typedef
SequenceDataT::sequence_storage_iterator 
stream_storage
 
typedef PackedStringLoader
< stream_storage,
SequenceDataT::SEQUENCE_BITS,
SequenceDataT::SEQUENCE_BIG_ENDIAN,
Tag > 
loader_type
 
typedef loader_type::iterator stream_iterator
 
typedef vector_view
< stream_iterator
string_type
 

Public Methods

NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE string_type 
load (const SequenceDataT &batch, const uint2 range)
 

Public Members

loader_type loader
 

Member Typedef Documentation

template<typename SequenceDataT , typename Tag >
typedef PackedStringLoader<stream_storage, SequenceDataT::SEQUENCE_BITS, SequenceDataT::SEQUENCE_BIG_ENDIAN,Tag> nvbio::SequenceStreamLoader< SequenceDataT, Tag >::loader_type

Definition at line 327 of file utils.h.

template<typename SequenceDataT , typename Tag >
typedef loader_type::iterator nvbio::SequenceStreamLoader< SequenceDataT, Tag >::stream_iterator

Definition at line 328 of file utils.h.

template<typename SequenceDataT , typename Tag >
typedef SequenceDataT::sequence_storage_iterator nvbio::SequenceStreamLoader< SequenceDataT, Tag >::stream_storage

Definition at line 326 of file utils.h.

template<typename SequenceDataT , typename Tag >
typedef vector_view<stream_iterator> nvbio::SequenceStreamLoader< SequenceDataT, Tag >::string_type

Definition at line 329 of file utils.h.

Member Function Documentation

template<typename SequenceDataT , typename Tag >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE string_type nvbio::SequenceStreamLoader< SequenceDataT, Tag >::load ( const SequenceDataT &  batch,
const uint2  range 
)
inline

load a subset of the stream

Definition at line 334 of file utils.h.

Member Data Documentation

template<typename SequenceDataT , typename Tag >
loader_type nvbio::SequenceStreamLoader< SequenceDataT, Tag >::loader

Definition at line 341 of file utils.h.


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