Logo ROOT   6.08/07
Reference Guide
Classes | Typedefs | Functions | Variables
TTimeStamp.h File Reference
#include "Rtypes.h"
#include "Riosfwd.h"
#include <ctime>
Include dependency graph for TTimeStamp.h:
This graph shows which files directly or indirectly include this file:

Classes

class  TTimeStamp
 The TTimeStamp encapsulates seconds and ns since EPOCH. More...
 

Typedefs

typedef struct timespec timespec_t
 
typedef struct tm tm_t
 

Functions

Bool_t operator!= (const TTimeStamp &lhs, const TTimeStamp &rhs)
 
Bool_t operator< (const TTimeStamp &lhs, const TTimeStamp &rhs)
 
std::ostream & operator<< (std::ostream &os, const TTimeStamp &ts)
 Write time stamp to std::ostream. More...
 
TBufferoperator<< (TBuffer &buf, const TTimeStamp &ts)
 Write time stamp to TBuffer. More...
 
Bool_t operator<= (const TTimeStamp &lhs, const TTimeStamp &rhs)
 
Bool_t operator== (const TTimeStamp &lhs, const TTimeStamp &rhs)
 
Bool_t operator> (const TTimeStamp &lhs, const TTimeStamp &rhs)
 
Bool_t operator>= (const TTimeStamp &lhs, const TTimeStamp &rhs)
 
TBufferoperator>> (TBuffer &buf, TTimeStamp &ts)
 Read time stamp from TBuffer. More...
 

Variables

R__EXTERN TVirtualMutexgTimeMutex
 

Typedef Documentation

◆ timespec_t

typedef struct timespec timespec_t

Definition at line 59 of file TTimeStamp.h.

◆ tm_t

typedef struct tm tm_t

Definition at line 60 of file TTimeStamp.h.

Function Documentation

◆ operator!=()

Bool_t operator!= ( const TTimeStamp lhs,
const TTimeStamp rhs 
)
inline

Definition at line 190 of file TTimeStamp.h.

◆ operator<()

Bool_t operator< ( const TTimeStamp lhs,
const TTimeStamp rhs 
)
inline

Definition at line 194 of file TTimeStamp.h.

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  os,
const TTimeStamp ts 
)

Write time stamp to std::ostream.

Definition at line 61 of file TTimeStamp.cxx.

◆ operator<<() [2/2]

TBuffer& operator<< ( TBuffer buf,
const TTimeStamp ts 
)

Write time stamp to TBuffer.

Definition at line 84 of file TTimeStamp.cxx.

◆ operator<=()

Bool_t operator<= ( const TTimeStamp lhs,
const TTimeStamp rhs 
)
inline

Definition at line 199 of file TTimeStamp.h.

◆ operator==()

Bool_t operator== ( const TTimeStamp lhs,
const TTimeStamp rhs 
)
inline

Definition at line 186 of file TTimeStamp.h.

◆ operator>()

Bool_t operator> ( const TTimeStamp lhs,
const TTimeStamp rhs 
)
inline

Definition at line 204 of file TTimeStamp.h.

◆ operator>=()

Bool_t operator>= ( const TTimeStamp lhs,
const TTimeStamp rhs 
)
inline

Definition at line 209 of file TTimeStamp.h.

◆ operator>>()

TBuffer& operator>> ( TBuffer buf,
TTimeStamp ts 
)

Read time stamp from TBuffer.

Definition at line 75 of file TTimeStamp.cxx.

Variable Documentation

◆ gTimeMutex

R__EXTERN TVirtualMutex* gTimeMutex

Definition at line 74 of file TTimeStamp.h.