#include <iosfwd>#include <string>#include <vector>#include "Rtypes.h"#include "TDbiException.hxx"

Go to the source code of this file.
Classes | |
| class | TDbiExceptionLog |
| Concept An object that records database exceptions More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &s, const TDbiExceptionLog &el) |
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const TDbiExceptionLog & | el | |||
| ) |
Definition at line 48 of file TDbiExceptionLog.cxx.
References TDbiExceptionLog::GetEntries(), and TDbiExceptionLog::IsEmpty().
00048 { 00049 00050 if ( el.IsEmpty() ) { 00051 os << "The database exception log is empty" << endl; 00052 } 00053 else { 00054 os << "Database exception log:-" << endl; 00055 std::vector<TDbiException>::const_iterator itr(el.GetEntries().begin()), 00056 itrEnd(el.GetEntries().end()); 00057 while ( itr != itrEnd ) { 00058 os << *itr << endl; 00059 ++itr; 00060 } 00061 } 00062 00063 return os; 00064 00065 }

1.6.1