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::Prefix< StringType, CoordType > Struct Template Reference

Detailed description

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

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

Template Parameters
StringTypethe underlying string type
CoordTypethe type of prefix coordinates, string_prefix_coord_type for strings, string_set_prefix_coord_type for string-sets
CoordDimthe number of coordinates, 1 for strings, 2 for string-sets

Definition at line 245 of file prefix.h.

#include <prefix.h>

Inheritance diagram for nvbio::Prefix< StringType, CoordType >:
nvbio::PrefixCore< StringType, CoordType, vector_traits< CoordType >::DIM >

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
 

Member Typedef Documentation

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

Definition at line 258 of file prefix.h.

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

Definition at line 251 of file prefix.h.

template<typename StringType, typename CoordType>
typedef PrefixCore< StringType, CoordType, vector_traits<CoordType>::DIM > nvbio::Prefix< StringType, CoordType >::core_type

Definition at line 249 of file prefix.h.

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

Definition at line 259 of file prefix.h.

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

Definition at line 257 of file prefix.h.

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

Definition at line 255 of file prefix.h.

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

Definition at line 250 of file prefix.h.

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

Definition at line 253 of file prefix.h.

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

Definition at line 254 of file prefix.h.

Constructor & Destructor Documentation

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

constructor

Definition at line 264 of file prefix.h.

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

constructor

Definition at line 269 of file prefix.h.

Member Data Documentation

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

Definition at line 247 of file prefix.h.


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