DbiConfigSet.cxx File Reference

#include "DatabaseInterface/Dbi.h"
#include "DatabaseInterface/DbiConfigSet.h"
#include "DatabaseInterface/DbiOutRowStream.h"
#include "DatabaseInterface/DbiResultSet.h"
#include "MessageService/MsgService.h"
#include <iostream>
#include "DatabaseInterface/DbiResultPtr.tpl"
#include "DatabaseInterface/DbiWriter.tpl"

Go to the source code of this file.

Functions

 CVSID ("$Id: DbiConfigSet.cxx,v 1.15 2006/08/08 10:51:32 west Exp $\n \ CVSID_DBIRESULTPTR ")
ostream & operator<< (ostream &s, const DbiConfigSet &cfSet)

Function Documentation

CVSID ( "$Id: DbiConfigSet.  cxx,
v 1.15 2006/08/08 10:51:32 west Exp $\n\CVSID_DBIRESULTPTR"   
)
ostream& operator<< ( ostream &  s,
const DbiConfigSet cfSet 
)

Definition at line 51 of file DbiConfigSet.cxx.

References DbiFieldType::AsString(), DbiConfigSet::GetNumParams(), DbiConfigSet::GetParamName(), DbiConfigSet::GetParamType(), and DbiConfigSet::GetParamValue().

00051                                                            {
00052 //
00053 //
00054 //  Purpose:  Output configuration set to message stream.
00055 //
00056 //  Arguments: 
00057 //    s            in    Message stream
00058 //    cfSet        in    Configuration set to be output
00059 //
00060 //  Return:        Message stream   
00061 //
00062 //  Contact:   N. West
00063 //
00064 //  Specification:-
00065 //  =============
00066 //
00067 //  o Output configuration set to message stream.
00068 
00069 //  Program Notes:-
00070 //  =============
00071 
00072 //  None.
00073 
00074   s << "DbiConfigSet: Number of parameters: " 
00075     << cfSet.GetNumParams() << endl;
00076 
00077   for ( UInt_t iParam = 0; iParam < cfSet.GetNumParams(); ++iParam) {
00078     s << "   "  << cfSet.GetParamName(iParam) << ":  "
00079       << cfSet.GetParamValue(iParam) << " (" 
00080       << cfSet.GetParamType(iParam).AsString() << ")" << endl;
00081   }
00082 
00083   return s;
00084 
00085 }


Generated on 19 Jan 2018 for loon by  doxygen 1.6.1