Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
ROOT::RNTupleDescriptor::RCreateModelOptions Struct Reference

Modifiers passed to CreateModel().

Definition at line 788 of file RNTupleDescriptor.hxx.

Public Member Functions

 RCreateModelOptions ()
bool GetCreateBare () const
bool GetEmulateUnknownTypes () const
bool GetForwardCompatible () const
bool GetReconstructProjections () const
void SetCreateBare (bool v)
void SetEmulateUnknownTypes (bool v)
void SetForwardCompatible (bool v)
void SetReconstructProjections (bool v)

Private Attributes

bool fCreateBare = false
 If true, the model will be created without a default entry (bare model).
bool fEmulateUnknownTypes = 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 fForwardCompatible = false
 By default, creating a model will fail if any of the reconstructed fields contains an unknown column type or an unknown field structural role.
bool fReconstructProjections = false
 If set to true, projected fields will be reconstructed as such.

#include <ROOT/RNTupleDescriptor.hxx>

Constructor & Destructor Documentation

◆ RCreateModelOptions()

ROOT::RNTupleDescriptor::RCreateModelOptions::RCreateModelOptions ( )
inline

Definition at line 805 of file RNTupleDescriptor.hxx.

Member Function Documentation

◆ GetCreateBare()

bool ROOT::RNTupleDescriptor::RCreateModelOptions::GetCreateBare ( ) const
inline

Definition at line 814 of file RNTupleDescriptor.hxx.

◆ GetEmulateUnknownTypes()

bool ROOT::RNTupleDescriptor::RCreateModelOptions::GetEmulateUnknownTypes ( ) const
inline

Definition at line 817 of file RNTupleDescriptor.hxx.

◆ GetForwardCompatible()

bool ROOT::RNTupleDescriptor::RCreateModelOptions::GetForwardCompatible ( ) const
inline

Definition at line 811 of file RNTupleDescriptor.hxx.

◆ GetReconstructProjections()

bool ROOT::RNTupleDescriptor::RCreateModelOptions::GetReconstructProjections ( ) const
inline

Definition at line 808 of file RNTupleDescriptor.hxx.

◆ SetCreateBare()

void ROOT::RNTupleDescriptor::RCreateModelOptions::SetCreateBare ( bool v)
inline

Definition at line 813 of file RNTupleDescriptor.hxx.

◆ SetEmulateUnknownTypes()

void ROOT::RNTupleDescriptor::RCreateModelOptions::SetEmulateUnknownTypes ( bool v)
inline

Definition at line 816 of file RNTupleDescriptor.hxx.

◆ SetForwardCompatible()

void ROOT::RNTupleDescriptor::RCreateModelOptions::SetForwardCompatible ( bool v)
inline

Definition at line 810 of file RNTupleDescriptor.hxx.

◆ SetReconstructProjections()

void ROOT::RNTupleDescriptor::RCreateModelOptions::SetReconstructProjections ( bool v)
inline

Definition at line 807 of file RNTupleDescriptor.hxx.

Member Data Documentation

◆ fCreateBare

bool ROOT::RNTupleDescriptor::RCreateModelOptions::fCreateBare = false
private

If true, the model will be created without a default entry (bare model).

Definition at line 799 of file RNTupleDescriptor.hxx.

◆ fEmulateUnknownTypes

bool ROOT::RNTupleDescriptor::RCreateModelOptions::fEmulateUnknownTypes = false
private

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.

Definition at line 802 of file RNTupleDescriptor.hxx.

◆ fForwardCompatible

bool ROOT::RNTupleDescriptor::RCreateModelOptions::fForwardCompatible = false
private

By default, creating a model will fail if any of the reconstructed fields contains an unknown column type or an unknown field structural role.

If this option is enabled, the model will be created and all fields containing unknown data (directly or indirectly) will be skipped instead.

Definition at line 797 of file RNTupleDescriptor.hxx.

◆ fReconstructProjections

bool ROOT::RNTupleDescriptor::RCreateModelOptions::fReconstructProjections = false
private

If set to true, projected fields will be reconstructed as such.

This will prevent the model to be used with an RNTupleReader, but it is useful, e.g., to accurately merge data.

Definition at line 792 of file RNTupleDescriptor.hxx.


The documentation for this struct was generated from the following file: