Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

gdcmException.h File Reference

#include "gdcmCommon.h"
#include <string>
#include <iostream>
#include <exception>

Go to the source code of this file.

Classes

class  gdcmException
class  gdcmFileError
class  gdcmFormatError

Functions

std::ostream & operator<< (std::ostream &os, const gdcmException &e)


Function Documentation

std::ostream& operator<< std::ostream &  os,
const gdcmException e
 

Definition at line 103 of file gdcmException.cxx.

References gdcmException::fatal(), gdcmException::getError(), and gdcmException::getName().

00103                                                                 {
00104   try {  
00105     os << "Exception " << e.getName() << " thrown: " << e.getError() << std::endl;
00106   }
00107   catch(...) {
00108     gdcmException::fatal("operator<<(std::ostream &, const gdcmException&)");
00109   }
00110   return os;
00111 }


Generated on Mon Feb 14 16:13:36 2005 for gdcm by doxygen 1.3.6