Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

/home/r0/dav/atlas.dir/atlas3/sources/error/kl_error.cpp

Go to the documentation of this file.
00001 /*
00002   This is kl_error.cpp
00003   
00004   Copyright (C) 2004,2005 Fokko du Cloux
00005   part of the Atlas of Reductive Lie Groups
00006 
00007   See file main.cpp for full copyright notice
00008 */
00009 
00010 #include "kl_error.h"
00011 
00012 #include <iostream>
00013 
00014 #include "kl.h"
00015 
00016 namespace atlas {
00017 
00018 /*****************************************************************************
00019 
00020         Chapter I -- The KLError class
00021 
00022   ... explain here when it is stable ...
00023 
00024 ******************************************************************************/
00025 
00026 namespace kl_error {
00027 
00028 void KLError::operator() (const char* mess) const
00029 
00030 /*
00031   Synopsis: outputs error information and exits.
00032 */
00033 
00034 {
00035   std::cerr << mess << std::endl;
00036   std::cerr << "line #" << line << " in kl.cpp" << std::endl;
00037   std::cerr << "x = " << x << "; y = " << y << std::endl;
00038 
00039   exit(0);
00040 }
00041 
00042 }
00043 
00044 }
00045 

Generated on Wed Mar 26 16:49:33 2008 for atlas by  doxygen 1.3.9.1