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::qgram_locate_functor< qgram_index_type > Struct Template Reference

Detailed description

template< typename qgram_index_type>
struct nvbio::qgram_locate_functor< qgram_index_type >

a functor to locate the hit corresponding to a given range slot inside a q-gram index

Definition at line 777 of file qgram.h.

#include <qgram.h>

Public Types

typedef uint32 argument_type
 
typedef uint32 result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE qgram_locate_functor (const qgram_index_type _index)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const uint32 slot) const
 

Public Members

const qgram_index_type index
 the q-gram index More...
 

Member Typedef Documentation

template<typename qgram_index_type >
typedef uint32 nvbio::qgram_locate_functor< qgram_index_type >::argument_type

Definition at line 779 of file qgram.h.

template<typename qgram_index_type >
typedef uint32 nvbio::qgram_locate_functor< qgram_index_type >::result_type

Definition at line 780 of file qgram.h.

Constructor & Destructor Documentation

template<typename qgram_index_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::qgram_locate_functor< qgram_index_type >::qgram_locate_functor ( const qgram_index_type  _index)
inline

constructor

Definition at line 785 of file qgram.h.

Member Function Documentation

template<typename qgram_index_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::qgram_locate_functor< qgram_index_type >::operator() ( const uint32  slot) const
inline

unary functor operator : locate the hit corresponding to a given range slot

Definition at line 790 of file qgram.h.

Member Data Documentation

template<typename qgram_index_type >
const qgram_index_type nvbio::qgram_locate_functor< qgram_index_type >::index

the q-gram index

Definition at line 792 of file qgram.h.


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