![]() |
Diana Software
|
Visitor class to inspect the QEvent content. More...
Public Member Functions | |
| QEventInspector (QEventAssembler *eva) | |
| constructor More... | |
| QEvent & | GetEvent () |
| Get the event. More... | |
| const QEvent & | GetEvent () const |
| Get the event (const version) More... | |
| std::vector< QEventLabel > | GetLabels () const |
| Get all QObject labels. More... | |
| std::vector< QEventLabel > | GetWriteLabels () const |
| Get labels of QObjects to be written. More... | |
| QObject ** | Get (const char *owner, const char *name) const |
| Get reference of a QObject (can be used with TTree::SetBranchAddress). More... | |
| const QAliases & | GetAliases () const |
| get aliases (const version) More... | |
| template<typename Q > | |
| bool | Contains (const char *owner, const char *name) const |
| Check to see if the event contains a particular object. More... | |
| template<typename Q > | |
| bool | Contains (const char *label) const |
| Check to see if the event contains a particular object. More... | |
Private Attributes | |
| QEventAssembler * | fEventAssembler |
| the QEventAssembler object. More... | |
Visitor class to inspect the QEvent content.
The QEventInspector is a QEvent visitor that can retreive the list of all QObject (s). This class is used by the QWriter (s), to know that is the content of the QEvent, and which QObject (s) should be written. Unlike QEventAssembler, this class does not own the QEvent, but simply stores a reference to the QEventAssembler that contains the QEvent.
Definition at line 24 of file QEventInspector.hh.
|
inline |
|
inline |
Check to see if the event contains a particular object.
Definition at line 69 of file QEventInspector.hh.
References QEventAssembler::Contains(), and fEventAssembler.
|
inline |
Check to see if the event contains a particular object.
Definition at line 64 of file QEventInspector.hh.
References QEventAssembler::Contains(), and fEventAssembler.
|
inline |
Get reference of a QObject (can be used with TTree::SetBranchAddress).
Definition at line 56 of file QEventInspector.hh.
References fEventAssembler, and QEventAssembler::Get().
Referenced by QRootFileWriterBase::Open().
|
inline |
get aliases (const version)
Definition at line 62 of file QEventInspector.hh.
References fEventAssembler, and QEventAssembler::GetAliases().
Referenced by QRootFileWriterBase::Open().
|
inline |
Get the event.
Definition at line 32 of file QEventInspector.hh.
References fEventAssembler, and QEventAssembler::GetEvent().
Referenced by QFileWriter::Do(), QRootFileWriterBase::Dump(), and QFileWriter::Init().
|
inline |
Get the event (const version)
Definition at line 38 of file QEventInspector.hh.
References fEventAssembler, and QEventAssembler::GetEvent().
|
inline |
Get all QObject labels.
Definition at line 44 of file QEventInspector.hh.
References fEventAssembler, and QEventAssembler::GetLabels().
|
inline |
Get labels of QObjects to be written.
Definition at line 50 of file QEventInspector.hh.
References fEventAssembler, and QEventAssembler::GetWriteLabels().
Referenced by QRootFileWriterBase::Open().
|
private |
the QEventAssembler object.
Definition at line 77 of file QEventInspector.hh.
Referenced by Contains(), Get(), GetAliases(), GetEvent(), GetLabels(), GetWriteLabels(), and QEventInspector().