Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Internal::RNTupleFileWriter::RFileProper Struct Reference

Definition at line 115 of file RMiniFile.hxx.

Public Member Functions

 operator bool () const
 
std::uint64_t ReserveBlobKey (size_t nbytes, size_t len, unsigned char keyBuffer[kBlobKeyLen]=nullptr)
 Reserves an RBlob opaque key as data record and returns the offset of the record.
 
void Write (const void *buffer, size_t nbytes, std::int64_t offset)
 Low-level writing using a TFile.
 

Public Attributes

TDirectoryfDirectory = nullptr
 A sub directory in fFile or nullptr if the data is stored in the root directory of the file.
 

Member Function Documentation

◆ operator bool()

ROOT::Experimental::Internal::RNTupleFileWriter::RFileProper::operator bool ( ) const
inline

Definition at line 124 of file RMiniFile.hxx.

◆ ReserveBlobKey()

std::uint64_t ROOT::Experimental::Internal::RNTupleFileWriter::RFileProper::ReserveBlobKey ( size_t  nbytes,
size_t  len,
unsigned char  keyBuffer[kBlobKeyLen] = nullptr 
)

Reserves an RBlob opaque key as data record and returns the offset of the record.

If keyBuffer is specified, it must be written before the returned offset. (Note that the array type is purely documentation, the argument is actually just a pointer.)

Definition at line 1088 of file RMiniFile.cxx.

◆ Write()

void ROOT::Experimental::Internal::RNTupleFileWriter::RFileProper::Write ( const void *  buffer,
size_t  nbytes,
std::int64_t  offset 
)

Low-level writing using a TFile.

Definition at line 1078 of file RMiniFile.cxx.

Member Data Documentation

◆ fDirectory

TDirectory* ROOT::Experimental::Internal::RNTupleFileWriter::RFileProper::fDirectory = nullptr

A sub directory in fFile or nullptr if the data is stored in the root directory of the file.

Definition at line 117 of file RMiniFile.hxx.

Collaboration diagram for ROOT::Experimental::Internal::RNTupleFileWriter::RFileProper:
[legend]

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