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, 1u > Struct Template Reference

Detailed description

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

Represent a set of prefixes of a string

Template Parameters
SequenceTypethe string or string-set container
PrefixIteratorthe prefix iterator type - value_type can be uint32 or uint64

Definition at line 312 of file prefix.h.

#include <prefix.h>

Public Types

typedef SequenceType sequence_type
 
typedef PrefixIterator prefix_iterator
 
typedef std::iterator_traits
< PrefixIterator >::value_type 
coord_type
 
typedef Prefix< sequence_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 std::iterator_traits<PrefixIterator>::value_type nvbio::PrefixSetCore< SequenceType, PrefixIterator, 1u >::coord_type

Definition at line 317 of file prefix.h.

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

Definition at line 315 of file prefix.h.

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

Definition at line 314 of file prefix.h.

template<typename SequenceType , typename PrefixIterator >
typedef Prefix<sequence_type, coord_type> nvbio::PrefixSetCore< SequenceType, PrefixIterator, 1u >::string_type

Definition at line 318 of file prefix.h.

Constructor & Destructor Documentation

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

constructor

Definition at line 323 of file prefix.h.

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

constructor

Definition at line 328 of file prefix.h.

Member Function Documentation

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

indexing operator: access the i-th string

Definition at line 344 of file prefix.h.

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

set size

Definition at line 339 of file prefix.h.

Member Data Documentation

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

Definition at line 352 of file prefix.h.

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

Definition at line 351 of file prefix.h.

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

Definition at line 350 of file prefix.h.


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