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::SSA_index_multiple_context< K, Iterator > Struct Template Reference

Detailed description

template< uint32 K, typename Iterator = const uint32*>
struct nvbio::SSA_index_multiple_context< K, Iterator >

A simple context to access a SSA_index_multiple structure - a model of SSAInterface.

Definition at line 220 of file ssa.h.

#include <ssa.h>

Public Types

typedef std::iterator_traits
< Iterator >::value_type 
index_type
 
typedef index_type value_type
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE SSA_index_multiple_context ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE SSA_index_multiple_context (const Iterator ssa)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
fetch (const index_type i, index_type &r) const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
has (const index_type i) const
 

Public Members

Iterator m_ssa
 

Member Typedef Documentation

template<uint32 K, typename Iterator = const uint32*>
typedef std::iterator_traits<Iterator>::value_type nvbio::SSA_index_multiple_context< K, Iterator >::index_type

Definition at line 222 of file ssa.h.

template<uint32 K, typename Iterator = const uint32*>
typedef index_type nvbio::SSA_index_multiple_context< K, Iterator >::value_type

Definition at line 223 of file ssa.h.

Constructor & Destructor Documentation

template<uint32 K, typename Iterator = const uint32*>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::SSA_index_multiple_context< K, Iterator >::SSA_index_multiple_context ( )
inline

empty constructor

Definition at line 227 of file ssa.h.

template<uint32 K, typename Iterator = const uint32*>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::SSA_index_multiple_context< K, Iterator >::SSA_index_multiple_context ( const Iterator  ssa)
inline

constructor

Definition at line 231 of file ssa.h.

Member Function Documentation

template<uint32 K, typename Iterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE bool nvbio::SSA_index_multiple_context< K, Iterator >::fetch ( const index_type  i,
index_type r 
) const

fetch the i-th value, if stored, return false otherwise.

Parameters
irequested entry
rresult value
Returns
true if present, false otherwise

Definition at line 487 of file ssa_inl.h.

template<uint32 K, typename Iterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE bool nvbio::SSA_index_multiple_context< K, Iterator >::has ( const index_type  i) const

check if the i-th value is present

Parameters
irequested entry
Returns
true if present, false otherwise

Definition at line 501 of file ssa_inl.h.

Member Data Documentation

template<uint32 K, typename Iterator = const uint32*>
Iterator nvbio::SSA_index_multiple_context< K, Iterator >::m_ssa

Definition at line 247 of file ssa.h.


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