Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

DbiExceptionLog.cxx File Reference

#include <iostream>
#include "DatabaseInterface/DbiExceptionLog.h"
#include "LeakChecker/Lea.h"
#include "MessageService/MsgService.h"

Go to the source code of this file.

Functions

 CVSID ("$Id: DbiExceptionLog.cxx,v 1.5 2007/04/26 14:19:57 west Exp $")
std::ostream & operator<< (std::ostream &os, const DbiExceptionLog &el)


Function Documentation

CVSID "$Id: DbiExceptionLog cxx,
v 1.5 2007/04/26 14:19:57 west Exp $" 
 

std::ostream& operator<< std::ostream &  os,
const DbiExceptionLog el
 

Definition at line 50 of file DbiExceptionLog.cxx.

00050                                                                   {
00051 
00052   if ( el.IsEmpty() ) {
00053     os << "The database exception log is empty" << endl;
00054   }
00055   else {
00056     os << "Database exception log:-" << endl;
00057     std::vector<DbiException>::const_iterator itr(el.GetEntries().begin()), 
00058                                                itrEnd(el.GetEntries().end());
00059     while ( itr != itrEnd ) {
00060       os << *itr << endl;
00061       ++itr;
00062     }
00063   }
00064 
00065   return os;
00066 
00067 }


Generated on Mon Feb 15 11:07:56 2010 for loon by  doxygen 1.3.9.1