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

Modifiers passed to CreateModel()

Definition at line 707 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 724 of file RNTupleDescriptor.hxx.

Member Function Documentation

◆ GetCreateBare()

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

Definition at line 733 of file RNTupleDescriptor.hxx.

◆ GetEmulateUnknownTypes()

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

Definition at line 736 of file RNTupleDescriptor.hxx.

◆ GetForwardCompatible()

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

Definition at line 730 of file RNTupleDescriptor.hxx.

◆ GetReconstructProjections()

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

Definition at line 727 of file RNTupleDescriptor.hxx.

◆ SetCreateBare()

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

Definition at line 732 of file RNTupleDescriptor.hxx.

◆ SetEmulateUnknownTypes()

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

Definition at line 735 of file RNTupleDescriptor.hxx.

◆ SetForwardCompatible()

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

Definition at line 729 of file RNTupleDescriptor.hxx.

◆ SetReconstructProjections()

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

Definition at line 726 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 718 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 721 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 716 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 711 of file RNTupleDescriptor.hxx.

Collaboration diagram for ROOT::RNTupleDescriptor::RCreateModelOptions:
[legend]

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