DbiRecord.cxx File Reference

#include <iostream>
#include <list>
#include "DatabaseInterface/DbiResultKey.h"
#include "DatabaseInterface/DbiRecord.h"
#include "LeakChecker/Lea.h"
#include "MessageService/MsgService.h"

Go to the source code of this file.

Functions

 CVSID ("$Id: DbiRecord.cxx,v 1.4 2004/08/03 21:37:33 rhatcher Exp $")
std::ostream & operator<< (std::ostream &os, const DbiRecord &rec)

Function Documentation

CVSID ( "$Id: DbiRecord.  cxx,
v 1.4 2004/08/03 21:37:33 rhatcher Exp $"   
)
std::ostream& operator<< ( std::ostream &  os,
const DbiRecord rec 
)

Definition at line 22 of file DbiRecord.cxx.

00022                                                              {
00023 
00024   int numKeys = rec.fKeys.GetSize();
00025 
00026   if ( numKeys == 0 ) {
00027     os << "DbiRecord is empty." << endl;
00028     return os;
00029   }
00030 
00031   os << "DbiRecord contains the following " << numKeys << " DbiResultKeys:- \n\n";
00032   TIter itr(&rec.fKeys);
00033   while ( const DbiResultKey* key = dynamic_cast<const DbiResultKey*>(itr.Next() ) )
00034     os << "  " << *key;
00035   return os;
00036 
00037 }


Generated on 17 Jun 2018 for loon by  doxygen 1.6.1