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

Detailed description

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

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

Template Parameters
StringTypethe underlying string type
CoordTypethe type of infix coordinates, string_infix_coord_type for strings or string_set_infix_coord_type for string-sets
CoordDimthe number of coordinates, 2 for strings, 4 for string-sets

Definition at line 262 of file infix.h.

#include <infix.h>

Inheritance diagram for nvbio::Infix< StringType, CoordType >:
nvbio::InfixCore< StringType, CoordType, vector_traits< CoordType >::DIM >

Public Types

typedef InfixCore< 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 Infix ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE Infix (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::Infix< StringType, CoordType >::const_iterator

Definition at line 276 of file infix.h.

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

Definition at line 268 of file infix.h.

template<typename StringType, typename CoordType>
typedef InfixCore< StringType, CoordType, vector_traits<CoordType>::DIM > nvbio::Infix< StringType, CoordType >::core_type

Definition at line 266 of file infix.h.

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

Definition at line 277 of file infix.h.

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

Definition at line 269 of file infix.h.

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

Definition at line 275 of file infix.h.

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

Definition at line 273 of file infix.h.

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

Definition at line 267 of file infix.h.

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

Definition at line 271 of file infix.h.

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

Definition at line 272 of file infix.h.

Constructor & Destructor Documentation

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

constructor

Definition at line 282 of file infix.h.

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

constructor

Definition at line 287 of file infix.h.

Member Data Documentation

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

Definition at line 264 of file infix.h.


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