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::suffix_offset_functor Struct Reference

Detailed description

A functor adding the given constant to the string id of a suffix

Definition at line 244 of file sufsort_priv.h.

#include <sufsort_priv.h>

Public Types

typedef uint2 argument_type
typedef uint2 result_type

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE suffix_offset_functor (const uint32 _offset)
operator() (const uint2 suffix) const

Public Members

const uint32 offset

Member Typedef Documentation

Definition at line 246 of file sufsort_priv.h.

Definition at line 247 of file sufsort_priv.h.

Constructor & Destructor Documentation

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::priv::suffix_offset_functor::suffix_offset_functor ( const uint32  _offset)


Definition at line 252 of file sufsort_priv.h.

Member Function Documentation

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint2 nvbio::priv::suffix_offset_functor::operator() ( const uint2  suffix) const

return the length of the i-th string

Definition at line 257 of file sufsort_priv.h.

Member Data Documentation

const uint32 nvbio::priv::suffix_offset_functor::offset

Definition at line 259 of file sufsort_priv.h.

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