Logo ROOT   6.10/09
Reference Guide
Classes | Typedefs | Functions | Variables
TTimeStamp.h File Reference
#include "Rtypes.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 54 of file TTimeStamp.h.

◆ tm_t

typedef struct tm tm_t

Definition at line 55 of file TTimeStamp.h.

Function Documentation

◆ operator!=()

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

Definition at line 185 of file TTimeStamp.h.

◆ operator<()

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

Definition at line 189 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 60 of file TTimeStamp.cxx.

◆ operator<<() [2/2]

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

Write time stamp to TBuffer.

Definition at line 83 of file TTimeStamp.cxx.

◆ operator<=()

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

Definition at line 194 of file TTimeStamp.h.

◆ operator==()

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

Definition at line 181 of file TTimeStamp.h.

◆ 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 204 of file TTimeStamp.h.

◆ operator>>()

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

Read time stamp from TBuffer.

Definition at line 74 of file TTimeStamp.cxx.

Variable Documentation

◆ gTimeMutex

R__EXTERN TVirtualMutex* gTimeMutex

Definition at line 69 of file TTimeStamp.h.