The Gaudi Framework  master (37c0b60a)
Time.icpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  backwards_compatibility_hack_time_timespan
 

Namespaces

 Gaudi
 This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from python with a format liks : ( nbins, min, max, title ) where title can be ommited.
 

Macros

#define GAUDIKERNEL_TIME_ICPP   1
 

Functions

std::ostreamGaudi::operator<< (std::ostream &out, const Gaudi::Time &time)
 Output operator. More...
 
std::ostreamGaudi::operator<< (std::ostream &out, const Gaudi::TimeSpan &time)
 Output operator. More...
 
Gaudi::Time operator+ (const Gaudi::Time &t, const Gaudi::TimeSpan &ts)
 
Gaudi::Time operator+ (const Gaudi::TimeSpan &ts, const Gaudi::Time &t)
 
Gaudi::TimeSpan operator- (const Gaudi::Time &t1, const Gaudi::Time &t2)
 
Gaudi::Time operator- (const Gaudi::Time &t, const Gaudi::TimeSpan &ts)
 
bool operator! (const Gaudi::Time &t)
 
Gaudi::TimeSpan operator+ (const Gaudi::TimeSpan &ts)
 
Gaudi::TimeSpan operator- (const Gaudi::TimeSpan &ts)
 
bool operator! (const Gaudi::TimeSpan &ts)
 
StreamBufferoperator<< (StreamBuffer &s, const Gaudi::Time &t)
 
StreamBufferoperator>> (StreamBuffer &s, Gaudi::Time &t)
 
bool operator< (backwards_compatibility_hack_time_timespan, backwards_compatibility_hack_time_timespan)
 

Macro Definition Documentation

◆ GAUDIKERNEL_TIME_ICPP

#define GAUDIKERNEL_TIME_ICPP   1

Definition at line 13 of file Time.icpp.

Function Documentation

◆ operator!() [1/2]

bool operator! ( const Gaudi::Time t)
inline

Definition at line 191 of file Time.icpp.

191 { return !t.ns(); }

◆ operator!() [2/2]

bool operator! ( const Gaudi::TimeSpan ts)
inline

Definition at line 201 of file Time.icpp.

201 { return !ts.ns(); }

◆ operator+() [1/3]

Gaudi::Time operator+ ( const Gaudi::Time t,
const Gaudi::TimeSpan ts 
)
inline

Definition at line 175 of file Time.icpp.

175  {
176  return Gaudi::Time( t.ns() + ts.ns() );
177 }

◆ operator+() [2/3]

Gaudi::TimeSpan operator+ ( const Gaudi::TimeSpan ts)
inline

Definition at line 197 of file Time.icpp.

197 { return ts; }

◆ operator+() [3/3]

Gaudi::Time operator+ ( const Gaudi::TimeSpan ts,
const Gaudi::Time t 
)
inline

Definition at line 179 of file Time.icpp.

179  {
180  return Gaudi::Time( t.ns() + ts.ns() );
181 }

◆ operator-() [1/3]

Gaudi::Time operator- ( const Gaudi::Time t,
const Gaudi::TimeSpan ts 
)
inline

Definition at line 187 of file Time.icpp.

187  {
188  return Gaudi::Time( t.ns() - ts.ns() );
189 }

◆ operator-() [2/3]

Gaudi::TimeSpan operator- ( const Gaudi::Time t1,
const Gaudi::Time t2 
)
inline

Definition at line 183 of file Time.icpp.

183  {
184  return Gaudi::TimeSpan( t1.ns() - t2.ns() );
185 }

◆ operator-() [3/3]

Gaudi::TimeSpan operator- ( const Gaudi::TimeSpan ts)
inline

Definition at line 199 of file Time.icpp.

199 { return Gaudi::TimeSpan( -ts.ns() ); }

◆ operator<()

Definition at line 220 of file Time.icpp.

220  {
221  return false;
222 }

◆ operator<<()

StreamBuffer& operator<< ( StreamBuffer s,
const Gaudi::Time t 
)
inline

Definition at line 206 of file Time.icpp.

206 { return s << t.ns(); }

◆ operator>>()

StreamBuffer& operator>> ( StreamBuffer s,
Gaudi::Time t 
)
inline

Definition at line 208 of file Time.icpp.

208  {
210  s >> tmp;
211  t = Gaudi::Time( tmp );
212  return s;
213 }
gaudirun.s
string s
Definition: gaudirun.py:346
Gaudi::Time
Definition: Time.h:241
Gaudi::TimeSpan
Definition: Time.h:62
bug_34121.t
t
Definition: bug_34121.py:31
compareRootHistos.ts
ts
Definition: compareRootHistos.py:488
TemplatedAlg
Definition: TemplatedAlg.cpp:22
Gaudi::Time::ValueType
long long ValueType
Definition: Time.h:245