Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
ROOT::RNTupleDescriptor::RCreateModelOptions Struct Reference

Modifiers passed to CreateModel

Definition at line 698 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
 Normally creating a model will fail if any of the reconstructed fields contains an unknown column type.
 
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 714 of file RNTupleDescriptor.hxx.

Member Function Documentation

◆ GetCreateBare()

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

Definition at line 723 of file RNTupleDescriptor.hxx.

◆ GetEmulateUnknownTypes()

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

Definition at line 726 of file RNTupleDescriptor.hxx.

◆ GetForwardCompatible()

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

Definition at line 720 of file RNTupleDescriptor.hxx.

◆ GetReconstructProjections()

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

Definition at line 717 of file RNTupleDescriptor.hxx.

◆ SetCreateBare()

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

Definition at line 722 of file RNTupleDescriptor.hxx.

◆ SetEmulateUnknownTypes()

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

Definition at line 725 of file RNTupleDescriptor.hxx.

◆ SetForwardCompatible()

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

Definition at line 719 of file RNTupleDescriptor.hxx.

◆ SetReconstructProjections()

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

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

◆ fForwardCompatible

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

Normally creating a model will fail if any of the reconstructed fields contains an unknown column type.

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 706 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 702 of file RNTupleDescriptor.hxx.

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

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