Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::Detail Namespace Reference

Classes

class  RArgsMenuItem
 Menu item which requires extra arguments for invoked class method. More...
 
class  RCheckedMenuItem
 Menu item with check box. More...
 
class  RMenuArgument
 Argument description for menu item which should invoke class method. More...
 
class  RMenuItem
 Base class for menu items, shown on JS side. More...
 
class  RNTupleAtomicCounter
 A thread-safe integral performance counter. More...
 
class  RNTupleCalcPerf
 A metric element that computes its floating point value from other counters. More...
 
class  RNTupleMetrics
 A collection of Counter objects with a name, a unit, and a description. More...
 
class  RNTuplePerfCounter
 A performance counter with a name and a unit, which can be activated on demand. More...
 
class  RNTuplePlainCounter
 A non thread-safe integral performance counter. More...
 
class  RNTupleTickCounter
 A counter for CPU ticks. More...
 
class  RNTupleTimer
 Record wall time and CPU time between construction and destruction. More...
 
class  RRawPtrWriteEntry
 A container of const raw pointers, corresponding to a row in the data set. More...
 

Typedefs

using RNTupleAtomicTimer = RNTupleTimer<RNTupleAtomicCounter, RNTupleTickCounter<RNTupleAtomicCounter>>
 
using RNTuplePlainTimer = RNTupleTimer<RNTuplePlainCounter, RNTupleTickCounter<RNTuplePlainCounter>>
 

Functions

std::pair< std::string_view, std::string_view > DecomposePath (std::string_view path)
 Given a "path-like" string (like foo/bar/baz), returns a pair { dirName, baseName }.
 

Typedef Documentation

◆ RNTupleAtomicTimer

◆ RNTuplePlainTimer

Function Documentation

◆ DecomposePath()

std::pair< std::string_view, std::string_view > ROOT::Experimental::Detail::DecomposePath ( std::string_view path)

Given a "path-like" string (like foo/bar/baz), returns a pair { dirName, baseName }.

baseName will be empty if the string ends with '/'. dirName will be empty if the string contains no '/'. dirName, if not empty, always ends with a '/'. NOTE: this function does no semantic checking or path expansion, nor does it interact with the filesystem in any way (so it won't follow symlink or anything like that). Moreover it doesn't trim the path in any way, so any leading or trailing whitespaces will be preserved. This function does not perform any copy: the returned string_views have the same lifetime as path.

Definition at line 193 of file RFile.cxx.