tdaq-develop-2025-02-12
|
#include <otsdaq/TableCore/TableGroupKey.h>
Public Member Functions | |
TableGroupKey (unsigned int key=INVALID) | |
TableGroupKey (char *const &groupString) | |
groupString parameter can be the full group name, or just the group key | |
TableGroupKey (const std::string &groupString) | |
unsigned int | key (void) const |
bool | isInvalid (void) const |
isInvalid | |
std::string | toString (void) const |
toString | |
std::string | str () const |
alternative alias method | |
TableGroupKey & | operator= (const unsigned int key) |
Operators. More... | |
bool | operator== (unsigned int key) const |
operator== | |
bool | operator== (const TableGroupKey &key) const |
bool | operator!= (unsigned int key) const |
bool | operator!= (const TableGroupKey &key) const |
bool | operator< (const TableGroupKey &key) const |
operator< | |
bool | operator> (const TableGroupKey &key) const |
operator> | |
bool | operator<= (const TableGroupKey &key) const |
bool | operator>= (const TableGroupKey &key) const |
TableGroupKey & | operator*= (const unsigned int a) |
to support StringMacros on TableGroupKey types More... | |
TableGroupKey & | operator*= (const TableGroupKey a) |
to support StringMacros on TableGroupKey types More... | |
TableGroupKey & | operator+= (const TableGroupKey a) |
to support StringMacros on TableGroupKey types More... | |
TableGroupKey & | operator-= (const TableGroupKey a) |
to support StringMacros on TableGroupKey types More... | |
TableGroupKey & | operator/= (const TableGroupKey a) |
to support StringMacros on TableGroupKey types More... | |
Static Public Member Functions | |
static TableGroupKey | getNextKey (const TableGroupKey &key=TableGroupKey()) |
static std::string | getFullGroupString (const std::string &groupName, const TableGroupKey &key, const std::string &preKey="_v", const std::string &postKey="") |
static void | getGroupNameAndKey (const std::string &fullGroupString, std::string &groupName, TableGroupKey &key) |
requires fullGroupString created as name + "_v" + key + "" | |
static unsigned int | getDefaultKey (void) |
static unsigned int | getInvalidKey (void) |
Static Public Attributes | |
static const unsigned int | INVALID = -1 |
Friends | |
std::ostream & | operator<< (std::ostream &out, const TableGroupKey &key) |
TableGroupKey is the type used for versions association with global configurations (whereas TableVersion is the type used for version associated with a configuration table)
Definition at line 11 of file TableGroupKey.h.
|
static |
getGroupNameWithKey returns next key given the most recent key if given nothing returns DEFAULT as first key if given 0, returns 1, etc. if no available keys left return INVALID
Definition at line 174 of file TableGroupKey.cc.
|
static |
getNextKey returns next key given the most recent key if given nothing returns DEFAULT as first key if given 0, returns 1, etc. if no available keys left return INVALID
Definition at line 156 of file TableGroupKey.cc.
TableGroupKey & TableGroupKey::operator*= | ( | const TableGroupKey | a | ) |
to support StringMacros on TableGroupKey types
operator*= Only implemented to support StringMacros on TableGroupKey types (e.g. getMapFromString in StringMacros.icc)
Definition at line 79 of file TableGroupKey.cc.
TableGroupKey & TableGroupKey::operator*= | ( | const unsigned int | a | ) |
to support StringMacros on TableGroupKey types
operator*= Only implemented to support StringMacros on TableGroupKey types (e.g. getMapFromString in StringMacros.icc)
Definition at line 71 of file TableGroupKey.cc.
TableGroupKey & TableGroupKey::operator+= | ( | const TableGroupKey | a | ) |
to support StringMacros on TableGroupKey types
operator+= Only implemented to support StringMacros on TableGroupKey types (e.g. getMapFromString in StringMacros.icc)
Definition at line 87 of file TableGroupKey.cc.
TableGroupKey & TableGroupKey::operator-= | ( | const TableGroupKey | a | ) |
to support StringMacros on TableGroupKey types
operator+= Only implemented to support StringMacros on TableGroupKey types (e.g. getMapFromString in StringMacros.icc)
Definition at line 95 of file TableGroupKey.cc.
TableGroupKey & TableGroupKey::operator/= | ( | const TableGroupKey | a | ) |
to support StringMacros on TableGroupKey types
operator/= Only implemented to support StringMacros on TableGroupKey types (e.g. getMapFromString in StringMacros.icc)
Definition at line 103 of file TableGroupKey.cc.
TableGroupKey & TableGroupKey::operator= | ( | const unsigned int | key | ) |