Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

TimePoint Class Reference

A very crude and rought implementation of ITime interface. More...

#include <GaudiKernel/TimePoint.h>

Inheritance diagram for TimePoint:

ITime List of all members.

Public Methods

 TimePoint ()
 Constructors. More...

 TimePoint ( const ITime::AbsoluteTime& atime )
 TimePoint ( const ITime& itime )
 ~TimePoint ()
 Virtual destructor. More...

ITime::AbsoluteTime absoluteTime () const
 Accessor to internal representation. More...

ITime::DimensionedTime seconds () const
 accessor to representation in seconds. More...

ITime::DimensionedTime minutes () const
 accessor to representation in minutes. More...

ITime::DimensionedTime hours () const
 accessor to representation in hours. More...

ITime::DimensionedTime days () const
 accessor to representation in days. More...

unsigned long msb () const
 most significant bits. More...

unsigned long lsb () const
 less significant bits. More...

bool operator== ( const ITime& T ) const
 comparison operators. More...

bool operator!= ( const ITime& T ) const
bool operator<= ( const ITime& T ) const
bool operator>= ( const ITime& T ) const
bool operator< ( const ITime& T ) const
bool operator> ( const ITime& T ) const
ITimeoperator+= ( const ITime& T )
 adding. More...

ITimeoperator-= ( const ITime& T )
 substract. More...

virtual std::ostream& printOut ( std::ostream& ) const
 printout. More...


Private Attributes

ITime::AbsoluteTime m_time

Detailed Description

A very crude and rought implementation of ITime interface.

The internal precision is nanosecond (1.0e-9 seconds)

Definition at line 16 of file TimePoint.h.


Constructor & Destructor Documentation

TimePoint::TimePoint ( ) [inline]
 

Constructors.

Definition at line 20 of file TimePoint.h.

TimePoint::TimePoint ( const ITime::AbsoluteTime & atime ) [inline]
 

Definition at line 21 of file TimePoint.h.

TimePoint::TimePoint ( const ITime & itime ) [inline]
 

Definition at line 22 of file TimePoint.h.

TimePoint::~TimePoint ( ) [inline]
 

Virtual destructor.

Definition at line 24 of file TimePoint.h.


Member Function Documentation

ITime::AbsoluteTime TimePoint::absoluteTime ( ) const [inline, virtual]
 

Accessor to internal representation.

Reimplemented from ITime.

Definition at line 28 of file TimePoint.h.

ITime::DimensionedTime TimePoint::days ( ) const [inline, virtual]
 

accessor to representation in days.

Reimplemented from ITime.

Definition at line 40 of file TimePoint.h.

ITime::DimensionedTime TimePoint::hours ( ) const [inline, virtual]
 

accessor to representation in hours.

Reimplemented from ITime.

Definition at line 37 of file TimePoint.h.

unsigned long TimePoint::lsb ( ) const [inline]
 

less significant bits.

Definition at line 45 of file TimePoint.h.

ITime::DimensionedTime TimePoint::minutes ( ) const [inline, virtual]
 

accessor to representation in minutes.

Reimplemented from ITime.

Definition at line 34 of file TimePoint.h.

unsigned long TimePoint::msb ( ) const [inline]
 

most significant bits.

Definition at line 43 of file TimePoint.h.

bool TimePoint::operator!= ( const ITime & T ) const [inline, virtual]
 

Reimplemented from ITime.

Definition at line 49 of file TimePoint.h.

ITime & TimePoint::operator+= ( const ITime & T ) [inline, virtual]
 

adding.

Reimplemented from ITime.

Definition at line 73 of file TimePoint.h.

ITime & TimePoint::operator-= ( const ITime & T ) [inline, virtual]
 

substract.

Reimplemented from ITime.

Definition at line 82 of file TimePoint.h.

bool TimePoint::operator< ( const ITime & T ) const [inline, virtual]
 

Reimplemented from ITime.

Definition at line 52 of file TimePoint.h.

bool TimePoint::operator<= ( const ITime & T ) const [inline, virtual]
 

Reimplemented from ITime.

Definition at line 50 of file TimePoint.h.

bool TimePoint::operator== ( const ITime & T ) const [inline, virtual]
 

comparison operators.

Reimplemented from ITime.

Definition at line 48 of file TimePoint.h.

bool TimePoint::operator> ( const ITime & T ) const [inline, virtual]
 

Reimplemented from ITime.

Definition at line 53 of file TimePoint.h.

bool TimePoint::operator>= ( const ITime & T ) const [inline, virtual]
 

Reimplemented from ITime.

Definition at line 51 of file TimePoint.h.

std::ostream & TimePoint::printOut ( std::ostream & os ) const [inline, virtual]
 

printout.

Reimplemented from ITime.

Definition at line 90 of file TimePoint.h.

ITime::DimensionedTime TimePoint::seconds ( ) const [inline, virtual]
 

accessor to representation in seconds.

Reimplemented from ITime.

Definition at line 31 of file TimePoint.h.


Member Data Documentation

ITime::AbsoluteTime TimePoint::m_time [private]
 

Definition at line 66 of file TimePoint.h.


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:22:16 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000