13 #ifndef ROOT7_REveTypes
14 #define ROOT7_REveTypes
23 namespace Experimental {
25 typedef unsigned int ElementId_t;
32 bool operator==(
const TString &t,
const std::string &s);
33 bool operator==(
const std::string &s,
const TString &t);
40 class REveException :
public std::exception {
43 REveException() =
default;
44 explicit REveException(
const std::string &s) : fWhat(s) {}
45 virtual ~REveException() noexcept {}
46 void append(
const std::string &s) { fWhat.append(s); }
48 const char *what() const noexcept
override {
return fWhat.c_str(); }
51 REveException operator+(
const REveException &s1,
const std::string &s2);
52 REveException operator+(
const REveException &s1,
const TString &s2);
53 REveException operator+(
const REveException &s1,
const char *s2);
54 REveException operator+(
const REveException &s1, ElementId_t x);