![]() |
Project
|
#include <dc_primitives.h>
Classes | |
| class | Iterator |
| a forward iterator to access the list of elements More... | |
Public Types | |
| using | value_type = T |
| using | iterator = Iterator< value_type > |
| using | const_iterator = Iterator< const value_type > |
Public Member Functions | |
| ExampleAlphabet () | |
| ~ExampleAlphabet () | |
| constexpr unsigned | getIndexRange () |
| get the range of indices aka number of indices | |
| const_iterator | begin () const |
| return forward iterator to begin of element list | |
| const_iterator | end () const |
| the end of element list | |
| iterator | begin () |
| return forward iterator to begin of element list | |
| iterator | end () |
| the end of element list | |
Static Public Member Functions | |
| static bool | isValid (value_type v) |
| check for valid value within range | |
| static unsigned | getIndex (value_type symbol) |
| get index of value | |
| static value_type | getSymbol (unsigned index) |
| get symbol from index | |
Definition at line 128 of file dc_primitives.h.
| using o2::data_compression::ExampleAlphabet< T >::const_iterator = Iterator<const value_type> |
Definition at line 181 of file dc_primitives.h.
| using o2::data_compression::ExampleAlphabet< T >::iterator = Iterator<value_type> |
Definition at line 180 of file dc_primitives.h.
| using o2::data_compression::ExampleAlphabet< T >::value_type = T |
Definition at line 134 of file dc_primitives.h.
| o2::data_compression::ExampleAlphabet< T >::ExampleAlphabet | ( | ) |
| o2::data_compression::ExampleAlphabet< T >::~ExampleAlphabet | ( | ) |
| iterator o2::data_compression::ExampleAlphabet< T >::begin | ( | ) |
return forward iterator to begin of element list
| const_iterator o2::data_compression::ExampleAlphabet< T >::begin | ( | ) | const |
return forward iterator to begin of element list
| iterator o2::data_compression::ExampleAlphabet< T >::end | ( | ) |
the end of element list
| const_iterator o2::data_compression::ExampleAlphabet< T >::end | ( | ) | const |
the end of element list
|
static |
get index of value
|
constexpr |
get the range of indices aka number of indices
|
static |
get symbol from index
|
static |
check for valid value within range