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

CTBexceptionMath.cxx

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 #include "CTB.hxx"
00015 #include "CTBprintf.hxx"
00016 #include "CTBexceptionMath.hxx"
00017 
00023 //------------------------------------------+-----------------------------------
00025 
00026 void CTBexceptionMath::ToStream(ostream& os) const
00027 {
00028   os << mc_name;
00029 
00030   if (mi_narg > 0) {
00031     os << " with (" << CTBprintf(md_arg1,"e",10,3);
00032     if (mi_narg > 1) os << "," << CTBprintf(md_arg2,"e",10,3);
00033     os << ")";
00034   }
00035 
00036   if (mc_module) os << " in " << mc_module;
00037 
00038   return;
00039 }
00040 
00041 #if (defined(CTB__OutLine) || defined(CTBexceptionMath__OutLine))
00042 #define inline
00043 #include "CTBexceptionMath.icc"
00044 #undef  inline
00045 #endif

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