DbiCascader.cxx File Reference

#include <cstdlib>
#include <memory>
#include <sstream>
#include "TList.h"
#include "TROOT.h"
#include "TSQLStatement.h"
#include "TSystem.h"
#include "DatabaseInterface/Dbi.h"
#include "DatabaseInterface/DbiCascader.h"
#include "DatabaseInterface/DbiString.h"
#include "LeakChecker/Lea.h"
#include "MessageService/MsgService.h"
#include "Util/UtilString.h"

Go to the source code of this file.

Functions

 CVSID ("$Id: DbiCascader.cxx,v 1.73 2009/04/18 08:12:37 west Exp $")
ostream & operator<< (ostream &os, const DbiCascader &cascader)

Function Documentation

CVSID ( "$Id: DbiCascader.  cxx,
v 1.73 2009/04/18 08:12:37 west Exp $"   
)
ostream& operator<< ( ostream &  os,
const DbiCascader cascader 
)

Definition at line 174 of file DbiCascader.cxx.

References DbiCascader::fGlobalSeqNoDbNo, DbiCascader::GetNumDb(), DbiCascader::GetStatusAsString(), and DbiCascader::GetURL().

00174                                                               {
00175 //
00176 //
00177 //  Purpose:  Output DbiCascader status to message stream.
00178 //
00179 //  Arguments: 
00180 //    os           in    ostream to output on
00181 //    cascader     in    Cascader to be output
00182 //
00183 //  Return:        ostream   
00184 //
00185 //  Contact:   N. West
00186 //
00187 //  Specification:-
00188 //  =============
00189 //
00190 //  o Output DbiCascader status to ostream.
00191 
00192 //  Program Notes:-
00193 //  =============
00194 
00195 //  None.
00196 
00197   os << "DbiCascader Status:- " << endl
00198      << "Status   URL" << endl << endl;
00199 
00200   int maxDb = cascader.GetNumDb();
00201   for (Int_t dbNo = 0; dbNo < maxDb; ++dbNo)
00202       os << cascader.GetStatusAsString(dbNo) << " "
00203          << ( ( dbNo == cascader.fGlobalSeqNoDbNo ) ? "(auth)  " : "        ")
00204          << cascader.GetURL(dbNo) << endl;
00205   os << endl;
00206   return os;
00207 
00208 }


Generated on 15 Jul 2018 for loon by  doxygen 1.6.1