title
Graph Drawing Toolkit

An object-oriented C++ library for handling and drawing graphs

gdt_error.h

Go to the documentation of this file.
00001 
00003 #ifndef __gdterror__
00004 #define __gdterror__
00005 
00006 
00007 #ifndef __PRETTY_FUNCTION__
00008 #define __PRETTY_FUNCTION__ "<unknow function>"
00009 #endif
00010 
00011 #define gdt_warning(s) \
00012 __handle_warning(__FILE__,__LINE__,__PRETTY_FUNCTION__,s)
00013 
00014 #define gdt_error(s) \
00015 __handle_error(__FILE__,__LINE__,__PRETTY_FUNCTION__,s)
00016 
00017 
00018 void __handle_error(const char* file, 
00019                     const int line, 
00020                     const char* function, 
00021                     const char* error);
00022 
00023 void __handle_warning(const char* file, 
00024                       const int line, 
00025                       const char* function, 
00026                       const char* warning);
00027 
00028 
00029 
00030 #endif

Generated on Thu Jan 10 14:48:01 2008 for GDToolkit GAPI by  doxygen 1.5.3