![]() |
Belle II Software
release-08-02-04
|
text-based info viewer showing DataStore contents. More...
#include <InfoWidget.h>


Classes | |
| struct | URI |
| a parsed URI. More... | |
Public Member Functions | |
| InfoWidget (const TGWindow *p) | |
| ctor. | |
| void | update () |
| reset for new event (try to show same object if it exists). | |
| void | show (const char *uri="main:", bool clearSelection=true) |
| Navigate to given URI. More... | |
| void | show (const TObject *obj) |
| Navigate to page belonging to given object. More... | |
| void | back () |
| navigate to previous page, clearing current page from history. | |
| virtual int | IsVisited (const char *uri) override |
| Used to colour visited links. | |
Private Member Functions | |
| TString | createMainPage () const |
| create DataStore overview. | |
| TString | createArrayPage (const URI &uri) const |
| create list of array contents. | |
| TString | createObjectPage (const URI &uri) const |
| create object info. | |
| TString | getHeader (const URI &uri=URI()) const |
| returns string with title, breadcrumbs, menu. | |
| ClassDefOverride (InfoWidget, 0) | |
| text-based info viewer showing DataStore contents. | |
Static Private Member Functions | |
| static TString | getContents (const TObject *obj) |
| Get object contents (member data). | |
| static TString | getRelatedInfo (const TObject *obj) |
| return HTML-formatted list of related objects. | |
Private Attributes | |
| std::set< TString > | m_visited |
| list of all pages viewed in current event. | |
| std::vector< TString > | m_history |
| ordered list of all pages viewed in current event. | |
text-based info viewer showing DataStore contents.
Definition at line 27 of file InfoWidget.h.
| void show | ( | const char * | uri = "main:", |
| bool | clearSelection = true |
||
| ) |
Navigate to given URI.
| uri | what to show, see InfoWidget::URI |
| clearSelection | when showing an object, this determines wether to clear an existing selection |
Definition at line 93 of file InfoWidget.cc.
| void show | ( | const TObject * | obj | ) |
Navigate to page belonging to given object.
Special in that it doesn't clear the current selection.
Definition at line 88 of file InfoWidget.cc.