Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
xRooBrowser.h
Go to the documentation of this file.
1/*
2 * Project: xRooFit
3 * Author:
4 * Will Buttinger, RAL 2022
5 *
6 * Copyright (c) 2022, CERN
7 *
8 * Redistribution and use in source and binary forms,
9 * with or without modification, are permitted according to the terms
10 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
11 */
12
13#include "Config.h"
14
15#ifdef XROOFIT_USE_PRAGMA_ONCE
16#pragma once
17#endif
18#if !defined(XROOFIT_XROOBROWSER_H) || defined(XROOFIT_USE_PRAGMA_ONCE)
19#ifndef XROOFIT_USE_PRAGMA_ONCE
20#define XROOFIT_XROOBROWSER_H
21#endif
22
23#include "TBrowser.h"
24#include "TQObject.h"
25
27
28class xRooNode;
29
30class xRooBrowser : public TBrowser, public TQObject {
31public:
34
36
37 xRooNode *Open(const char *filename);
38
39 void ls(const char *path = nullptr) const override;
40 void cd(const char *path);
41
42 void HandleMenu(Int_t id);
43
44private:
45 std::shared_ptr<xRooNode> fNode; ///<!
46 std::shared_ptr<xRooNode> fTopNode; ///<!
47
48public:
50};
51
53
54#endif // include guard
int Int_t
Signed integer 4 bytes (int).
Definition RtypesCore.h:59
#define ClassDefOverride(name, id)
Definition Rtypes.h:348
std::shared_ptr< xRooNode > fTopNode
!
Definition xRooBrowser.h:46
std::shared_ptr< xRooNode > fNode
!
Definition xRooBrowser.h:45
xRooNode * Open(const char *filename)
void ls(const char *path=nullptr) const override
List TNamed name and title.
The xRooNode class is designed to wrap over a TObject and provide functionality to aid with interacti...
Definition xRooNode.h:52
TBrowser(const TBrowser &)=delete
TQObject(const TQObject &)=delete
#define BEGIN_XROOFIT_NAMESPACE
Definition Config.h:24
#define END_XROOFIT_NAMESPACE
Definition Config.h:25