TDbiLogEntry.cxx File Reference

#include <iostream>
#include <sstream>
#include "TString.h"
#include "TSystem.h"
#include "TUrl.h"
#include "TDbi.hxx"
#include "TDbiCascader.hxx"
#include "TDbiLogEntry.hxx"
#include "TDbiOutRowStream.hxx"
#include "TDbiResultSetHandle.hxx"
#include "TDbiInRowStream.hxx"
#include "TDbiTableProxy.hxx"
#include "TDbiDatabaseManager.hxx"
#include "TDbiValidityRec.hxx"
#include <TSK_DBI_Log.hxx>
#include <MsgFormat.h>
#include "TDbiResultSetHandle.tpl"
#include "TDbiWriter.tpl"
Include dependency graph for TDbiLogEntry.cxx:

Go to the source code of this file.

Functions

 ClassImp (TDbiLogEntry) template class TDbiResultSetHandle< TDbiLogEntry >
std::ostream & operator<< (ostream &s, const TDbiLogEntry &logEntry)

Function Documentation

ClassImp ( TDbiLogEntry   ) 
std::ostream& operator<< ( ostream &  s,
const TDbiLogEntry logEntry 
)

Definition at line 98 of file TDbiLogEntry.cxx.

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

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

Here is the call graph for this function:


Generated on 11 Aug 2013 for SKDatabase by  doxygen 1.6.1