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