Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
RNTupleImporter.hxx
Go to the documentation of this file.
1/// \file ROOT/RNTuplerImporter.hxx
2/// \ingroup NTuple ROOT7
3/// \author Jakob Blomer <jblomer@cern.ch>
4/// \date 2022-11-22
5/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
6/// is welcome!
7
8/*************************************************************************
9 * Copyright (C) 1995-2022, Rene Brun and Fons Rademakers. *
10 * All rights reserved. *
11 * *
12 * For the licensing terms see $ROOTSYS/LICENSE. *
13 * For the list of contributors see $ROOTSYS/README/CREDITS. *
14 *************************************************************************/
15
16#ifndef ROOT7_RNTuplerImporter
17#define ROOT7_RNTuplerImporter
18
19#include <ROOT/RStringView.hxx>
20
21#include <memory>
22
23class TTree;
24
25namespace ROOT {
26namespace Experimental {
27
28namespace Detail {
29class RPageSink;
30}
31
32// clang-format off
33/**
34\class ROOT::Experimental::Detail::RNTupleImporter
35\ingroup NTuple
36\brief Converts a TTree into an RNTuple
37
38The class steers the conversion of a TTree into an RNTuple.
39*/
40// clang-format on
42private:
43 RNTupleImporter() = default;
44
45public:
46 RNTupleImporter(const RNTupleImporter &other) = delete;
47 RNTupleImporter &operator=(const RNTupleImporter &other) = delete;
50 ~RNTupleImporter() = default;
51
52 static std::unique_ptr<RNTupleImporter>
53 Create(std::string_view sourceFile, std::string_view treeName, std::string_view destFile);
54}; // class RNTupleImporter
55
56} // namespace Experimental
57} // namespace ROOT
58
59#endif
RNTupleImporter & operator=(const RNTupleImporter &other)=delete
static std::unique_ptr< RNTupleImporter > Create(std::string_view sourceFile, std::string_view treeName, std::string_view destFile)
RNTupleImporter(const RNTupleImporter &other)=delete
RNTupleImporter & operator=(RNTupleImporter &&other)=delete
RNTupleImporter(RNTupleImporter &&other)=delete
A TTree represents a columnar dataset.
Definition TTree.h:79
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.