DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
The struct OksNameTable is used to generate unique strings. More...
#include <kernel.hpp>
Public Member Functions | |
OksNameTable () | |
OksString * | get () |
void | reset () |
Private Attributes | |
long | count |
Static Private Attributes | |
static const char | symbols [] |
The struct OksNameTable is used to generate unique strings.
The generated string contains ASCII characters (allowed characters defined by string 'symbols')
Each generated string is short as possible
Calls of get will give the following sequency: "0", "1", ..., "9", "a", "b", ..., "z", "A", ..., "?", "00", "01", ..., "09", "0a", "0b", ..., "0Z", "0A", ..., "0?", "10", "11", ..., "19", "1a", ... etc.
Definition at line 410 of file kernel.hpp.
|
inline |
Definition at line 412 of file kernel.hpp.
OksString * dunedaq::oks::OksNameTable::get | ( | ) |
Definition at line 621 of file kernel.cpp.
|
inline |
Definition at line 415 of file kernel.hpp.
|
private |
Definition at line 421 of file kernel.hpp.
|
staticprivate |
Definition at line 420 of file kernel.hpp.