class TTime


TTime

Basic time type with millisecond precision.


Function Members (Methods)

public:
TTime()
TTime(Long_t msec)
TTime(const TTime& t)
virtual~TTime()
const char*AsString() const
static TClass*Class()
virtual TClass*IsA() const
longoperator long() const
unsigned longoperator unsigned 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, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

private:
Long_tfMilliSec

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

const char * AsString()
 Return the time as a string.
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()
{ return fMilliSec; }
inline operator unsigned long()
{ return (ULong_t) fMilliSec; }
TTime()
{ }
TTime(Long_t msec)
{ }
TTime(const TTime &t)
{ }
virtual ~TTime()
{ }

Author: Fons Rademakers 28/11/96
Last update: root/base:$Id: TTime.h 20877 2007-11-19 11:17:07Z rdm $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.