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

/include/ZE_Error.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002          This file is Part of the ZEngine Library for SDL Game Development.
00003                       Copyright (C) 2002 ConceptOfZero.net
00004 
00005              Licensed under the BSD License, see licensing.txt.
00006 
00007     The maintainer of this library is James Turk (jturk@conceptofzero.net) 
00008          and the home of this Library is http://www.conceptofzero.net/
00009 *******************************************************************************/
00010 
00024 #ifndef __ze_error_h__
00025 #define __ze_error_h__
00026 
00027 #include "ZE_Includes.h"
00028 
00029 namespace ZE
00030 {
00031 
00032 
00034 //Error Logging + Formatting//
00036 
00046 string _GetError(int line, string file, string str);
00047 
00056 void _LogError(int line, string file, string str);
00057 
00067 string FormatStr(const char *fmtstr, ...);
00068 
00072 #define GetError(str) _GetError(__LINE__,__FILE__,str)
00073 
00077 #define LogError(str) _LogError(__LINE__,__FILE__,str)
00078 
00079 }
00080 
00081 #endif //__ze_error_h__

Generated on Sat Dec 21 23:20:23 2002 for ZEngine by doxygen1.3-rc2