Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RNTupleMerger.hxx
Go to the documentation of this file.
1/// \file ROOT/RNTupleMerger.hxx
2/// \ingroup NTuple ROOT7
3/// \author Jakob Blomer <jblomer@cern.ch> & Max Orok <maxwellorok@gmail.com>
4/// \date 2020-07-08
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-2020, 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_RNTupleMerger
17#define ROOT7_RNTupleMerger
18
19#include <ROOT/RError.hxx>
21#include <ROOT/RNTupleUtil.hxx>
22
23namespace ROOT {
24namespace Experimental {
25
26// clang-format off
27/**
28\class ROOT::Experimental::RFieldMerger
29\ingroup NTuple
30\brief Two-way merge between NTuple fields
31*/
32// clang-format on
34private:
35 /// The merged field descriptor
37public:
38 static RResult<RFieldMerger> Merge(const RFieldDescriptor &lhs, const RFieldDescriptor &rhs);
39};
40
41} // namespace Experimental
42} // namespace ROOT
43
44#endif
Meta-data stored for every field of an ntuple.
Two-way merge between NTuple fields.
static RResult< RFieldMerger > Merge(const RFieldDescriptor &lhs, const RFieldDescriptor &rhs)
RFieldDescriptor fMergedField
The merged field descriptor.
The class is used as a return type for operations that can fail; wraps a value of type T or an RError...
Definition RError.hxx:207
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.