Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

CTBexception.icc

Go to the documentation of this file.
00001 
00006 /*----------------------------------------------------------------------------*/
00007 /* C Tool Box: Designed and implemented by:                                   */
00008 /*    Walter F.J. Mueller   Gesellschaft fuer Schwerionenforschung (GSI)      */
00009 /*                          Planckstrasse 1, D-64291 Darmstadt, Germany       */
00010 /*                  Email:  W.F.J.Mueller@gsi.de                              */
00011 /*                  WWW:    http://www-kp3.gsi.de/www/kp3/people/mueller.html */
00012 /*------------------------------------------+---------------------------------*/
00013 
00014 //------------------------------------------+-----------------------------------
00016 
00017 inline CTBexception::CTBexception()
00018   : mc_name("CTBexception"),
00019     mc_message(0),
00020     mc_module(0)
00021 {}
00022 
00023 //------------------------------------------+-----------------------------------
00025 
00026 inline CTBexception::CTBexception(const char* c_name, const char* c_message,
00027                                   const char* c_module)
00028   : mc_name(c_name),
00029     mc_message(c_message),
00030     mc_module(c_module)
00031 {}
00032 
00033 //------------------------------------------+-----------------------------------
00035 
00036 inline const char* CTBexception::Name() const
00037 {
00038   return mc_name;
00039 }
00040 
00041 //------------------------------------------+-----------------------------------
00043 
00044 inline const char* CTBexception::Message() const
00045 {
00046   return mc_message;
00047 }
00048 
00049 //------------------------------------------+-----------------------------------
00051 
00052 inline const char* CTBexception::Module() const
00053 {
00054   return mc_module;
00055 }
00056 
00057 //------------------------------------------+-----------------------------------
00063 inline ostream& operator<<(ostream& os, const CTBexception& obj)
00064 {
00065   obj.ToStream(os);
00066   return os;
00067 }

Generated at Fri Oct 24 18:11:28 2003 for CTBbase by doxygen1.2.9-20010812 written by Dimitri van Heesch, © 1997-2001