![]() |
Diana Software
|
Label for global QObject's. More...
Classes | |
| class | ExtraKey |
Public Member Functions | |
| QGlobalLabel () | |
| ctor More... | |
| QGlobalLabel (const std::string &str) | |
| copy ctor from std::string More... | |
| std::string | GetStringLabel () const |
| convert label to string More... | |
| bool | operator< (const QGlobalLabel &other) const |
| less operator More... | |
| bool | operator== (const QGlobalLabel &other) const |
| comparison operator More... | |
| operator std::string () const | |
| cast operator, returns GetStringLabel() More... | |
| void | GetBareOwnerAndExtraLabel (std::string &bOwner, std::string &el) const |
| split extra label and bare module name More... | |
Public Attributes | |
| std::string | fOwner |
| Object owner. More... | |
| std::string | fName |
| Object name. More... | |
| int | fBeginRun |
| begin validity More... | |
| int | fEndRun |
| int | fChannel |
| int | fChannel2 |
| int | fBeginDataset |
| int | fEndDataset |
| std::map< std::string, ExtraKey > | fExtraKeys |
Label for global QObject's.
Definition at line 18 of file QGlobalLabel.hh.
| Q_BEGIN_NAMESPACE QGlobalLabel::QGlobalLabel | ( | ) |
ctor
Definition at line 9 of file QGlobalLabel.cc.
References fBeginDataset, fBeginRun, fChannel, fChannel2, fEndDataset, fEndRun, fExtraKeys, fName, fOwner, and Q_INT_DEFAULT.
| QGlobalLabel::QGlobalLabel | ( | const std::string & | str | ) |
copy ctor from std::string
Definition at line 22 of file QGlobalLabel.cc.
References fBeginDataset, fBeginRun, fChannel, fChannel2, fEndDataset, fEndRun, fExtraKeys, fName, fOwner, and Q_INT_DEFAULT.
| void QGlobalLabel::GetBareOwnerAndExtraLabel | ( | std::string & | bOwner, |
| std::string & | el | ||
| ) | const |
split extra label and bare module name
Definition at line 181 of file QGlobalLabel.cc.
References fOwner.
Referenced by QEnergyRangesHandle::FillFromDB(), QCalibrationParametersHandle::StoreOnDB(), QCOFParametersHandle::StoreOnDB(), QEnergyRangesHandle::StoreOnDB(), and QJitterHandle::StoreOnDB().
| std::string QGlobalLabel::GetStringLabel | ( | ) | const |
convert label to string
Definition at line 130 of file QGlobalLabel.cc.
References fBeginDataset, fBeginRun, fChannel, fChannel2, QGlobalLabel::ExtraKey::fDigits, fEndDataset, fEndRun, fExtraKeys, fName, fOwner, QGlobalLabel::ExtraKey::fValue, and Q_INT_DEFAULT.
Referenced by MApplyCalibration::Do(), GlobalHandle< Q >::FillFromFile(), GlobalHandle< Q >::Get(), QGlobalDataManager::Get(), operator std::string(), MGuiDriver::SendData(), QGlobalDataManager::Set(), QCalibrationParametersHandle::StoreOnDB(), QCOFParametersHandle::StoreOnDB(), QJitterHandle::StoreOnDB(), and GlobalHandle< Q >::StoreOnFile().
|
inline |
cast operator, returns GetStringLabel()
Definition at line 37 of file QGlobalLabel.hh.
References GetStringLabel().
| bool QGlobalLabel::operator< | ( | const QGlobalLabel & | other | ) | const |
less operator
Definition at line 90 of file QGlobalLabel.cc.
References fBeginDataset, fBeginRun, fChannel, fChannel2, fEndDataset, fEndRun, fExtraKeys, fName, and fOwner.
| bool QGlobalLabel::operator== | ( | const QGlobalLabel & | other | ) | const |
comparison operator
Definition at line 123 of file QGlobalLabel.cc.
| int QGlobalLabel::fBeginDataset |
begin dataset
Definition at line 54 of file QGlobalLabel.hh.
Referenced by GlobalHandle< Q >::GetBeginDataset(), GlobalHandle< Q >::GetDataset(), GetStringLabel(), operator<(), QGlobalLabel(), GlobalHandle< Q >::SetDataset(), and GlobalHandle< Q >::SetDatasetInterval().
| int QGlobalLabel::fBeginRun |
begin validity
Definition at line 46 of file QGlobalLabel.hh.
Referenced by QGlobalDataManager::Dump(), GlobalHandle< Q >::GetBeginRun(), GlobalHandle< Q >::GetRun(), GetStringLabel(), GlobalHandle< Q >::GetValidityInterval(), operator<(), QGlobalLabel(), GlobalHandle< Q >::SetRun(), and GlobalHandle< Q >::SetRunInterval().
| int QGlobalLabel::fChannel |
channel
Definition at line 50 of file QGlobalLabel.hh.
Referenced by QGlobalDataManager::Dump(), GlobalHandle< Q >::GetChannel(), GetStringLabel(), operator<(), QGlobalLabel(), and GlobalHandle< Q >::SetChannel().
| int QGlobalLabel::fChannel2 |
second channel
Definition at line 52 of file QGlobalLabel.hh.
Referenced by GlobalHandle< Q >::GetChannel2(), GetStringLabel(), operator<(), QGlobalLabel(), and GlobalHandle< Q >::SetChannel2().
| int QGlobalLabel::fEndDataset |
end dataset
Definition at line 56 of file QGlobalLabel.hh.
Referenced by GlobalHandle< Q >::GetEndDataset(), GetStringLabel(), operator<(), QGlobalLabel(), GlobalHandle< Q >::SetDataset(), and GlobalHandle< Q >::SetDatasetInterval().
| int QGlobalLabel::fEndRun |
@ end validity
Definition at line 48 of file QGlobalLabel.hh.
Referenced by QGlobalDataManager::Dump(), GlobalHandle< Q >::GetEndRun(), GetStringLabel(), GlobalHandle< Q >::GetValidityInterval(), operator<(), QGlobalLabel(), GlobalHandle< Q >::SetRun(), and GlobalHandle< Q >::SetRunInterval().
| std::map<std::string, ExtraKey> QGlobalLabel::fExtraKeys |
extra keys prefix:extraKey
Definition at line 73 of file QGlobalLabel.hh.
Referenced by GlobalHandle< Q >::AddKey(), GlobalHandle< Q >::GetKey(), GetStringLabel(), GlobalHandle< Q >::HaveKey(), operator<(), QGlobalLabel(), and GlobalHandle< Q >::SetKey().
| std::string QGlobalLabel::fName |
Object name.
Definition at line 44 of file QGlobalLabel.hh.
Referenced by MApplyCalibration::Do(), QGlobalDataManager::Dump(), GlobalHandle< Q >::GetName(), GetStringLabel(), GlobalHandle< Q >::GlobalHandle(), operator<(), and QGlobalLabel().
| std::string QGlobalLabel::fOwner |
Object owner.
Definition at line 42 of file QGlobalLabel.hh.
Referenced by MApplyCalibration::Do(), QGlobalDataManager::Dump(), QGlobalDataManager::Get(), GetBareOwnerAndExtraLabel(), GlobalHandle< Q >::GetOwner(), GetStringLabel(), GlobalHandle< Q >::GlobalHandle(), operator<(), QGlobalLabel(), QGlobalDataManager::Set(), and GlobalHandle< Q >::SetOwner().