20using namespace std::string_literals;
25 GetMap().emplace(kind,
this);
31 auto iter = std::find_if(map.begin(), map.end(),
32 [
this](
const ProvidersMap_t::value_type &pair) { return this == pair.second; });
34 if (iter != map.end())
50 auto iter = map.find(kind);
51 if (iter == map.end()) {
55 else if (kind ==
"tcanvas")
57 else if (kind ==
"rcanvas")
59 iter = map.find(kind);
60 if (iter == map.end())
63 return iter->second->Create(
name);
73 auto iter = map.find(kind);
74 if (iter == map.end()) {
78 else if (kind ==
"tcanvas")
80 else if (kind ==
"rcanvas")
82 iter = map.find(kind);
83 if (iter == map.end())
86 return iter->second->CreateFor(
name, element);
R__EXTERN TSystem * gSystem
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.