00001 00002 // 00003 // This file is part of the MADELINE 2 program 00004 // written by Edward H. Trager and Ritu Khanna 00005 // Copyright (c) 2005 by the 00006 // Regents of the University of Michigan. 00007 // All Rights Reserved. 00008 // 00009 // The latest version of this program is available from: 00010 // 00011 // http://eyegene.ophthy.med.umich.edu/madeline/ 00012 // 00013 // Released under the GNU General Public License. 00014 // A copy of the GPL is included in the distribution 00015 // package of this software, or see: 00016 // 00017 // http://www.gnu.org/copyleft/ 00018 // 00019 // ... for licensing details. 00020 // 00022 // 00023 // 2005.03.14.ET 00024 // 00025 00026 // 00027 // Warning.h 00028 // 00029 00030 #ifndef WARNING_INCLUDED 00031 #define WARNING_INCLUDED 00032 00033 #include "Message.h" 00034 00035 //#include <iostream> 00036 //#include <libintl.h> 00037 //#include <stdarg.h> 00038 //#include "BufferSizes.h" 00039 00040 class Warning : public Message{ 00041 00042 private: 00043 00044 static bool _suppressWarnings; 00045 static const char *_warningSalutation; 00046 public: 00047 00048 Warning(const char *const methodName, const char *format,...); 00049 static void suppressWarnings(bool suppressWarnings); 00050 void print(void); 00051 00052 }; 00053 00054 #endif 00055
1.4.4