Logo ROOT  
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
20R__LOAD_LIBRARY(libROOTBrowserv7)
21
22#include <ROOT/RBrowser.hxx>
23#include <ROOT/RDirectory.hxx>
24
25using namespace ROOT::Experimental;
26
27void 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
#define R__LOAD_LIBRARY(LIBRARY)
Definition Rtypes.h:472