20using namespace std::string_literals;
39 GetMap().emplace(kind,
this);
48 auto iter = std::find_if(map.begin(), map.end(),
49 [
this](
const ProvidersMap_t::value_type &pair) { return this == pair.second; });
51 if (iter != map.end())
70 auto iter = map.find(kind);
71 if (iter == map.end()) {
75 else if (kind ==
"tree"s)
77 else if (kind ==
"tcanvas"s)
79 else if (kind ==
"rcanvas"s)
81 iter = map.find(kind);
82 if (iter == map.end())
85 return iter->second->Create(
name);
94 auto iter = map.find(kind);
95 if (iter == map.end()) {
99 else if (kind ==
"tree"s)
101 else if (kind ==
"tcanvas"s)
103 else if (kind ==
"rcanvas"s)
105 iter = map.find(kind);
106 if (iter == map.end())
109 return iter->second->CreateFor(
name, element);
R__EXTERN TSystem * gSystem
static std::string GetPathAsString(const RElementPath_t &path)
Converts element path back to string.
static TString ToJSON(const T *obj, Int_t compact=0, const char *member_name=nullptr)
const char * Data() const
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...