1 #ifndef _Q_EVENT_INSPECTOR_HH_
2 #define _Q_EVENT_INSPECTOR_HH_
64 template<
typename Q>
bool Contains(
const char *owner,
const char *name)
const
69 template<
typename Q>
bool Contains(
const char *label)
const
#define Q_BEGIN_NAMESPACE
Visitor class of QEvent that provides full handling of QEvent.
QEvent & GetEvent()
Get the QEvent.
std::vector< QEventLabel > GetLabels() const
Get the list of all QObject labels in the event.
void Get(const char *owner, WriteHandle< Q > &handle)
Get QObject from the event in write mode. This method has to be called in the event loop,...
const QAliases & GetAliases() const
get aliases (const version)
std::vector< QEventLabel > GetWriteLabels() const
Get the list of all writable QObject labels.
bool Contains(const char *owner, const char *name) const
Check to see if the event contains a particular object.
Visitor class to inspect the QEvent content.
QEvent & GetEvent()
Get the event.
std::vector< QEventLabel > GetWriteLabels() const
Get labels of QObjects to be written.
std::vector< QEventLabel > GetLabels() const
Get all QObject labels.
QObject ** Get(const char *owner, const char *name) const
Get reference of a QObject (can be used with TTree::SetBranchAddress).
const QEvent & GetEvent() const
Get the event (const version)
bool Contains(const char *owner, const char *name) const
Check to see if the event contains a particular object.
QEventInspector(QEventAssembler *eva)
constructor
QEventAssembler * fEventAssembler
the QEventAssembler object.
bool Contains(const char *label) const
Check to see if the event contains a particular object.
const QAliases & GetAliases() const
get aliases (const version)
base class for objects handled by QEvent and QGlobalDataManager.