19using namespace std::string_literals;
38 GetMap().emplace(kind,
this);
47 auto iter = std::find_if(map.begin(), map.end(),
48 [
this](
const ProvidersMap_t::value_type &pair) { return this == pair.second; });
50 if (iter != map.end())
69 auto iter = map.find(kind);
70 if (iter == map.end()) {
74 else if (kind ==
"tree"s)
76 else if (kind ==
"tcanvas"s)
78 else if (kind ==
"rcanvas"s)
80 iter = map.find(kind);
81 if (iter == map.end())
95 return provider ? provider->Create(
name) :
nullptr;
105 return provider ? provider->CreateFor(
name,
element) :
nullptr;
116 return provider ? provider->DetectWindow(
win) :
nullptr;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t win
R__EXTERN TSystem * gSystem
static std::string GetPathAsString(const RElementPath_t &path)
Converts element path back to string.
Represents web window, which can be shown in web browser or any other supported environment.
static TString ToJSON(const T *obj, Int_t compact=0, const char *member_name=nullptr)
virtual int Load(const char *module, const char *entry="", Bool_t system=kFALSE)
Load a shared library.