NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Methods | Static Public Members | List of all members
nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, ValueType > Struct Template Reference

Detailed description

template< bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol, typename InputStream, typename IndexType, typename ValueType>
struct nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, ValueType >

Definition at line 783 of file packedstream_inl.h.

#include <packedstream_inl.h>

Public Types

typedef ForwardPackedStream
< InputStream, Symbol,
SYMBOL_SIZE, BIG_ENDIAN,
IndexType > 
forward_stream_type
 

Static Public Methods

NVBIO_FORCEINLINE static
NVBIO_HOST_DEVICE void 
rebase (forward_stream_type &it)
 
NVBIO_FORCEINLINE static
NVBIO_HOST_DEVICE void 
next (forward_stream_type &it)
 
NVBIO_FORCEINLINE static
NVBIO_HOST_DEVICE void 
prev (forward_stream_type &it)
 
NVBIO_FORCEINLINE static
NVBIO_HOST_DEVICE Symbol 
fetch (const forward_stream_type &it)
 

Static Public Members

static const uint32 SYMBOL_COUNT = 1u << SYMBOL_SIZE
 
static const uint32 SYMBOL_MASK = SYMBOL_COUNT - 1u
 
static const uint32 WORD_SIZE = 8u * uint32( sizeof(ValueType) )
 
static const uint32 SYMBOLS_PER_WORD = WORD_SIZE / SYMBOL_SIZE
 

Member Typedef Documentation

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType , typename ValueType >
typedef ForwardPackedStream<InputStream,Symbol,SYMBOL_SIZE,BIG_ENDIAN,IndexType> nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, ValueType >::forward_stream_type

Definition at line 785 of file packedstream_inl.h.

Member Function Documentation

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType , typename ValueType >
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE Symbol nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, ValueType >::fetch ( const forward_stream_type it)
inlinestatic

Definition at line 868 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType , typename ValueType >
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE void nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, ValueType >::next ( forward_stream_type it)
inlinestatic

Definition at line 804 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType , typename ValueType >
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE void nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, ValueType >::prev ( forward_stream_type it)
inlinestatic

Definition at line 836 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType , typename ValueType >
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE void nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, ValueType >::rebase ( forward_stream_type it)
inlinestatic

Definition at line 793 of file packedstream_inl.h.

Member Data Documentation

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType , typename ValueType >
const uint32 nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, ValueType >::SYMBOL_COUNT = 1u << SYMBOL_SIZE
static

Definition at line 787 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType , typename ValueType >
const uint32 nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, ValueType >::SYMBOL_MASK = SYMBOL_COUNT - 1u
static

Definition at line 788 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType , typename ValueType >
const uint32 nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, ValueType >::SYMBOLS_PER_WORD = WORD_SIZE / SYMBOL_SIZE
static

Definition at line 790 of file packedstream_inl.h.

template<bool BIG_ENDIAN, uint32 SYMBOL_SIZE, typename Symbol , typename InputStream , typename IndexType , typename ValueType >
const uint32 nvbio::forward_packer< BIG_ENDIAN, SYMBOL_SIZE, Symbol, InputStream, IndexType, ValueType >::WORD_SIZE = 8u * uint32( sizeof(ValueType) )
static

Definition at line 789 of file packedstream_inl.h.


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