NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Public Members | List of all members
nvbio::InfixSetCore< SequenceType, InfixIterator, 2u > Struct Template Reference

Detailed description

template< typename SequenceType, typename InfixIterator>
struct nvbio::InfixSetCore< SequenceType, InfixIterator, 2u >

Represent a set of infixes of a string

Template Parameters
SequenceTypethe string or string-set container
InfixIteratorthe infix iterator type - value_type can be string_infix_coord_type or long_string_set_infix_coord_type

Definition at line 330 of file infix.h.

#include <infix.h>

Public Types

typedef SequenceType sequence_type
 
typedef InfixIterator infix_iterator
 
typedef std::iterator_traits
< InfixIterator >::value_type 
coord_type
 
typedef Infix< sequence_type,
coord_type
string_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE InfixSetCore ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE InfixSetCore (const uint32 size, const sequence_type sequence, const infix_iterator infixes)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
size () const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE string_type 
operator[] (const uint32 i) const
 

Public Members

uint32 m_size
 
sequence_type m_sequence
 
infix_iterator m_infixes
 

Member Typedef Documentation

template<typename SequenceType , typename InfixIterator >
typedef std::iterator_traits<InfixIterator>::value_type nvbio::InfixSetCore< SequenceType, InfixIterator, 2u >::coord_type

Definition at line 335 of file infix.h.

template<typename SequenceType , typename InfixIterator >
typedef InfixIterator nvbio::InfixSetCore< SequenceType, InfixIterator, 2u >::infix_iterator

Definition at line 333 of file infix.h.

template<typename SequenceType , typename InfixIterator >
typedef SequenceType nvbio::InfixSetCore< SequenceType, InfixIterator, 2u >::sequence_type

Definition at line 332 of file infix.h.

template<typename SequenceType , typename InfixIterator >
typedef Infix<sequence_type, coord_type> nvbio::InfixSetCore< SequenceType, InfixIterator, 2u >::string_type

Definition at line 336 of file infix.h.

Constructor & Destructor Documentation

template<typename SequenceType , typename InfixIterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::InfixSetCore< SequenceType, InfixIterator, 2u >::InfixSetCore ( )
inline

constructor

Definition at line 341 of file infix.h.

template<typename SequenceType , typename InfixIterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::InfixSetCore< SequenceType, InfixIterator, 2u >::InfixSetCore ( const uint32  size,
const sequence_type  sequence,
const infix_iterator  infixes 
)
inline

constructor

Definition at line 346 of file infix.h.

Member Function Documentation

template<typename SequenceType , typename InfixIterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE string_type nvbio::InfixSetCore< SequenceType, InfixIterator, 2u >::operator[] ( const uint32  i) const
inline

indexing operator: access the i-th string

Definition at line 362 of file infix.h.

template<typename SequenceType , typename InfixIterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint32 nvbio::InfixSetCore< SequenceType, InfixIterator, 2u >::size ( void  ) const
inline

set size

Definition at line 357 of file infix.h.

Member Data Documentation

template<typename SequenceType , typename InfixIterator >
infix_iterator nvbio::InfixSetCore< SequenceType, InfixIterator, 2u >::m_infixes

Definition at line 370 of file infix.h.

template<typename SequenceType , typename InfixIterator >
sequence_type nvbio::InfixSetCore< SequenceType, InfixIterator, 2u >::m_sequence

Definition at line 369 of file infix.h.

template<typename SequenceType , typename InfixIterator >
uint32 nvbio::InfixSetCore< SequenceType, InfixIterator, 2u >::m_size

Definition at line 368 of file infix.h.


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