NVBIO
|
A transformed string set
StringSet | the base string set type |
StringTransform | the string transformation, a functor taking StringSet::string_type as input and returning a StringTransform::result_type as output |
Definition at line 43 of file string_set_transform.h.
#include <string_set_transform.h>
Public Types | |
typedef StringSet | string_set_type |
typedef StringTransform | transform_type |
typedef transform_type::result_type | string_type |
typedef string_type::symbol_type | symbol_type |
typedef StringSet::system_tag | system_tag |
typedef StringSetIterator < TransformedStringSet < StringSet, StringTransform > > | iterator |
typedef StringSetIterator < TransformedStringSet < StringSet, StringTransform > > | const_iterator |
Public Methods | |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE | TransformStringSet () |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE | TransformStringSet (const StringSet string_set, const StringTransform transform) |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint32 | size () const |
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE string_type | operator[] (const uint32 i) const |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
Related Functions | |
(Note that these are not member functions.) | |
template<typename StringSet , typename StringTransform > | |
TransformStringSet< StringSet, StringTransform > | make_transform_string_set (const StringSet string_set, const StringTransform transform) |
typedef StringSetIterator< TransformedStringSet<StringSet,StringTransform> > nvbio::TransformStringSet< StringSet, StringTransform >::const_iterator |
Definition at line 52 of file string_set_transform.h.
typedef StringSetIterator< TransformedStringSet<StringSet,StringTransform> > nvbio::TransformStringSet< StringSet, StringTransform >::iterator |
Definition at line 51 of file string_set_transform.h.
typedef StringSet nvbio::TransformStringSet< StringSet, StringTransform >::string_set_type |
Definition at line 45 of file string_set_transform.h.
typedef transform_type::result_type nvbio::TransformStringSet< StringSet, StringTransform >::string_type |
Definition at line 47 of file string_set_transform.h.
typedef string_type::symbol_type nvbio::TransformStringSet< StringSet, StringTransform >::symbol_type |
Definition at line 48 of file string_set_transform.h.
typedef StringSet::system_tag nvbio::TransformStringSet< StringSet, StringTransform >::system_tag |
Definition at line 49 of file string_set_transform.h.
typedef StringTransform nvbio::TransformStringSet< StringSet, StringTransform >::transform_type |
Definition at line 46 of file string_set_transform.h.
|
inline |
default constructor
Definition at line 57 of file string_set_transform.h.
|
inline |
constructor
string_set | the base string set |
transform | the string transfrom |
Definition at line 65 of file string_set_transform.h.
|
inline |
begin iterator
Definition at line 86 of file string_set_transform.h.
|
inline |
begin iterator
Definition at line 94 of file string_set_transform.h.
|
inline |
begin iterator
Definition at line 90 of file string_set_transform.h.
|
inline |
begin iterator
Definition at line 98 of file string_set_transform.h.
|
inline |
indexing operator: access the i-th string
Definition at line 79 of file string_set_transform.h.
|
inline |
set size
Definition at line 74 of file string_set_transform.h.
|
related |
A utility function to make a ConcatenatedStringSet
string_set | the base string set |
transform | the string transfrom |
Definition at line 113 of file string_set_transform.h.