Logo ROOT   master
Reference Guide
REveTypes.cxx
Go to the documentation of this file.
1 #include <ROOT/REveTypes.hxx>
2 
3 using namespace ROOT::Experimental;
4 namespace REX = ROOT::Experimental;
5 
6 /** \class REveException
7 \ingroup REve
8 Exception class thrown by Eve classes and macros.
9 */
10 
11 ////////////////////////////////////////////////////////////////////////////////
12 
13 bool REX::operator==(const TString& t, const std::string& s)
14 { return (s == t.Data()); }
15 
16 bool REX::operator==(const std::string& s, const TString& t)
17 { return (s == t.Data()); }
18 
19 // Exc + ops
20 
21 REveException REX::operator+(const REveException &s1, const std::string &s2)
22 { REveException r(s1); r.append(s2); return r; }
23 
25 { REveException r(s1); r.append(s2.Data()); return r; }
26 
28 { REveException r(s1); r.append(s2); return r; }
29 
31 { REveException r(s1); r.append(std::to_string(x)); return r; }
Basic string class.
Definition: TString.h:131
Double_t x[n]
Definition: legend1.C:17
static constexpr double s
TString operator+(const TString &s1, const TString &s2)
Use the special concatenation constructor.
Definition: TString.cxx:1474
ROOT::R::TRInterface & r
Definition: Object.C:4
#define s1(x)
Definition: RSha256.hxx:91
unsigned int ElementId_t
Definition: REveTypes.hxx:25
Bool_t operator==(const TDatime &d1, const TDatime &d2)
Definition: TDatime.h:102
REveException Exception-type thrown by Eve classes.
Definition: REveTypes.hxx:40
const char * Data() const
Definition: TString.h:364