zengine/doc/html/ZE__Error_8h-source.html
2002-12-05 00:05:06 +00:00

49 lines
3.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>/home/James/ZEngine-dev/include/ZE_Error.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3-rc1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
<hr><h1>/home/James/ZEngine-dev/include/ZE_Error.h</h1><a href="ZE__Error_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00024 <span class="preprocessor">#ifndef __ze_error_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_error_h__</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "<a class="code" href="ZE__Includes_8h.html">ZE_Includes.h</a>"</span>
00028
00029 <span class="keyword">namespace </span>ZE
00030 {
00031
00032
00034 <span class="comment">//Error Logging + Formatting//</span>
00036 <span class="comment"></span>
00046 <span class="comment"></span>string <a class="code" href="namespaceZE.html#a0">_GetError</a>(<span class="keywordtype">int</span> line, string file, string str);
00047
00056 <span class="keywordtype">void</span> <a class="code" href="namespaceZE.html#a1">_LogError</a>(<span class="keywordtype">int</span> line, string file, string str);
00057
00067 string <a class="code" href="namespaceZE.html#a2">FormatStr</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *fmtstr, ...);
00068
00072 <span class="preprocessor">#define GetError(str) _GetError(__LINE__,__FILE__,str)</span>
00073 <span class="preprocessor"></span>
00077 <span class="preprocessor">#define LogError(str) _LogError(__LINE__,__FILE__,str)</span>
00078 <span class="preprocessor"></span>
00079 }
00080
00081 <span class="preprocessor">#endif //__ze_error_h__</span>
</pre></div><hr><address style="align: right;"><small>Generated on Wed Dec 4 19:01:30 2002 for ZEngine by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.3-rc1 </small></address>
</body>
</html>