Logo ROOT   6.07/09
Reference Guide
List of all members | Public Member Functions | Private Attributes | Friends | List of all members
TTime Class Reference

Basic time type with millisecond precision.

Definition at line 29 of file TTime.h.

Public Member Functions

 TTime ()
 
 TTime (Long64_t msec)
 
 TTime (const TTime &t)
 
virtual ~TTime ()
 
const char * AsString () const
 Return the time as a string. More...
 
 operator long () const
 
 operator long long () const
 
 operator unsigned long () const
 
 operator unsigned long long () const
 
TTime operator*= (const TTime &t)
 
TTime operator+= (const TTime &t)
 
TTime operator-= (const TTime &t)
 
TTime operator/= (const TTime &t)
 
TTimeoperator= (const TTime &t)
 

Private Attributes

Long64_t fMilliSec
 

Friends

Bool_t operator!= (const TTime &t1, const TTime &t2)
 
TTime operator* (const TTime &t1, const TTime &t2)
 
TTime operator+ (const TTime &t1, const TTime &t2)
 
TTime operator- (const TTime &t1, const TTime &t2)
 
TTime operator/ (const TTime &t1, const TTime &t2)
 
Bool_t operator< (const TTime &t1, const TTime &t2)
 
Bool_t operator<= (const TTime &t1, const TTime &t2)
 
Bool_t operator== (const TTime &t1, const TTime &t2)
 
Bool_t operator> (const TTime &t1, const TTime &t2)
 
Bool_t operator>= (const TTime &t1, const TTime &t2)
 

#include <TTime.h>

Constructor & Destructor Documentation

TTime::TTime ( )
inline

Definition at line 35 of file TTime.h.

TTime::TTime ( Long64_t  msec)
inline

Definition at line 36 of file TTime.h.

TTime::TTime ( const TTime t)
inline

Definition at line 37 of file TTime.h.

virtual TTime::~TTime ( )
inlinevirtual

Definition at line 38 of file TTime.h.

Member Function Documentation

const char * TTime::AsString ( ) const

Return the time as a string.

Definition at line 28 of file TTime.cxx.

TTime::operator long ( ) const

Definition at line 35 of file TTime.cxx.

TTime::operator long long ( ) const
inline

Definition at line 78 of file TTime.h.

TTime::operator unsigned long ( ) const

Definition at line 46 of file TTime.cxx.

TTime::operator unsigned long long ( ) const
inline

Definition at line 80 of file TTime.h.

TTime TTime::operator*= ( const TTime t)
inline

Definition at line 74 of file TTime.h.

TTime TTime::operator+= ( const TTime t)
inline

Definition at line 70 of file TTime.h.

TTime TTime::operator-= ( const TTime t)
inline

Definition at line 72 of file TTime.h.

TTime TTime::operator/= ( const TTime t)
inline

Definition at line 76 of file TTime.h.

TTime & TTime::operator= ( const TTime t)
inline

Definition at line 68 of file TTime.h.

Friends And Related Function Documentation

Bool_t operator!= ( const TTime t1,
const TTime t2 
)
friend

Definition at line 94 of file TTime.h.

TTime operator* ( const TTime t1,
const TTime t2 
)
friend

Definition at line 87 of file TTime.h.

TTime operator+ ( const TTime t1,
const TTime t2 
)
friend

Definition at line 83 of file TTime.h.

TTime operator- ( const TTime t1,
const TTime t2 
)
friend

Definition at line 85 of file TTime.h.

TTime operator/ ( const TTime t1,
const TTime t2 
)
friend

Definition at line 89 of file TTime.h.

Bool_t operator< ( const TTime t1,
const TTime t2 
)
friend

Definition at line 96 of file TTime.h.

Bool_t operator<= ( const TTime t1,
const TTime t2 
)
friend

Definition at line 98 of file TTime.h.

Bool_t operator== ( const TTime t1,
const TTime t2 
)
friend

Definition at line 92 of file TTime.h.

Bool_t operator> ( const TTime t1,
const TTime t2 
)
friend

Definition at line 100 of file TTime.h.

Bool_t operator>= ( const TTime t1,
const TTime t2 
)
friend

Definition at line 102 of file TTime.h.

Member Data Documentation

Long64_t TTime::fMilliSec
private

Definition at line 32 of file TTime.h.


The documentation for this class was generated from the following files: