Logo ROOT  
Reference Guide
ROOT::Experimental::RNTupleVersion Class Reference

For forward and backward compatibility, attach version information to the consitituents of the file format (column, field, cluster, ntuple).

Definition at line 114 of file RNTupleUtil.hxx.

Public Member Functions

 RNTupleVersion ()=default
 
 RNTupleVersion (std::uint32_t versionUse, std::uint32_t versionMin)
 
 RNTupleVersion (std::uint32_t versionUse, std::uint32_t versionMin, NTupleFlags_t flags)
 
NTupleFlags_t GetFlags () const
 
std::uint32_t GetVersionMin () const
 
std::uint32_t GetVersionUse () const
 
bool operator== (const RNTupleVersion &other) const
 

Private Attributes

NTupleFlags_t fFlags = 0
 
std::uint32_t fVersionMin = 0
 The minimum required version necessary to read an entity. More...
 
std::uint32_t fVersionUse = 0
 The version used to write an entity. More...
 

#include <ROOT/RNTupleUtil.hxx>

Constructor & Destructor Documentation

◆ RNTupleVersion() [1/3]

ROOT::Experimental::RNTupleVersion::RNTupleVersion ( )
default

◆ RNTupleVersion() [2/3]

ROOT::Experimental::RNTupleVersion::RNTupleVersion ( std::uint32_t  versionUse,
std::uint32_t  versionMin 
)
inline

Definition at line 124 of file RNTupleUtil.hxx.

◆ RNTupleVersion() [3/3]

ROOT::Experimental::RNTupleVersion::RNTupleVersion ( std::uint32_t  versionUse,
std::uint32_t  versionMin,
NTupleFlags_t  flags 
)
inline

Definition at line 127 of file RNTupleUtil.hxx.

Member Function Documentation

◆ GetFlags()

NTupleFlags_t ROOT::Experimental::RNTupleVersion::GetFlags ( ) const
inline

Definition at line 137 of file RNTupleUtil.hxx.

◆ GetVersionMin()

std::uint32_t ROOT::Experimental::RNTupleVersion::GetVersionMin ( ) const
inline

Definition at line 136 of file RNTupleUtil.hxx.

◆ GetVersionUse()

std::uint32_t ROOT::Experimental::RNTupleVersion::GetVersionUse ( ) const
inline

Definition at line 135 of file RNTupleUtil.hxx.

◆ operator==()

bool ROOT::Experimental::RNTupleVersion::operator== ( const RNTupleVersion other) const
inline

Definition at line 131 of file RNTupleUtil.hxx.

Member Data Documentation

◆ fFlags

NTupleFlags_t ROOT::Experimental::RNTupleVersion::fFlags = 0
private

Definition at line 120 of file RNTupleUtil.hxx.

◆ fVersionMin

std::uint32_t ROOT::Experimental::RNTupleVersion::fVersionMin = 0
private

The minimum required version necessary to read an entity.

Definition at line 119 of file RNTupleUtil.hxx.

◆ fVersionUse

std::uint32_t ROOT::Experimental::RNTupleVersion::fVersionUse = 0
private

The version used to write an entity.

Definition at line 117 of file RNTupleUtil.hxx.

Libraries for ROOT::Experimental::RNTupleVersion:
[legend]

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