Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
RNTupleWriteOptionsDaos.hxx
Go to the documentation of this file.
1/// \file ROOT/RNTupleWriteOptionsDaos.hxx
2/// \author Jakob Blomer <jblomer@cern.ch>
3/// \date 2024-02-22
4/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
5/// is welcome!
6
7/*************************************************************************
8 * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
9 * All rights reserved. *
10 * *
11 * For the licensing terms see $ROOTSYS/LICENSE. *
12 * For the list of contributors see $ROOTSYS/README/CREDITS. *
13 *************************************************************************/
14
15#ifndef ROOT_RNTupleWriteOptionsDaos
16#define ROOT_RNTupleWriteOptionsDaos
17
19
20#include <cstdint>
21#include <memory>
22#include <string>
23#include <utility>
24
25namespace ROOT {
26namespace Experimental {
27
28// clang-format off
29/**
30\class ROOT::Experimental::RNTupleWriteOptionsDaos
31\ingroup NTuple
32\brief DAOS-specific user-tunable settings for storing ntuples
33*/
34// clang-format on
36 std::string fObjectClass{"SX"};
37
38public:
39 ~RNTupleWriteOptionsDaos() override = default;
40 std::unique_ptr<RNTupleWriteOptions> Clone() const override
41 {
42 return std::make_unique<RNTupleWriteOptionsDaos>(*this);
43 }
44
45 const std::string &GetObjectClass() const { return fObjectClass; }
46 /// Set the object class used to generate OIDs that relate to user data. Any
47 /// `OC_xxx` constant defined in `daos_obj_class.h` may be used here without
48 /// the OC_ prefix.
49 void SetObjectClass(const std::string &val) { fObjectClass = val; }
50};
51
52} // namespace Experimental
53} // namespace ROOT
54
55#endif // ROOT_RNTupleWriteOptionsDaos
DAOS-specific user-tunable settings for storing ntuples.
void SetObjectClass(const std::string &val)
Set the object class used to generate OIDs that relate to user data.
std::unique_ptr< RNTupleWriteOptions > Clone() const override
Common user-tunable settings for storing RNTuples.
Namespace for ROOT features in testing.
Definition TROOT.h:100