ROOT
v6-22
Reference Guide
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
; }
r
ROOT::R::TRInterface & r
Definition:
Object.C:4
REveTypes.hxx
s1
#define s1(x)
Definition:
RSha256.hxx:91
operator==
Bool_t operator==(const TDatime &d1, const TDatime &d2)
Definition:
TDatime.h:102
operator+
TString operator+(const TString &s1, const TString &s2)
Use the special concatenation constructor.
Definition:
TString.cxx:1474
ROOT::Experimental::REveException
REveException Exception-type thrown by Eve classes.
Definition:
REveTypes.hxx:40
TString
Basic string class.
Definition:
TString.h:131
TString::Data
const char * Data() const
Definition:
TString.h:364
unsigned int
x
Double_t x[n]
Definition:
legend1.C:17
ROOT::Experimental
Definition:
RDirectory.hxx:30
TGeant4Unit::s
static constexpr double s
Definition:
TGeant4SystemOfUnits.h:162
graf3d
eve7
src
REveTypes.cxx
ROOT v6-22 - Reference Guide Generated on Fri Apr 1 2022 11:51:10 (GVA Time) using Doxygen 1.9.4