Logo ROOT  
Reference Guide
Utils.hxx File Reference
#include "ROOT/RSpan.hxx"
#include "ROOT/RStringView.hxx"
#include "ROOT/RVec.hxx"
#include "ROOT/TypeTraits.hxx"
#include "Rtypes.h"
#include <array>
#include <deque>
#include <functional>
#include <memory>
#include <new>
#include <string>
#include <type_traits>
#include <vector>
Include dependency graph for Utils.hxx:
This graph shows which files directly or indirectly include this file:

Classes

struct  ROOT::Internal::RDF::IsDataContainer< T >
 Check for container traits. More...
 
struct  ROOT::Internal::RDF::IsDataContainer< ROOT::VecOps::RVec< bool > >
 
struct  ROOT::Internal::RDF::IsVector_t< typename >
 Detect whether a type is an instantiation of vector<T,A> More...
 
struct  ROOT::Internal::RDF::RemoveFirstParameterIf< MustRemove, TypeList >
 type is TypeList if MustRemove is false, otherwise it is a TypeList with the first type removed More...
 
struct  ROOT::Internal::RDF::RemoveFirstParameterIf< true, TypeList >
 
struct  ROOT::Internal::RDF::RemoveFirstTwoParametersIf< MustRemove, TypeList >
 
struct  ROOT::Internal::RDF::RemoveFirstTwoParametersIf< true, TypeList >
 
struct  ROOT::Detail::RDF::RInferredType
 
struct  ROOT::Internal::RDF::ValueType< T, IsDataContainer >
 
struct  ROOT::Internal::RDF::ValueType< ROOT::VecOps::RVec< T >, false >
 
struct  ROOT::Internal::RDF::ValueType< T, false >
 

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 
namespace  ROOT::Detail
 Special implementation of ROOT::RRangeCast for TCollection, including a check that the cast target type inherits from TObject and a new constructor that takes the TCollection by pointer.
 
namespace  ROOT::Detail::RDF
 
namespace  ROOT::Experimental
 
namespace  ROOT::Internal
 
namespace  ROOT::Internal::RDF
 
namespace  ROOT::RDF
 

Typedefs

using ROOT::RDF::ColumnNames_t = std::vector< std::string >
 
template<bool MustRemove, typename TypeList >
using ROOT::Internal::RDF::RemoveFirstParameterIf_t = typename RemoveFirstParameterIf< MustRemove, TypeList >::type
 
template<bool MustRemove, typename TypeList >
using ROOT::Internal::RDF::RemoveFirstTwoParametersIf_t = typename RemoveFirstTwoParametersIf< MustRemove, TypeList >::type
 

Functions

template<typename T >
constexpr std::size_t ROOT::Internal::RDF::CacheLineStep ()
 Stepping through CacheLineStep<T> values in a vector<T> brings you to a new cache line. More...
 
std::string ROOT::Internal::RDF::ColumnName2ColumnTypeName (const std::string &colName, TTree *tree, RDataSource *ds, RDefineBase *define, bool vector2rvec)
 Return a string containing the type of the given branch. More...
 
template<typename T >
void ROOT::Internal::RDF::Erase (const T &that, std::vector< T > &v)
 Erase that element from vector v More...
 
unsigned int ROOT::Internal::RDF::GetColumnWidth (const std::vector< std::string > &names, const unsigned int minColumnSpace=8u)
 Get optimal column width for printing a table given the names and the desired minimal space between columns. More...
 
unsigned int ROOT::Internal::RDF::GetNSlots ()
 
Long64_t ROOT::Internal::RDF::InterpreterCalc (const std::string &code, const std::string &context="")
 Jit code in the interpreter with TInterpreter::Calc, throw in case of errors. More...
 
void ROOT::Internal::RDF::InterpreterDeclare (const std::string &code)
 Declare code in the interpreter via the TInterpreter::Declare method, throw in case of errors. More...
 
bool ROOT::Internal::RDF::IsInternalColumn (std::string_view colName)
 Whether custom column with name colName is an "internal" column such as rdfentry_ or rdfslot_. More...
 
ROOT::Experimental::RLogChannelROOT::Detail::RDF::RDFLogChannel ()
 
std::vector< std::string > ROOT::Internal::RDF::ReplaceDotWithUnderscore (const std::vector< std::string > &columnNames)
 Replace occurrences of '. More...
 
std::string ROOT::Internal::RDF::TypeID2TypeName (const std::type_info &id)
 Returns the name of a type starting from its type_info An empty string is returned in case of failure References and pointers are not supported since those cannot be stored in columns. More...
 
char ROOT::Internal::RDF::TypeName2ROOTTypeName (const std::string &b)
 Convert type name (e.g. More...
 
const std::type_info & ROOT::Internal::RDF::TypeName2TypeID (const std::string &name)
 Return the type_info associated to a name. More...
 

Variables

static constexpr std::size_t ROOT::Internal::RDF::kCacheLineSize = 64