ROOT » CORE » BASE » TTime

class TTime


TTime

Basic time type with millisecond precision.


Function Members (Methods)

public:
virtual~TTime()
const char*AsString() const
static TClass*Class()
virtual TClass*IsA() const
longoperator long() const
Long64_toperator long long() const
unsigned longoperator unsigned long() const
ULong64_toperator 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& insp) const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
TTime()
TTime(Long64_t msec)
TTime(const TTime& t)

Data Members

private:
Long64_tfMilliSectime with millisecond precision

Class Charts

Inheritance Chart:
TTime

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()
{ }