ROOT
v6-26
Reference Guide
Loading...
Searching...
No Matches
browser.cxx
Go to the documentation of this file.
1
/// \file
2
/// \ingroup tutorial_v7
3
///
4
/// \macro_code
5
///
6
/// \date 2019-05-29
7
/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
8
/// \author Bertrand Bellenot <Bertrand.Bellenot@cern.ch>
9
/// \author Sergey Linev <S.Linev@gsi.de>
10
11
/*************************************************************************
12
* Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
13
* All rights reserved. *
14
* *
15
* For the licensing terms see $ROOTSYS/LICENSE. *
16
* For the list of contributors see $ROOTSYS/README/CREDITS. *
17
*************************************************************************/
18
19
// macro must be here to let macro work on Windows
20
R__LOAD_LIBRARY
(libROOTBrowserv7)
21
22
#include <ROOT/RBrowser.hxx>
23
#include <
ROOT/RDirectory.hxx
>
24
25
using namespace
ROOT::Experimental
;
26
27
void
browser()
28
{
29
// create browser
30
auto
br = std::make_shared<RBrowser>();
31
32
// add to global list - avoid auto deletion
33
RDirectory::Heap().Add(
"browser"
, br);
34
}
35
RDirectory.hxx
R__LOAD_LIBRARY
#define R__LOAD_LIBRARY(LIBRARY)
Definition
Rtypes.h:472
ROOT::Experimental
Definition
RDirectory.hxx:30
tutorials
v7
browser.cxx
ROOT v6-26 - Reference Guide Generated on Mon Sep 11 2023 21:03:04 (GVA Time) using Doxygen 1.9.8