The Gaudi Framework  master (d98a2936)
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.
 

Functions

std::ostream & Gaudi::operator<< (std::ostream &out, const Gaudi::Time &time)
 Output operator. More...
 
std::ostream & Gaudi::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)
 

Function Documentation

◆ operator!() [1/2]

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

Definition at line 190 of file Time.icpp.

190 { return !t.ns(); }

◆ operator!() [2/2]

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

Definition at line 200 of file Time.icpp.

200 { return !ts.ns(); }

◆ operator+() [1/3]

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

Definition at line 174 of file Time.icpp.

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

◆ operator+() [2/3]

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

Definition at line 196 of file Time.icpp.

196 { return ts; }

◆ operator+() [3/3]

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

Definition at line 178 of file Time.icpp.

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

◆ operator-() [1/3]

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

Definition at line 186 of file Time.icpp.

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

◆ operator-() [2/3]

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

Definition at line 182 of file Time.icpp.

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

◆ operator-() [3/3]

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

Definition at line 198 of file Time.icpp.

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

◆ operator<()

Definition at line 219 of file Time.icpp.

219  {
220  return false;
221 }

◆ operator<<()

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

Definition at line 205 of file Time.icpp.

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

◆ operator>>()

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

Definition at line 207 of file Time.icpp.

207  {
209  s >> tmp;
210  t = Gaudi::Time( tmp );
211  return s;
212 }
gaudirun.s
string s
Definition: gaudirun.py:346
Gaudi::Time
Definition: Time.h:235
Gaudi::TimeSpan
Definition: Time.h:56
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:239