NVBIO
|
A class to represent a string prefix, i.e. an arbitrarily placed substring
StringType | the underlying string type |
CoordType | the type of prefix coordinates, string_prefix_coord_type for strings, string_set_prefix_coord_type for string-sets |
CoordDim | the number of coordinates, 1 for strings, 2 for string-sets |
#include <prefix.h>
Public Types | |
typedef PrefixCore< StringType, CoordType, vector_traits < CoordType >::DIM > | core_type |
typedef StringType | string_type |
typedef CoordType | coord_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 | Prefix () |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE | Prefix (const string_type string, const coord_type infix) |
Static Public Members | |
static const uint32 | SYMBOL_SIZE = string_traits<StringType>::SYMBOL_SIZE |
typedef string_traits<StringType>::const_iterator nvbio::Prefix< StringType, CoordType >::const_iterator |
typedef CoordType nvbio::Prefix< StringType, CoordType >::coord_type |
typedef PrefixCore< StringType, CoordType, vector_traits<CoordType>::DIM > nvbio::Prefix< StringType, CoordType >::core_type |
typedef string_traits<StringType>::forward_iterator nvbio::Prefix< StringType, CoordType >::forward_iterator |
typedef string_traits<StringType>::iterator nvbio::Prefix< StringType, CoordType >::iterator |
typedef std::iterator_traits<string_type>::reference nvbio::Prefix< StringType, CoordType >::reference |
typedef StringType nvbio::Prefix< StringType, CoordType >::string_type |
typedef std::iterator_traits<string_type>::value_type nvbio::Prefix< StringType, CoordType >::symbol_type |
typedef std::iterator_traits<string_type>::value_type nvbio::Prefix< StringType, CoordType >::value_type |
|
inline |
|
inline |
|
static |