Gaudi Framework, version v22r1

Home   Generated: Mon Feb 28 2011
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
 

Helper functions to set/get the application return code.


Defines

#define GAUDIKERNEL_TIME_ICPP   1

Functions

std::ostreamoperator<< (std::ostream &out, const Gaudi::Time &time)
std::ostreamoperator<< (std::ostream &out, const Gaudi::TimeSpan &time)
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)
StreamBufferoperator<< (StreamBuffer &s, const Gaudi::Time &t)
StreamBufferoperator>> (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 248 of file Time.icpp.

                                           {
  return ! t.ns();
}
bool operator! ( const Gaudi::TimeSpan &  ts ) [inline]

Definition at line 308 of file Time.icpp.

                                                {
  return ! ts.ns();
}
bool operator!= ( const Gaudi::TimeSpan &  t1,
const Gaudi::TimeSpan &  t2 
) [inline]

Definition at line 288 of file Time.icpp.

                                                                          {
  return t1.ns() != t2.ns();
}
bool operator!= ( const Gaudi::Time &  t1,
const Gaudi::Time &  t2 
) [inline]

Definition at line 228 of file Time.icpp.

                                                                  {
  return t1.ns() != t2.ns();
}
Gaudi::Time operator+ ( const Gaudi::Time &  t,
const Gaudi::TimeSpan &  ts 
) [inline]

Definition at line 196 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 264 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 200 of file Time.icpp.

                                                                         {
  return Gaudi::Time (t.ns() + ts.ns());
}
Gaudi::TimeSpan operator+ ( const Gaudi::TimeSpan &  ts ) [inline]

Definition at line 256 of file Time.icpp.

                                                         {
  return ts;
}
Gaudi::TimeSpan operator- ( const Gaudi::TimeSpan &  ts1,
const Gaudi::TimeSpan &  ts2 
) [inline]

Definition at line 268 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 204 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 208 of file Time.icpp.

                                                                         {
  return Gaudi::Time (t.ns() - ts.ns());
}
Gaudi::TimeSpan operator- ( const Gaudi::TimeSpan &  ts ) [inline]

Definition at line 260 of file Time.icpp.

                                                         {
  return Gaudi::TimeSpan (-ts.ns());
}
bool operator< ( const Gaudi::Time &  t1,
const Gaudi::Time &  t2 
) [inline]

Definition at line 232 of file Time.icpp.

                                                                 {
  return t1.ns() < t2.ns();
}
bool operator< ( const Gaudi::TimeSpan &  t1,
const Gaudi::TimeSpan &  t2 
) [inline]

Definition at line 292 of file Time.icpp.

                                                                         {
  return t1.ns() < t2.ns();
}
std::ostream& operator<< ( std::ostream out,
const Gaudi::TimeSpan &  time 
) [inline]

Definition at line 192 of file Time.icpp.

                                                                           {
  return out << time.seconds() << '.' << Gaudi::Time(time).nanoformat();
}
StreamBuffer& operator<< ( StreamBuffer s,
const Gaudi::Time &  t 
) [inline]

Definition at line 315 of file Time.icpp.

                                                                      {
  return s << t.ns();
}
std::ostream& operator<< ( std::ostream out,
const Gaudi::Time &  time 
) [inline]

Definition at line 188 of file Time.icpp.

                                                                       {
  return out << Gaudi::TimeSpan(time).seconds() << '.' << time.nanoformat();
}
bool operator<= ( const Gaudi::TimeSpan &  t1,
const Gaudi::TimeSpan &  t2 
) [inline]

Definition at line 296 of file Time.icpp.

                                                                          {
  return t1.ns() <= t2.ns();
}
bool operator<= ( const Gaudi::Time &  t1,
const Gaudi::Time &  t2 
) [inline]

Definition at line 236 of file Time.icpp.

                                                                  {
  return t1.ns() <= t2.ns();
}
bool operator== ( const Gaudi::TimeSpan &  t1,
const Gaudi::TimeSpan &  t2 
) [inline]

Definition at line 284 of file Time.icpp.

                                                                          {
  return t1.ns() == t2.ns();
}
bool operator== ( const Gaudi::Time &  t1,
const Gaudi::Time &  t2 
) [inline]

Definition at line 224 of file Time.icpp.

                                                                  {
  return t1.ns() == t2.ns();
}
bool operator> ( const Gaudi::TimeSpan &  t1,
const Gaudi::TimeSpan &  t2 
) [inline]

Definition at line 300 of file Time.icpp.

                                                                         {
  return t1.ns() > t2.ns();
}
bool operator> ( const Gaudi::Time &  t1,
const Gaudi::Time &  t2 
) [inline]

Definition at line 240 of file Time.icpp.

                                                                 {
  return t1.ns() > t2.ns();
}
bool operator>= ( const Gaudi::TimeSpan &  t1,
const Gaudi::TimeSpan &  t2 
) [inline]

Definition at line 304 of file Time.icpp.

                                                                          {
  return t1.ns() >= t2.ns();
}
bool operator>= ( const Gaudi::Time &  t1,
const Gaudi::Time &  t2 
) [inline]

Definition at line 244 of file Time.icpp.

                                                                  {
  return t1.ns() >= t2.ns();
}
StreamBuffer& operator>> ( StreamBuffer s,
Gaudi::Time &  t 
) [inline]

Definition at line 319 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

Generated at Mon Feb 28 2011 18:27:38 for Gaudi Framework, version v22r1 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004