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::PrefixSetCore< SequenceType, PrefixIterator, 2u > Struct Template Reference

Detailed description

template< typename SequenceType, typename PrefixIterator>
struct nvbio::PrefixSetCore< SequenceType, PrefixIterator, 2u >

Represent a set of prefixes of a string-set

Template Parameters
SequenceTypethe string or string-set type
PrefixIteratorthe prefix iterator type - value_type can be string_set_prefix_coord_type or long_string_set_prefix_coord_type

Definition at line 363 of file prefix.h.

#include <prefix.h>

Public Types

typedef SequenceType sequence_type
 
typedef PrefixIterator prefix_iterator
 
typedef sequence_type::string_type base_string_type
 
typedef std::iterator_traits
< PrefixIterator >::value_type 
coord_type
 
typedef Prefix
< base_string_type, coord_type
string_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE PrefixSetCore ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE PrefixSetCore (const uint32 size, const sequence_type sequence, const prefix_iterator prefixes)
 
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
 
prefix_iterator m_prefixes
 

Member Typedef Documentation

template<typename SequenceType , typename PrefixIterator >
typedef sequence_type::string_type nvbio::PrefixSetCore< SequenceType, PrefixIterator, 2u >::base_string_type

Definition at line 368 of file prefix.h.

template<typename SequenceType , typename PrefixIterator >
typedef std::iterator_traits<PrefixIterator>::value_type nvbio::PrefixSetCore< SequenceType, PrefixIterator, 2u >::coord_type

Definition at line 369 of file prefix.h.

template<typename SequenceType , typename PrefixIterator >
typedef PrefixIterator nvbio::PrefixSetCore< SequenceType, PrefixIterator, 2u >::prefix_iterator

Definition at line 366 of file prefix.h.

template<typename SequenceType , typename PrefixIterator >
typedef SequenceType nvbio::PrefixSetCore< SequenceType, PrefixIterator, 2u >::sequence_type

Definition at line 365 of file prefix.h.

template<typename SequenceType , typename PrefixIterator >
typedef Prefix<base_string_type, coord_type> nvbio::PrefixSetCore< SequenceType, PrefixIterator, 2u >::string_type

Definition at line 370 of file prefix.h.

Constructor & Destructor Documentation

template<typename SequenceType , typename PrefixIterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::PrefixSetCore< SequenceType, PrefixIterator, 2u >::PrefixSetCore ( )
inline

constructor

Definition at line 375 of file prefix.h.

template<typename SequenceType , typename PrefixIterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::PrefixSetCore< SequenceType, PrefixIterator, 2u >::PrefixSetCore ( const uint32  size,
const sequence_type  sequence,
const prefix_iterator  prefixes 
)
inline

constructor

Definition at line 380 of file prefix.h.

Member Function Documentation

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

indexing operator: access the i-th string

Definition at line 396 of file prefix.h.

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

set size

Definition at line 391 of file prefix.h.

Member Data Documentation

template<typename SequenceType , typename PrefixIterator >
prefix_iterator nvbio::PrefixSetCore< SequenceType, PrefixIterator, 2u >::m_prefixes

Definition at line 404 of file prefix.h.

template<typename SequenceType , typename PrefixIterator >
sequence_type nvbio::PrefixSetCore< SequenceType, PrefixIterator, 2u >::m_sequence

Definition at line 403 of file prefix.h.

template<typename SequenceType , typename PrefixIterator >
uint32 nvbio::PrefixSetCore< SequenceType, PrefixIterator, 2u >::m_size

Definition at line 402 of file prefix.h.


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