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#include <ROOT/RLogger.hxx>
14#include <iostream>
15
16using namespace ROOT::Experimental;
17namespace REX = ROOT::Experimental;
18
19
20/** \class REveException
21\ingroup REve
22Exception class thrown by Eve classes and macros.
23*/
24
25////////////////////////////////////////////////////////////////////////////////
26
27bool REX::operator==(const TString& t, const std::string& s)
28{ return (s == t.Data()); }
29
30bool REX::operator==(const std::string& s, const TString& t)
31{ return (s == t.Data()); }
32
33// Exc + ops
34
35REveException REX::operator+(const REveException &s1, const std::string &s2)
36{ REveException r(s1); r.append(s2); return r; }
37
39{ REveException r(s1); r.append(s2.Data()); return r; }
40
42{ REveException r(s1); r.append(s2); return r; }
43
45{ REveException r(s1); r.append(std::to_string(x)); return r; }
46
48{
49 static RLogChannel sLog("ROOT.Eve");
50 return sLog;
51}
52
#define s1(x)
Definition RSha256.hxx:91
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
REveException Exception-type thrown by Eve classes.
Definition REveTypes.hxx:41
A log configuration for a channel, e.g.
Definition RLogger.hxx:101
Basic string class.
Definition TString.h:139
const char * Data() const
Definition TString.h:376
Double_t x[n]
Definition legend1.C:17
ELogLevel operator+(ELogLevel severity, int offset)
Definition RLogger.hxx:45
RLogChannel & REveLog()
Log channel for Eve diagnostics.
Definition REveTypes.cxx:47
bool operator==(const RConcurrentHashColl::HashValue &lhs, const RConcurrentHashColl::HashValue &rhs)