VldTimeStamp.cxx File Reference

#include "Validity/VldTimeStamp.h"
#include "MessageService/MsgService.h"
#include <climits>
#include <math.h>
#include <unistd.h>
#include <sys/time.h>
#include "TString.h"

Go to the source code of this file.

Functions

 CVSID ("$Id: VldTimeStamp.cxx,v 1.31 2013/08/24 00:05:20 rhatcher Exp $")
std::ostream & operator<< (std::ostream &os, const VldTimeStamp &ts)

Variables

const Int_t kNsPerSec = 1000000000

Function Documentation

CVSID ( "$Id: VldTimeStamp.  cxx,
v 1.31 2013/08/24 00:05:20 rhatcher Exp $"   
)
std::ostream& operator<< ( std::ostream &  os,
const VldTimeStamp ts 
)

Definition at line 52 of file VldTimeStamp.cxx.

00053 {
00054    if (os.good()) {
00055       if (os.tie()) os.tie()->flush(); // instead of opfx
00056       os << ts.AsString("c");
00057    }
00058    // instead of os.osfx()
00059    if (os.flags() & std::ios::unitbuf) os.flush();
00060    return os;
00061 }


Variable Documentation

const Int_t kNsPerSec = 1000000000

Definition at line 49 of file VldTimeStamp.cxx.

Referenced by VldTimeStamp::NormalizeNanoSec().


Generated on 8 Jul 2019 for loon by  doxygen 1.6.1