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::priv::string_bwt_functor< string_type > Struct Template Reference

Detailed description

template< typename string_type>
struct nvbio::priv::string_bwt_functor< string_type >

given a string, return the symbol preceding each of its suffixes, or 255u to mark the special $ symbol used for the first suffix.

Definition at line 862 of file sufsort_priv.h.

#include <sufsort_priv.h>

Public Types

typedef uint64 argument_type
 
typedef uint8 result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE string_bwt_functor (const uint64 _string_len, const string_type _string)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE result_type 
operator() (const argument_type suffix_idx) const
 

Public Members

const uint64 string_len
 
const string_type string
 

Member Typedef Documentation

template<typename string_type>
typedef uint64 nvbio::priv::string_bwt_functor< string_type >::argument_type

Definition at line 864 of file sufsort_priv.h.

template<typename string_type>
typedef uint8 nvbio::priv::string_bwt_functor< string_type >::result_type

Definition at line 865 of file sufsort_priv.h.

Constructor & Destructor Documentation

template<typename string_type>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::priv::string_bwt_functor< string_type >::string_bwt_functor ( const uint64  _string_len,
const string_type  _string 
)
inline

constructor

Definition at line 870 of file sufsort_priv.h.

Member Function Documentation

template<typename string_type>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE result_type nvbio::priv::string_bwt_functor< string_type >::operator() ( const argument_type  suffix_idx) const
inline

return the symbol preceding the given suffix

Definition at line 877 of file sufsort_priv.h.

Member Data Documentation

template<typename string_type>
const string_type nvbio::priv::string_bwt_functor< string_type >::string

Definition at line 883 of file sufsort_priv.h.

template<typename string_type>
const uint64 nvbio::priv::string_bwt_functor< string_type >::string_len

Definition at line 882 of file sufsort_priv.h.


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