ROOT logo
ROOT » CORE » BASE » TTime

class TTime


TTime

Basic time type with millisecond precision.


Function Members (Methods)

public:
TTime()
TTime(Long64_t msec)
TTime(const TTime& t)
virtual~TTime()
const char*AsString() const
static TClass*Class()
virtual TClass*IsA() const
longoperator long() const
long longoperator long long() const
unsigned longoperator unsigned long() const
unsigned long longoperator unsigned long long() const
TTimeoperator*=(const TTime& t)
TTimeoperator+=(const TTime& t)
TTimeoperator-=(const TTime& t)
TTimeoperator/=(const TTime& t)
TTime&operator=(const TTime& t)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)

Data Members

private:
Long64_tfMilliSectime with millisecond precision

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

const char * AsString() const
 Return the time as a string.
operator long() const
operator unsigned long() const
TTime& operator=(const TTime& t)
{ fMilliSec = t.fMilliSec; return *this; }
TTime operator+=(const TTime& t)
{ fMilliSec += t.fMilliSec; return *this; }
TTime operator-=(const TTime& t)
{ fMilliSec -= t.fMilliSec; return *this; }
TTime operator*=(const TTime& t)
{ fMilliSec *= t.fMilliSec; return *this; }
TTime operator/=(const TTime& t)
{ fMilliSec /= t.fMilliSec; return *this; }
inline operator long long() const
{ return fMilliSec; }
inline operator unsigned long long() const
{ return (ULong64_t) fMilliSec; }
TTime()
{ }
TTime(Long64_t msec)
{ }
TTime(const TTime& t)
{ }
virtual ~TTime()
{ }