11 #ifndef ROOT_RSNAPSHOTOPTIONS
12 #define ROOT_RSNAPSHOTOPTIONS
22 struct RSnapshotOptions {
23 using ECAlgo = ROOT::ECompressionAlgorithm;
24 RSnapshotOptions() =
default;
25 RSnapshotOptions(
const RSnapshotOptions &) =
default;
26 RSnapshotOptions(RSnapshotOptions &&) =
default;
27 RSnapshotOptions(std::string_view mode, ECAlgo comprAlgo,
int comprLevel,
int autoFlush,
int splitLevel,
bool lazy)
28 : fMode(mode), fCompressionAlgorithm(comprAlgo), fCompressionLevel{comprLevel}, fAutoFlush(autoFlush),
29 fSplitLevel(splitLevel), fLazy(lazy)
32 std::string fMode =
"RECREATE";
33 ECAlgo fCompressionAlgorithm = ROOT::kZLIB;
34 int fCompressionLevel = 1;