-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ntuple] extract RCreateFieldOptions into its own header
- Loading branch information
1 parent
8d2292a
commit b3a09e3
Showing
5 changed files
with
40 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/// \file ROOT/RCreateFieldOptions.hxx | ||
/// \ingroup NTuple ROOT7 | ||
/// \author Giacomo Parolini <giacomo.parolini@cern.ch> | ||
/// \date 2024-12-17 | ||
/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback | ||
/// is welcome! | ||
|
||
/************************************************************************* | ||
* Copyright (C) 1995-2024, Rene Brun and Fons Rademakers. * | ||
* All rights reserved. * | ||
* * | ||
* For the licensing terms see $ROOTSYS/LICENSE. * | ||
* For the list of contributors see $ROOTSYS/README/CREDITS. * | ||
*************************************************************************/ | ||
|
||
#ifndef ROOT7_RCreateFieldOptions | ||
#define ROOT7_RCreateFieldOptions | ||
|
||
namespace ROOT::Experimental { | ||
|
||
struct RCreateFieldOptions { | ||
/// If true, failing to create a field will return a RInvalidField instead of throwing an exception. | ||
bool fReturnInvalidOnError = false; | ||
/// If true, fields with a user defined type that have no available dictionaries will be reconstructed | ||
/// as record fields from the on-disk information; otherwise, they will cause an error. | ||
bool fEmulateUnknownTypes = false; | ||
}; | ||
|
||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters