NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Static Public Members | List of all members
nvbio::Suffix< StringType, CoordType > Struct Template Reference

Detailed description

template< typename StringType, typename CoordType>
struct nvbio::Suffix< StringType, CoordType >

A class to represent a string suffix, i.e. an arbitrarily placed substring

Template Parameters
StringTypethe underlying string type
CoordTypethe type of suffix coordinates, string_suffix_coord_type for strings, string_set_suffix_coord_type for string-sets
CoordDimthe number of coordinates, 1 for strings, 2 for string-sets

Definition at line 246 of file suffix.h.

#include <suffix.h>

Inheritance diagram for nvbio::Suffix< StringType, CoordType >:
nvbio::SuffixCore< StringType, CoordType, vector_traits< CoordType >::DIM >

Public Types

typedef SuffixCore< StringType,
CoordType, vector_traits
< CoordType >::DIM > 
core_type
 
typedef StringType string_type
 
typedef CoordType coord_type
 
typedef vector_traits
< CoordType >::value_type 
index_type
 
typedef std::iterator_traits
< string_type >::value_type 
symbol_type
 
typedef std::iterator_traits
< string_type >::value_type 
value_type
 
typedef std::iterator_traits
< string_type >::reference 
reference
 
typedef string_traits
< StringType >::iterator 
iterator
 
typedef string_traits
< StringType >::const_iterator 
const_iterator
 
typedef string_traits
< StringType >
::forward_iterator 
forward_iterator
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE Suffix ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE Suffix (const string_type string, const coord_type infix)
 

Static Public Members

static const uint32 SYMBOL_SIZE = string_traits<StringType>::SYMBOL_SIZE
 

Member Typedef Documentation

template<typename StringType, typename CoordType>
typedef string_traits<StringType>::const_iterator nvbio::Suffix< StringType, CoordType >::const_iterator

Definition at line 260 of file suffix.h.

template<typename StringType, typename CoordType>
typedef CoordType nvbio::Suffix< StringType, CoordType >::coord_type

Definition at line 252 of file suffix.h.

template<typename StringType, typename CoordType>
typedef SuffixCore< StringType, CoordType, vector_traits<CoordType>::DIM > nvbio::Suffix< StringType, CoordType >::core_type

Definition at line 250 of file suffix.h.

template<typename StringType, typename CoordType>
typedef string_traits<StringType>::forward_iterator nvbio::Suffix< StringType, CoordType >::forward_iterator

Definition at line 261 of file suffix.h.

template<typename StringType, typename CoordType>
typedef vector_traits<CoordType>::value_type nvbio::Suffix< StringType, CoordType >::index_type

Definition at line 253 of file suffix.h.

template<typename StringType, typename CoordType>
typedef string_traits<StringType>::iterator nvbio::Suffix< StringType, CoordType >::iterator

Definition at line 259 of file suffix.h.

template<typename StringType, typename CoordType>
typedef std::iterator_traits<string_type>::reference nvbio::Suffix< StringType, CoordType >::reference

Definition at line 257 of file suffix.h.

template<typename StringType, typename CoordType>
typedef StringType nvbio::Suffix< StringType, CoordType >::string_type

Definition at line 251 of file suffix.h.

template<typename StringType, typename CoordType>
typedef std::iterator_traits<string_type>::value_type nvbio::Suffix< StringType, CoordType >::symbol_type

Definition at line 255 of file suffix.h.

template<typename StringType, typename CoordType>
typedef std::iterator_traits<string_type>::value_type nvbio::Suffix< StringType, CoordType >::value_type

Definition at line 256 of file suffix.h.

Constructor & Destructor Documentation

template<typename StringType, typename CoordType>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::Suffix< StringType, CoordType >::Suffix ( )
inline

constructor

Definition at line 266 of file suffix.h.

template<typename StringType, typename CoordType>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::Suffix< StringType, CoordType >::Suffix ( const string_type  string,
const coord_type  infix 
)
inline

constructor

Definition at line 271 of file suffix.h.

Member Data Documentation

template<typename StringType, typename CoordType>
const uint32 nvbio::Suffix< StringType, CoordType >::SYMBOL_SIZE = string_traits<StringType>::SYMBOL_SIZE
static

Definition at line 248 of file suffix.h.


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