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::string_qgram_search_functor< qgram_index_type, string_type > Struct Template Reference

Detailed description

template< typename qgram_index_type, typename string_type>
struct nvbio::string_qgram_search_functor< qgram_index_type, string_type >

define a simple q-gram search functor

Definition at line 897 of file qgram.h.

#include <qgram.h>

Public Types

typedef uint32 argument_type
 
typedef uint2 result_type
 

Public Methods

 string_qgram_search_functor (const qgram_index_type _qgram_index, const uint32 _string_len, const string_type _string)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint2 
operator() (const uint32 i) const
 

Public Members

const qgram_index_type qgram_index
 
const uint32 string_len
 
const string_type string
 

Member Typedef Documentation

template<typename qgram_index_type , typename string_type >
typedef uint32 nvbio::string_qgram_search_functor< qgram_index_type, string_type >::argument_type

Definition at line 899 of file qgram.h.

template<typename qgram_index_type , typename string_type >
typedef uint2 nvbio::string_qgram_search_functor< qgram_index_type, string_type >::result_type

Definition at line 900 of file qgram.h.

Constructor & Destructor Documentation

template<typename qgram_index_type , typename string_type >
nvbio::string_qgram_search_functor< qgram_index_type, string_type >::string_qgram_search_functor ( const qgram_index_type  _qgram_index,
const uint32  _string_len,
const string_type  _string 
)
inline

constructor

Definition at line 904 of file qgram.h.

Member Function Documentation

template<typename qgram_index_type , typename string_type >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint2 nvbio::string_qgram_search_functor< qgram_index_type, string_type >::operator() ( const uint32  i) const
inline

functor operator

Definition at line 915 of file qgram.h.

Member Data Documentation

template<typename qgram_index_type , typename string_type >
const qgram_index_type nvbio::string_qgram_search_functor< qgram_index_type, string_type >::qgram_index

Definition at line 922 of file qgram.h.

template<typename qgram_index_type , typename string_type >
const string_type nvbio::string_qgram_search_functor< qgram_index_type, string_type >::string

Definition at line 924 of file qgram.h.

template<typename qgram_index_type , typename string_type >
const uint32 nvbio::string_qgram_search_functor< qgram_index_type, string_type >::string_len

Definition at line 923 of file qgram.h.


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