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::length_functor< string_set_type > Struct Template Reference

Detailed description

template< typename string_set_type>
struct nvbio::priv::length_functor< string_set_type >

A functor fetching the length of the i-th string in a set

Definition at line 220 of file sufsort_priv.h.

#include <sufsort_priv.h>

Public Types

typedef uint32 argument_type
 
typedef uint32 result_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE length_functor (const string_set_type _string_set, const bool _extended)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
operator() (const uint32 i) const
 

Public Members

string_set_type string_set
 
bool extended
 

Member Typedef Documentation

template<typename string_set_type>
typedef uint32 nvbio::priv::length_functor< string_set_type >::argument_type

Definition at line 222 of file sufsort_priv.h.

template<typename string_set_type>
typedef uint32 nvbio::priv::length_functor< string_set_type >::result_type

Definition at line 223 of file sufsort_priv.h.

Constructor & Destructor Documentation

template<typename string_set_type>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::priv::length_functor< string_set_type >::length_functor ( const string_set_type  _string_set,
const bool  _extended 
)
inline

constructor

Definition at line 228 of file sufsort_priv.h.

Member Function Documentation

template<typename string_set_type>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint32 nvbio::priv::length_functor< string_set_type >::operator() ( const uint32  i) const
inline

return the length of the i-th string

Definition at line 233 of file sufsort_priv.h.

Member Data Documentation

template<typename string_set_type>
bool nvbio::priv::length_functor< string_set_type >::extended

Definition at line 239 of file sufsort_priv.h.

template<typename string_set_type>
string_set_type nvbio::priv::length_functor< string_set_type >::string_set

Definition at line 238 of file sufsort_priv.h.


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