Diana Software
pkg
rundatadb
QDbDefs.hh
Go to the documentation of this file.
1
5
#ifndef _Q_DB_DEFS_HH_
6
#define _Q_DB_DEFS_HH_
7
#include "
QDiana.hh
"
8
#include "
QError.hh
"
9
// MV/SDD FIXME: includes below to not change #include "QDbDefs.hh" everywhere
10
#include "
QRunType.hh
"
11
#include "
QDetectorName.hh
"
12
19
enum
QApolloUserLevel
{
20
SoftwareLevel
= -1,
21
SuperUserLevel
= 0,
22
AddUserLevel
= 5,
23
StartStopLevel
= 10,
24
ReadLevel
= 20,
25
NoPrivLevel
= 99,
26
InvalidLevel
= 100,
27
};
28
29
namespace
QDbDefinitions
30
{
36
enum
QSettingsBasketKind
{
37
Unknown
= 0,
38
Online
= 1,
39
Reprocess
= 2,
40
};
41
47
int
GetMinimumId
(
QSettingsBasketKind
sbKind);
48
54
int
GetMaximumId
(
QSettingsBasketKind
sbKind);
55
56
}
57
#endif
QApolloUserLevel
QApolloUserLevel
user authentication levels allowed in the users db table
Definition:
QDbDefs.hh:19
SuperUserLevel
@ SuperUserLevel
Definition:
QDbDefs.hh:21
NoPrivLevel
@ NoPrivLevel
Definition:
QDbDefs.hh:25
AddUserLevel
@ AddUserLevel
Definition:
QDbDefs.hh:22
SoftwareLevel
@ SoftwareLevel
Definition:
QDbDefs.hh:20
InvalidLevel
@ InvalidLevel
Definition:
QDbDefs.hh:26
StartStopLevel
@ StartStopLevel
Definition:
QDbDefs.hh:23
ReadLevel
@ ReadLevel
Definition:
QDbDefs.hh:24
QDetectorName.hh
QDiana.hh
QError.hh
QRunType.hh
QDbDefinitions
Definition:
QDbDefs.cc:4
QDbDefinitions::GetMinimumId
int GetMinimumId(QSettingsBasketKind sbKind)
this function defines the minimum allowed settings_basket_id for a given kind of settings basket (Onl...
Definition:
QDbDefs.cc:6
QDbDefinitions::QSettingsBasketKind
QSettingsBasketKind
used to retrieve and store settings baskets: the settings_basket_id depends also on the settings bask...
Definition:
QDbDefs.hh:36
QDbDefinitions::Unknown
@ Unknown
Definition:
QDbDefs.hh:37
QDbDefinitions::Reprocess
@ Reprocess
Definition:
QDbDefs.hh:39
QDbDefinitions::Online
@ Online
Definition:
QDbDefs.hh:38
QDbDefinitions::GetMaximumId
int GetMaximumId(QSettingsBasketKind sbKind)
this function defines the maximum allowed settings_basket_id for a given kind of settings basket (Onl...
Definition:
QDbDefs.cc:24
Generated by
1.9.1