|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
The struct OksAliasTable is used to support aliases. More...
#include <kernel.hpp>
Classes | |
| struct | Value |
Public Member Functions | |
| ~OksAliasTable () | |
| void | add_key (OksString *) |
| void | add_value (OksString *vn, const OksClass *vp) |
| const Value * | get (const OksString *key) const |
| const Value * | get (const char *key) const |
Private Attributes | |
| Value::Map | p_aliases |
| OksNameTable | p_nameTable |
The struct OksAliasTable is used to support aliases.
The technique of aliases is used to reduce size of OKS data files: if a class name appears first time somewhere in OKS data file it is marked in front by '@' symbol and the alias to it is used later, e.g.:
The technique of aliases is used to keep compatibility with old data format: new method to read OKS data files may read new and old format at the same time
Definition at line 477 of file kernel.hpp.
| dunedaq::oks::OksAliasTable::~OksAliasTable | ( | ) |
Definition at line 594 of file kernel.cpp.
|
inline |
Inline methods for struct OksAliasTable
Definition at line 524 of file kernel.hpp.
Definition at line 530 of file kernel.hpp.
|
inline |
Definition at line 508 of file kernel.hpp.
|
inline |
Definition at line 536 of file kernel.hpp.
|
private |
Definition at line 515 of file kernel.hpp.
|
private |
Definition at line 516 of file kernel.hpp.