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::MEMHit< coord_type > Struct Template Reference

Detailed description

template< typename coord_type>
struct nvbio::MEMHit< coord_type >

A MEM hit struct, including:
  • the index position,
  • the string id,
  • the span of the string covered by the MEM

Definition at line 234 of file mem.h.

#include <mem.h>

Public Types

typedef vector_type
< coord_type, 4u >::type 
base_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE MEMHit ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE MEMHit (const base_type vec)
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE MEMHit (const uint32 index_pos, const uint32 string_id, const uint2 span)
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE MEMHit (const uint32 index_pos, const uint32 string_id, const uint32 span_begin, const uint32 span_end)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE coord_type 
index_pos () const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
string_id () const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint2 
span () const
 

Public Members

base_type coords
 

Member Typedef Documentation

template<typename coord_type >
typedef vector_type<coord_type,4u>::type nvbio::MEMHit< coord_type >::base_type

Definition at line 236 of file mem.h.

Constructor & Destructor Documentation

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::MEMHit< coord_type >::MEMHit ( )
inline

Definition at line 239 of file mem.h.

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::MEMHit< coord_type >::MEMHit ( const base_type  vec)
inline

Definition at line 242 of file mem.h.

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::MEMHit< coord_type >::MEMHit ( const uint32  index_pos,
const uint32  string_id,
const uint2  span 
)
inline

Definition at line 245 of file mem.h.

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::MEMHit< coord_type >::MEMHit ( const uint32  index_pos,
const uint32  string_id,
const uint32  span_begin,
const uint32  span_end 
)
inline

Definition at line 254 of file mem.h.

Member Function Documentation

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE coord_type nvbio::MEMHit< coord_type >::index_pos ( ) const
inline

Definition at line 263 of file mem.h.

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint2 nvbio::MEMHit< coord_type >::span ( ) const
inline

Definition at line 269 of file mem.h.

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint32 nvbio::MEMHit< coord_type >::string_id ( ) const
inline

Definition at line 266 of file mem.h.

Member Data Documentation

template<typename coord_type >
base_type nvbio::MEMHit< coord_type >::coords

Definition at line 271 of file mem.h.


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