| # Gaudi Framework, version v23r0 |

Home |  | Generated: Mon Jan 30 2012

Namespaces | Defines | Functions

# Time.icpp File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces
namespace | Gaudi

| : AIDA interfaces visibility
## Defines
#define | GAUDIKERNEL_TIME_ICPP 1
## Functions
std::ostream & | Gaudi::operator<< (std::ostream &out, const Gaudi::Time &time)
| Output operator.
std::ostream & | Gaudi::operator<< (std::ostream &out, const Gaudi::TimeSpan &time)
| Output operator.
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 &t1, const Gaudi::Time &t2)
bool | operator!= (const Gaudi::Time &t1, const Gaudi::Time &t2)
bool | operator< (const Gaudi::Time &t1, const Gaudi::Time &t2)
bool | operator<= (const Gaudi::Time &t1, const Gaudi::Time &t2)
bool | operator> (const Gaudi::Time &t1, const Gaudi::Time &t2)
bool | operator>= (const Gaudi::Time &t1, const Gaudi::Time &t2)
bool | operator! (const Gaudi::Time &t)
Gaudi::TimeSpan | operator+ (const Gaudi::TimeSpan &ts)
Gaudi::TimeSpan | operator- (const Gaudi::TimeSpan &ts)
Gaudi::TimeSpan | operator+ (const Gaudi::TimeSpan &ts1, const Gaudi::TimeSpan &ts2)
Gaudi::TimeSpan | operator- (const Gaudi::TimeSpan &ts1, const Gaudi::TimeSpan &ts2)
bool | operator== (const Gaudi::TimeSpan &t1, const Gaudi::TimeSpan &t2)
bool | operator!= (const Gaudi::TimeSpan &t1, const Gaudi::TimeSpan &t2)
bool | operator< (const Gaudi::TimeSpan &t1, const Gaudi::TimeSpan &t2)
bool | operator<= (const Gaudi::TimeSpan &t1, const Gaudi::TimeSpan &t2)
bool | operator> (const Gaudi::TimeSpan &t1, const Gaudi::TimeSpan &t2)
bool | operator>= (const Gaudi::TimeSpan &t1, const Gaudi::TimeSpan &t2)
bool | operator! (const Gaudi::TimeSpan &ts)
StreamBuffer & | operator<< (StreamBuffer &s, const Gaudi::Time &t)
StreamBuffer & | operator>> (StreamBuffer &s, Gaudi::Time &t)

## Define Documentation

#define GAUDIKERNEL_TIME_ICPP 1

Definition at line 3 of file Time.icpp.

## Function Documentation

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

Definition at line 249 of file Time.icpp.

                                               {
      return ! t.ns();
    }

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

Definition at line 309 of file Time.icpp.

                                                    {
      return ! ts.ns();
    }

bool operator!= | ( | const Gaudi::TimeSpan & | t1,
|  | const Gaudi::TimeSpan & | t2
| ) |  | `[inline]`

Definition at line 289 of file Time.icpp.

                                                                              {
      return t1.ns() != t2.ns();
    }

bool operator!= | ( | const Gaudi::Time & | t1,
|  | const Gaudi::Time & | t2
| ) |  | `[inline]`

Definition at line 229 of file Time.icpp.

                                                                      {
      return t1.ns() != t2.ns();
    }

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

Definition at line 197 of file Time.icpp.

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

Gaudi::TimeSpan operator+ | ( | const Gaudi::TimeSpan & | ts1,
|  | const Gaudi::TimeSpan & | ts2
| ) |  | `[inline]`

Definition at line 265 of file Time.icpp.

                                                                                        {
      return Gaudi::TimeSpan (ts1.ns() + ts2.ns());
    }

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

Definition at line 201 of file Time.icpp.

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

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

Definition at line 257 of file Time.icpp.

                                                             {
      return ts;
    }

Gaudi::TimeSpan operator- | ( | const Gaudi::TimeSpan & | ts1,
|  | const Gaudi::TimeSpan & | ts2
| ) |  | `[inline]`

Definition at line 269 of file Time.icpp.

                                                                                        {
      return Gaudi::TimeSpan (ts1.ns() - ts2.ns());
    }

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

Definition at line 205 of file Time.icpp.

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

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

Definition at line 209 of file Time.icpp.

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

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

Definition at line 261 of file Time.icpp.

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

bool operator< | ( | const Gaudi::Time & | t1,
|  | const Gaudi::Time & | t2
| ) |  | `[inline]`

Definition at line 233 of file Time.icpp.

                                                                     {
      return t1.ns() < t2.ns();
    }

bool operator< | ( | const Gaudi::TimeSpan & | t1,
|  | const Gaudi::TimeSpan & | t2
| ) |  | `[inline]`

Definition at line 293 of file Time.icpp.

                                                                             {
      return t1.ns() < t2.ns();
    }

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

Definition at line 316 of file Time.icpp.

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

bool operator<= | ( | const Gaudi::TimeSpan & | t1,
|  | const Gaudi::TimeSpan & | t2
| ) |  | `[inline]`

Definition at line 297 of file Time.icpp.

                                                                              {
      return t1.ns() <= t2.ns();
    }

bool operator<= | ( | const Gaudi::Time & | t1,
|  | const Gaudi::Time & | t2
| ) |  | `[inline]`

Definition at line 237 of file Time.icpp.

                                                                      {
      return t1.ns() <= t2.ns();
    }

bool operator== | ( | const Gaudi::TimeSpan & | t1,
|  | const Gaudi::TimeSpan & | t2
| ) |  | `[inline]`

Definition at line 285 of file Time.icpp.

                                                                              {
      return t1.ns() == t2.ns();
    }

bool operator== | ( | const Gaudi::Time & | t1,
|  | const Gaudi::Time & | t2
| ) |  | `[inline]`

Definition at line 225 of file Time.icpp.

                                                                      {
      return t1.ns() == t2.ns();
    }

bool operator> | ( | const Gaudi::TimeSpan & | t1,
|  | const Gaudi::TimeSpan & | t2
| ) |  | `[inline]`

Definition at line 301 of file Time.icpp.

                                                                             {
      return t1.ns() > t2.ns();
    }

bool operator> | ( | const Gaudi::Time & | t1,
|  | const Gaudi::Time & | t2
| ) |  | `[inline]`

Definition at line 241 of file Time.icpp.

                                                                     {
      return t1.ns() > t2.ns();
    }

bool operator>= | ( | const Gaudi::TimeSpan & | t1,
|  | const Gaudi::TimeSpan & | t2
| ) |  | `[inline]`

Definition at line 305 of file Time.icpp.

                                                                              {
      return t1.ns() >= t2.ns();
    }

bool operator>= | ( | const Gaudi::Time & | t1,
|  | const Gaudi::Time & | t2
| ) |  | `[inline]`

Definition at line 245 of file Time.icpp.

                                                                      {
      return t1.ns() >= t2.ns();
    }

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

Definition at line 320 of file Time.icpp.

                                                                    {
      Gaudi::Time::ValueType tmp;
      s >> tmp;
      t = Gaudi::Time(tmp);
      return s;
    }

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines