Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
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 
24 REveException REX::operator+(const REveException &s1, const TString &s2)
25 { REveException r(s1); r.append(s2.Data()); return r; }
26 
27 REveException REX::operator+(const REveException &s1, const char *s2)
28 { REveException r(s1); r.append(s2); return r; }
29 
30 REveException REX::operator+(const REveException &s1, ElementId_t x)
31 { REveException r(s1); r.append(std::to_string(x)); return r; }