NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | List of all members
cufmi::bowtie2::cuda::ReadHitsReference< ReadHitsIndexType, HitQueuesType > Struct Template Reference

Detailed description

template< typename ReadHitsIndexType, typename HitQueuesType>
struct cufmi::bowtie2::cuda::ReadHitsReference< ReadHitsIndexType, HitQueuesType >

A reference to the collection of hits bound to a given read

Definition at line 247 of file proposal.h.

#include <proposal.h>

Public Methods

 ReadHitsReference (ReadHitsIndexType &index, HitQueuesType &hits, const uint32 read_index)
 
uint32 size () const
 
CUFMI_FORCEINLINE
CUFMI_HOST_DEVICE HitReference
< HitQueuesType > 
operator[] (const uint32 i) const
 

Constructor & Destructor Documentation

template<typename ReadHitsIndexType, typename HitQueuesType>
cufmi::bowtie2::cuda::ReadHitsReference< ReadHitsIndexType, HitQueuesType >::ReadHitsReference ( ReadHitsIndexType &  index,
HitQueuesType &  hits,
const uint32  read_index 
)

constructor

Parameters
indexread -> hits index
hitshits container
read_indexindex of this read

Member Function Documentation

template<typename ReadHitsIndexType, typename HitQueuesType>
CUFMI_FORCEINLINE CUFMI_HOST_DEVICE HitReference<HitQueuesType> cufmi::bowtie2::cuda::ReadHitsReference< ReadHitsIndexType, HitQueuesType >::operator[] ( const uint32  i) const

return the i-th element

template<typename ReadHitsIndexType, typename HitQueuesType>
uint32 cufmi::bowtie2::cuda::ReadHitsReference< ReadHitsIndexType, HitQueuesType >::size ( ) const

size of the hits vector


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