| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Macros | Functions
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
| Helper functions to set/get the application return code.

## Macros
#define | GAUDIKERNEL_TIME_ICPP 1

## 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)
StreamBuffer & | operator<< (StreamBuffer &s, const Gaudi::Time &t)
StreamBuffer & | operator>> (StreamBuffer &s, Gaudi::Time &t)
bool | operator< (backwards_compatibility_hack_time_timespan, backwards_compatibility_hack_time_timespan)

## Macro Definition Documentation

#define GAUDIKERNEL_TIME_ICPP 1

Definition at line 2 of file Time.icpp.

## Function Documentation

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

Definition at line 200 of file Time.icpp.

200 { return !t.ns(); }
Gaudi::Time::ns
ValueType ns() const
Return the time as nanoseconds since 00:00:00 on January 1, 1970 in UTC.
Definition: Time.icpp:32

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

Definition at line 210 of file Time.icpp.

210 { return !ts.ns(); }
Gaudi::TimeSpan::ns
ValueType ns() const
Return the time span as nanoseconds.
Definition: Time.icpp:113

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

Definition at line 180 of file Time.icpp.

181 {
182 return Gaudi::Time( t.ns() + ts.ns() );
183 }
Gaudi::TimeSpan::ns
ValueType ns() const
Return the time span as nanoseconds.
Definition: Time.icpp:113
Gaudi::Time
Based on seal::Time.
Definition: Time.h:237
Gaudi::Time::ns
ValueType ns() const
Return the time as nanoseconds since 00:00:00 on January 1, 1970 in UTC.
Definition: Time.icpp:32

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

Definition at line 185 of file Time.icpp.

186 {
187 return Gaudi::Time( t.ns() + ts.ns() );
188 }
Gaudi::TimeSpan::ns
ValueType ns() const
Return the time span as nanoseconds.
Definition: Time.icpp:113
Gaudi::Time
Based on seal::Time.
Definition: Time.h:237
Gaudi::Time::ns
ValueType ns() const
Return the time as nanoseconds since 00:00:00 on January 1, 1970 in UTC.
Definition: Time.icpp:32

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

Definition at line 206 of file Time.icpp.

206 { return ts; }
compareRootHistos.ts
tuple ts
Definition: compareRootHistos.py:414

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

Definition at line 190 of file Time.icpp.

191 {
192 return Gaudi::TimeSpan( t1.ns() - t2.ns() );
193 }
Gaudi::Time::ns
ValueType ns() const
Return the time as nanoseconds since 00:00:00 on January 1, 1970 in UTC.
Definition: Time.icpp:32
Gaudi::TimeSpan
Based on seal::TimeSpan.
Definition: Time.h:55

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

Definition at line 195 of file Time.icpp.

196 {
197 return Gaudi::Time( t.ns() - ts.ns() );
198 }
Gaudi::TimeSpan::ns
ValueType ns() const
Return the time span as nanoseconds.
Definition: Time.icpp:113
Gaudi::Time
Based on seal::Time.
Definition: Time.h:237
Gaudi::Time::ns
ValueType ns() const
Return the time as nanoseconds since 00:00:00 on January 1, 1970 in UTC.
Definition: Time.icpp:32

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

Definition at line 208 of file Time.icpp.

208 { return Gaudi::TimeSpan( -ts.ns() ); }
Gaudi::TimeSpan::ns
ValueType ns() const
Return the time span as nanoseconds.
Definition: Time.icpp:113
Gaudi::TimeSpan
Based on seal::TimeSpan.
Definition: Time.h:55

bool operator< | ( | backwards_compatibility_hack_time_timespan | ,
|  | backwards_compatibility_hack_time_timespan |
| ) |  |
| inline

Definition at line 231 of file Time.icpp.

232 {
233 return false;
234 }

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

Definition at line 215 of file Time.icpp.

215 { return s << t.ns(); }
Gaudi::Time::ns
ValueType ns() const
Return the time as nanoseconds since 00:00:00 on January 1, 1970 in UTC.
Definition: Time.icpp:32

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

Definition at line 217 of file Time.icpp.

218 {
219 Gaudi::Time::ValueType tmp;
220 s >> tmp;
221 t = Gaudi::Time( tmp );
222 return s;
223 }
Gaudi::Time::ValueType
longlong ValueType
Definition: Time.h:242
Gaudi::Time
Based on seal::Time.
Definition: Time.h:237
gaudirun.s
string s
Definition: gaudirun.py:253