Logo ROOT  
Reference Guide
RNTupleUtil.cxx
Go to the documentation of this file.
1 /// \file RNTupleUtil.cxx
2 /// \ingroup NTuple ROOT7
3 /// \author Jakob Blomer <jblomer@cern.ch> & Max Orok <maxwellorok@gmail.com>
4 /// \date 2020-07-14
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 #include "ROOT/RMiniFile.hxx"
17 #include "ROOT/RNTupleUtil.hxx"
18 
19 #include <iostream>
20 
21 namespace ROOT {
22 namespace Experimental {
23 namespace Internal {
24 
25 void PrintRNTuple(const RNTuple& ntuple, std::ostream& output) {
26  output << "RNTuple {\n";
27  output << " fVersion: " << ntuple.fVersion << ",\n";
28  output << " fSize: " << ntuple.fSize << ",\n";
29  output << " fSeekHeader: " << ntuple.fSeekHeader << ",\n";
30  output << " fNBytesHeader: " << ntuple.fNBytesHeader << ",\n";
31  output << " fLenHeader: " << ntuple.fLenHeader << ",\n";
32  output << " fSeekFooter: " << ntuple.fSeekFooter << ",\n";
33  output << " fNBytesFooter: " << ntuple.fNBytesFooter << ",\n";
34  output << " fLenFooter: " << ntuple.fLenFooter << ",\n";
35  output << " fReserved: " << ntuple.fReserved << ",\n";
36  output << "}";
37 }
38 
39 } // namespace Internal
40 } // namespace Experimental
41 } // namespace ROOT
ROOT::Experimental::Internal::PrintRNTuple
void PrintRNTuple(const RNTuple &ntuple, std::ostream &output)
Definition: RNTupleUtil.cxx:25
output
static void output(int code)
Definition: gifencode.c:226
ROOT::Experimental::RNTuple::fSeekHeader
std::uint64_t fSeekHeader
The file offset of the header excluding the TKey part.
Definition: RMiniFile.hxx:61
ROOT::Experimental::RNTuple::fSeekFooter
std::uint64_t fSeekFooter
The file offset of the footer excluding the TKey part.
Definition: RMiniFile.hxx:67
ROOT::Experimental::RNTuple::fReserved
std::uint64_t fReserved
Currently unused, reserved for later use.
Definition: RMiniFile.hxx:73
ROOT::Experimental::RNTuple::fNBytesHeader
std::uint32_t fNBytesHeader
The size of the compressed ntuple header.
Definition: RMiniFile.hxx:63
ROOT::Experimental::RNTuple::fNBytesFooter
std::uint32_t fNBytesFooter
The size of the compressed ntuple footer.
Definition: RMiniFile.hxx:69
RMiniFile.hxx
ROOT::Experimental::RNTuple::fVersion
std::uint32_t fVersion
Allows for evolving the struct in future versions.
Definition: RMiniFile.hxx:57
ROOT::Experimental::RNTuple::fSize
std::uint32_t fSize
Allows for skipping the struct.
Definition: RMiniFile.hxx:59
ROOT::Experimental::RNTuple::fLenFooter
std::uint32_t fLenFooter
The size of the uncompressed ntuple footer.
Definition: RMiniFile.hxx:71
RNTupleUtil.hxx
ROOT::Experimental::RNTuple::fLenHeader
std::uint32_t fLenHeader
The size of the uncompressed ntuple header.
Definition: RMiniFile.hxx:65
ROOT::Experimental::RNTuple
Entry point for an RNTuple in a ROOT file.
Definition: RMiniFile.hxx:55
ROOT
VSD Structures.
Definition: StringConv.hxx:21