DbiLogEntry.cxx File Reference

#include <iostream>
#include <sstream>
#include "TString.h"
#include "TSystem.h"
#include "TUrl.h"
#include "DatabaseInterface/Dbi.h"
#include "DatabaseInterface/DbiCascader.h"
#include "DatabaseInterface/DbiLogEntry.h"
#include "DatabaseInterface/DbiOutRowStream.h"
#include "DatabaseInterface/DbiResultPtr.h"
#include "DatabaseInterface/DbiResultSet.h"
#include "DatabaseInterface/DbiTableProxy.h"
#include "DatabaseInterface/DbiTableProxyRegistry.h"
#include "DatabaseInterface/DbiValidityRec.h"
#include "MessageService/MsgService.h"
#include "DatabaseInterface/DbiResultPtr.tpl"
#include "DatabaseInterface/DbiWriter.tpl"

Go to the source code of this file.

Functions

 CVSID ("$Id: DbiLogEntry.cxx,v 1.12 2007/04/26 14:19:57 west Exp $\n \ CVSID_DBIRESULTPTR ")
std::ostream & operator<< (ostream &s, const DbiLogEntry &logEntry)

Function Documentation

CVSID ( "$Id: DbiLogEntry.  cxx,
v 1.12 2007/04/26 14:19:57 west Exp $\n\CVSID_DBIRESULTPTR"   
)
std::ostream& operator<< ( ostream &  s,
const DbiLogEntry logEntry 
)

Definition at line 100 of file DbiLogEntry.cxx.

References VldTimeStamp::AsString(), DbiLogEntry::GetDetectorMask(), DbiLogEntry::GetHostName(), DbiLogEntry::GetLogNumSeqNo(), DbiLogEntry::GetLogSeqNoMax(), DbiLogEntry::GetLogSeqNoMin(), DbiLogEntry::GetLogTableName(), DbiLogEntry::GetProcessName(), DbiLogEntry::GetReason(), DbiLogEntry::GetServerName(), DbiLogEntry::GetSimMask(), DbiLogEntry::GetTask(), DbiLogEntry::GetUpdateTime(), and DbiLogEntry::GetUserName().

00100                                                                 {
00101 //
00102 //
00103 //  Purpose:  Output Log Entry to message stream.
00104 //
00105 //  Arguments: 
00106 //    s            in    Message stream
00107 //    logEntry        in    Configuration set to be output
00108 //
00109 //  Return:        Message stream   
00110 //
00111 //  Contact:   N. West
00112 //
00113 //  Specification:-
00114 //  =============
00115 //
00116 //  o Output configuration set to message stream.
00117 
00118 //  Program Notes:-
00119 //  =============
00120 
00121 //  None.
00122 
00123   s << "DbiLogEntry: Table  " << logEntry.GetLogTableName();
00124   if ( logEntry.GetLogSeqNoMin() ==  logEntry.GetLogSeqNoMax() )
00125     s << " SEQNO: " << logEntry.GetLogSeqNoMin();
00126   else
00127      s << " SEQNO min: " << logEntry.GetLogSeqNoMin()
00128        << " SEQNO max: " << logEntry.GetLogSeqNoMax()
00129        << " No. SEQNOs: " << logEntry.GetLogNumSeqNo();
00130   s << " DetectorMask: " << logEntry.GetDetectorMask()
00131     << " SimMask: " << logEntry.GetSimMask()
00132     << " Task: " << logEntry.GetTask()
00133     << "\n Updated on " << logEntry.GetUpdateTime().AsString("s")
00134     << " by " << logEntry.GetUserName()
00135     << " running " << logEntry.GetProcessName()
00136     << " on " << logEntry.GetHostName()
00137     << " connected to " << logEntry.GetServerName()
00138     << "\n Reason for update:-\n " << logEntry.GetReason() << endl;
00139 
00140   return s;
00141 
00142 }


Generated on 17 Jun 2018 for loon by  doxygen 1.6.1