Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
REveTypes.cxx
Go to the documentation of this file.
1// @(#)root/eve7:$Id$
2// Authors: Matevz Tadel & Alja Mrak-Tadel: 2020
3
4/*************************************************************************
5 * Copyright (C) 1995-2020, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#include <ROOT/REveTypes.hxx>
13
14using namespace ROOT::Experimental;
15namespace REX = ROOT::Experimental;
16
17/** \class REveException
18\ingroup REve
19Exception class thrown by Eve classes and macros.
20*/
21
22////////////////////////////////////////////////////////////////////////////////
23
24bool REX::operator==(const TString& t, const std::string& s)
25{ return (s == t.Data()); }
26
27bool REX::operator==(const std::string& s, const TString& t)
28{ return (s == t.Data()); }
29
30// Exc + ops
31
32REveException REX::operator+(const REveException &s1, const std::string &s2)
33{ REveException r(s1); r.append(s2); return r; }
34
36{ REveException r(s1); r.append(s2.Data()); return r; }
37
39{ REveException r(s1); r.append(s2); return r; }
40
42{ 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
REveException Exception-type thrown by Eve classes.
Definition REveTypes.hxx:40
Basic string class.
Definition TString.h:136
const char * Data() const
Definition TString.h:369
Double_t x[n]
Definition legend1.C:17
ELogLevel operator+(ELogLevel severity, int offset)
Definition RLogger.hxx:45
bool operator==(const RConcurrentHashColl::HashValue &lhs, const RConcurrentHashColl::HashValue &rhs)