NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Methods | Public Members | List of all members
nvbio::SSA_value_multiple_context< SSAIterator, BitmaskIterator, BlockIterator > Struct Template Reference

Detailed description

template< typename SSAIterator, typename BitmaskIterator, typename BlockIterator>
struct nvbio::SSA_value_multiple_context< SSAIterator, BitmaskIterator, BlockIterator >

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

Definition at line 99 of file ssa.h.

#include <ssa.h>

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE SSA_value_multiple_context ()
 
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE SSA_value_multiple_context (SSAIterator ssa, BitmaskIterator bitmask, BlockIterator blocks)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
fetch (const uint32 i, uint32 &r) const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
has (const uint32 i) const
 

Public Members

SSAIterator m_ssa
 
BitmaskIterator m_bitmask
 
BlockIterator m_blocks
 

Constructor & Destructor Documentation

template<typename SSAIterator , typename BitmaskIterator , typename BlockIterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::SSA_value_multiple_context< SSAIterator, BitmaskIterator, BlockIterator >::SSA_value_multiple_context ( )
inline

empty constructor

Definition at line 103 of file ssa.h.

template<typename SSAIterator , typename BitmaskIterator , typename BlockIterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::SSA_value_multiple_context< SSAIterator, BitmaskIterator, BlockIterator >::SSA_value_multiple_context ( SSAIterator  ssa,
BitmaskIterator  bitmask,
BlockIterator  blocks 
)
inline

constructor

Definition at line 107 of file ssa.h.

Member Function Documentation

template<typename SSAIterator , typename BitmaskIterator , typename BlockIterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE bool nvbio::SSA_value_multiple_context< SSAIterator, BitmaskIterator, BlockIterator >::fetch ( const uint32  i,
uint32 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 220 of file ssa_inl.h.

template<typename SSAIterator , typename BitmaskIterator , typename BlockIterator >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE bool nvbio::SSA_value_multiple_context< SSAIterator, BitmaskIterator, BlockIterator >::has ( const uint32  i) const

check if the i-th value is present

Parameters
irequested entry
Returns
true if present, false otherwise

Definition at line 252 of file ssa_inl.h.

Member Data Documentation

template<typename SSAIterator , typename BitmaskIterator , typename BlockIterator >
BitmaskIterator nvbio::SSA_value_multiple_context< SSAIterator, BitmaskIterator, BlockIterator >::m_bitmask

Definition at line 126 of file ssa.h.

template<typename SSAIterator , typename BitmaskIterator , typename BlockIterator >
BlockIterator nvbio::SSA_value_multiple_context< SSAIterator, BitmaskIterator, BlockIterator >::m_blocks

Definition at line 127 of file ssa.h.

template<typename SSAIterator , typename BitmaskIterator , typename BlockIterator >
SSAIterator nvbio::SSA_value_multiple_context< SSAIterator, BitmaskIterator, BlockIterator >::m_ssa

Definition at line 125 of file ssa.h.


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