NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nvbio::PackedStringLoader< StorageIterator, SYMBOL_SIZE_T, BIG_ENDIAN_T, Tag > Struct Template Reference

Detailed description

template< typename StorageIterator, uint32 SYMBOL_SIZE_T, bool BIG_ENDIAN_T, typename Tag = uncached_tag>
struct nvbio::PackedStringLoader< StorageIterator, SYMBOL_SIZE_T, BIG_ENDIAN_T, Tag >

A utility wrapper to cache a window of a packed-string and present a wrapper string iterator to the cached entries. NOTE: the default implementation doesn't actually perform any caching.

Template Parameters
StorageIteratorthe underlying stream of words used to hold the packed stream (e.g. uint32, uint4)
SYMBOL_SIZE_Tthe number of bits needed for each symbol
BIG_ENDIAN_Tthe "endianness" of the words: if true, symbols will be packed from right to left within each word
Taga tag to specify the type of cache at compile-time

Definition at line 64 of file packedstream_loader.h.

#include <packedstream_loader.h>


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