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.h

Go to the documentation of this file.
00001 /*
00002   This is kl_error.h
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 #ifndef KL_ERROR_H  /* guard against multiple inclusions */
00011 #define KL_ERROR_H
00012 
00013 #include "kl_fwd.h"
00014 
00015 /******** type declarations *************************************************/
00016 
00017 namespace atlas {
00018 
00019 namespace kl_error {
00020 
00021   struct KLError;
00022 
00023 }
00024 
00025 /******** type definitions **************************************************/
00026 
00027 namespace kl_error {
00028 
00029 struct KLError {
00030   // data
00031   size_t x;
00032   size_t y;
00033   int line;
00034   const kl::KLContext* klc;
00035   // constructors
00036   KLError(size_t x, size_t y, int line, const kl::KLContext& klc)
00037     :x(x), y(y), line(line), klc(&klc) {}
00038   // accessors
00039   void operator() (const char*) const;
00040 };
00041 
00042 }
00043 
00044 }
00045 
00046 #endif

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