DbiRecord.h File Reference

#include "Record/RecRecordImp.h"
#include "Record/RecHeader.h"
#include <set>
#include <string>
#include "TList.h"

Go to the source code of this file.

Classes

class  DbiRecord

Namespaces

namespace  DatabaseInterface
 

Concept Package-wide namespace of utilities and typedef/enums.


Functions

std::ostream & operator<< (std::ostream &os, const DbiRecord &rec)

Function Documentation

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 3 Dec 2018 for loon by  doxygen 1.6.1