ROOT  6.06/09
Reference Guide
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 ()
 
TTimeoperator= (const TTime &t)
 
TTime operator+= (const TTime &t)
 
TTime operator-= (const TTime &t)
 
TTime operator*= (const TTime &t)
 
TTime operator/= (const TTime &t)
 
 operator long () const
 
 operator unsigned long () const
 
 operator long long () const
 
 operator unsigned long long () const
 
const char * AsString () const
 

Private Attributes

Long64_t fMilliSec
 

Friends

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)
 
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
TTime::operator long ( ) const
TTime::operator long long ( ) const
inline

Definition at line 78 of file TTime.h.

TTime::operator unsigned long ( ) const

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

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