NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Public Members | Static Public Members | List of all members
nvbio::MEMRange< coord_type > Struct Template Reference

Detailed description

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

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

Definition at line 167 of file mem.h.

#include <mem.h>

Public Types

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

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE MEMRange ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE MEMRange (const base_type vec)
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE MEMRange (const uint2 range, const uint32 string_id, const uint2 span, const bool flag=false)
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE MEMRange (const uint2 range, const uint32 string_id, const uint32 span_begin, const uint32 span_end, const bool flag=false)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
set_group_flag ()
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
group_flag () const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE range_type 
range () const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE coord_type 
range_size () const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
string_id () const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint2 
span () const
 

Public Members

base_type coords
 

Static Public Members

static const uint32 GROUP_FLAG = 1u << 31
 

Member Typedef Documentation

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

Definition at line 169 of file mem.h.

template<typename coord_type >
typedef vector_type<coord_type,2u>::type nvbio::MEMRange< coord_type >::range_type

Definition at line 170 of file mem.h.

Constructor & Destructor Documentation

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

Definition at line 175 of file mem.h.

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

Definition at line 178 of file mem.h.

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::MEMRange< coord_type >::MEMRange ( const uint2  range,
const uint32  string_id,
const uint2  span,
const bool  flag = false 
)
inline

Definition at line 181 of file mem.h.

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::MEMRange< coord_type >::MEMRange ( const uint2  range,
const uint32  string_id,
const uint32  span_begin,
const uint32  span_end,
const bool  flag = false 
)
inline

Definition at line 193 of file mem.h.

Member Function Documentation

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE bool nvbio::MEMRange< coord_type >::group_flag ( ) const
inline

Definition at line 208 of file mem.h.

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE range_type nvbio::MEMRange< coord_type >::range ( ) const
inline

Definition at line 211 of file mem.h.

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE coord_type nvbio::MEMRange< coord_type >::range_size ( ) const
inline

Definition at line 214 of file mem.h.

template<typename coord_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE void nvbio::MEMRange< coord_type >::set_group_flag ( )
inline

Definition at line 205 of file mem.h.

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

Definition at line 220 of file mem.h.

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

Definition at line 217 of file mem.h.

Member Data Documentation

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

Definition at line 222 of file mem.h.

template<typename coord_type >
const uint32 nvbio::MEMRange< coord_type >::GROUP_FLAG = 1u << 31
static

Definition at line 172 of file mem.h.


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