![]() |
Diana Software
|
label for QObject in the QEvent More...
Public Member Functions | |
| QEventLabel () | |
| default constructor More... | |
| QEventLabel (const char *o, const char *n) | |
| constructor More... | |
| QEventLabel (const std::string &o, const std::string &n) | |
| constructor More... | |
| QEventLabel (const std::string &label) | |
| constructor from string label in the format "owner@name" More... | |
| QEventLabel (const char *label) | |
| constructor from char array label in the format "owner@name" More... | |
| const QEventLabel & | operator= (const std::string &label) |
| assignment operator More... | |
| std::string | GetStringLabel () const |
| get string in the format "owner@name" More... | |
| operator std::string () const | |
| cast operator, returns GetStringLabel() More... | |
| bool | operator< (const QEventLabel &other) const |
| less operator More... | |
| bool | operator== (const QEventLabel &other) const |
| comparison operator More... | |
| const std::string & | GetOwner () const |
| get owner More... | |
| const std::string & | GetName () const |
| get name More... | |
Public Attributes | |
| std::string | owner |
| owner of the QObject More... | |
| std::string | name |
| name of the QObject More... | |
Private Member Functions | |
| void | Init (const std::string &) |
| function called in constructors More... | |
label for QObject in the QEvent
This class implements the label that uniquely identify a QObject in the QEvent. The label is composed by two strings, the QObject owner and the QObject name. The two strings can be combined in a unique string "owner@name" through the GetStringLabel() method, or through the cast operator.
Definition at line 22 of file QEventLabel.hh.
|
inline |
|
inline |
constructor
Definition at line 29 of file QEventLabel.hh.
|
inline |
constructor
Definition at line 32 of file QEventLabel.hh.
| Q_BEGIN_NAMESPACE QEventLabel::QEventLabel | ( | const std::string & | label | ) |
constructor from string label in the format "owner@name"
Definition at line 5 of file QEventLabel.cc.
References Init().
| QEventLabel::QEventLabel | ( | const char * | label | ) |
constructor from char array label in the format "owner@name"
Definition at line 11 of file QEventLabel.cc.
References Init().
|
inline |
get name
Definition at line 57 of file QEventLabel.hh.
References name.
Referenced by QRootFileReaderBase::AddToEvent(), and QEvent::GetByLabel().
|
inline |
get owner
Definition at line 55 of file QEventLabel.hh.
References owner.
Referenced by QRootFileReaderBase::AddToEvent(), MEnergyFilter::Done(), QEvent::GetByLabel(), MVariableOperation::GetValue(), and MVariableOperation::SetReq().
| std::string QEventLabel::GetStringLabel | ( | ) | const |
get string in the format "owner@name"
Definition at line 48 of file QEventLabel.cc.
Referenced by QEvent::Add(), QEvent::Dump(), MVariableOperation::GetValue(), MQPulseManager::Init(), QRootFileWriterBase::Open(), operator std::string(), MRootNtpDumper::Require(), QEvent::RequireByLabel(), MGuiDriver::SendData(), and MVariableOperation::SetReq().
|
private |
function called in constructors
Definition at line 16 of file QEventLabel.cc.
Referenced by operator=(), and QEventLabel().
|
inline |
cast operator, returns GetStringLabel()
Definition at line 46 of file QEventLabel.hh.
References GetStringLabel().
| bool QEventLabel::operator< | ( | const QEventLabel & | other | ) | const |
| const QEventLabel & QEventLabel::operator= | ( | const std::string & | label | ) |
| bool QEventLabel::operator== | ( | const QEventLabel & | other | ) | const |
| std::string QEventLabel::name |
name of the QObject
Definition at line 62 of file QEventLabel.hh.
Referenced by MNeighboursPacker::Do(), QCreateSidePulseByPulseSplitting::FillList(), QRootFileReaderBase::GetBranches(), QEvent::GetLabel(), GetName(), QEventAssembler::GetRequiredLabels(), GetStringLabel(), QEventAssembler::GetWriteLabels(), QCreateSidePulseByPulseSplitting::Init(), Init(), MNeighboursPacker::Init(), MQPulseManager::Init(), QRootFileWriterBase::Open(), operator<(), operator==(), QEventLabel(), MRootNtpDumper::Require(), QEvent::RequireByLabel(), MGuiDriver::SendData(), and QEventAssembler::SetRequiredLabels().
| std::string QEventLabel::owner |
owner of the QObject
Definition at line 60 of file QEventLabel.hh.
Referenced by MNeighboursPacker::Do(), QCreateSidePulseByPulseSplitting::FillList(), QRootFileReaderBase::GetBranches(), QEvent::GetLabel(), GetOwner(), QEventAssembler::GetRequiredLabels(), GetStringLabel(), QEventAssembler::GetWriteLabels(), QCreateSidePulseByPulseSplitting::Init(), Init(), MNeighboursPacker::Init(), MQPulseManager::Init(), QRootFileWriterBase::Open(), operator<(), operator==(), QEventLabel(), MRootNtpDumper::Require(), QEvent::RequireByLabel(), MGuiDriver::SendData(), and QEventAssembler::SetRequiredLabels().