source: NonGTP/FCollada/Documentation/_f_u_debug_8h-source.html @ 964

Revision 964, 10.0 KB checked in by igarcia, 18 years ago (diff)
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>FCollada: FUtils/FUDebug.h Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.4.6-NO -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13    <li><a href="classes.html"><span>Classes</span></a></li>
14    <li id="current"><a href="files.html"><span>Files</span></a></li>
15    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16  </ul></div>
17<div class="tabs">
18  <ul>
19    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
20    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
21  </ul></div>
22<h1>FUtils/FUDebug.h</h1><a href="_f_u_debug_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
23<a name="l00002"></a>00002 <span class="comment">    Copyright (C) 2005-2006 Feeling Software Inc.</span>
24<a name="l00003"></a>00003 <span class="comment">    MIT License: http://www.opensource.org/licenses/mit-license.php</span>
25<a name="l00004"></a>00004 <span class="comment">*/</span>
26<a name="l00005"></a>00005
27<a name="l00011"></a>00011 <span class="preprocessor">#ifndef _FU_DEBUG_H_</span>
28<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define _FU_DEBUG_H_</span>
29<a name="l00013"></a>00013 <span class="preprocessor"></span>
30<a name="l00016"></a><a class="code" href="_f_u_debug_8h.html#d3e3f3588b27de821458ac0faec235da">00016</a> <span class="preprocessor">#define DEBUG_OUT(token) ::DebugOut(__FILE__, __LINE__, token);</span>
31<a name="l00017"></a>00017 <span class="preprocessor"></span>
32<a name="l00021"></a><a class="code" href="_f_u_debug_8h.html#432441ed9e87e83b12422c4796f644c2">00021</a> <span class="preprocessor">#define DEBUG_OUT1(token, arg1) ::DebugOut(__FILE__, __LINE__, token, arg1);</span>
33<a name="l00022"></a>00022 <span class="preprocessor"></span>
34<a name="l00027"></a><a class="code" href="_f_u_debug_8h.html#fa85d7cb02ebbf7c330c8dfd8c1f3480">00027</a> <span class="preprocessor">#define DEBUG_OUT2(token, arg1, arg2) ::DebugOut(__FILE__, __LINE__, token, arg1, arg2);</span>
35<a name="l00028"></a>00028 <span class="preprocessor"></span>
36<a name="l00029"></a>00029 <span class="preprocessor">#ifndef _DEBUG</span>
37<a name="l00030"></a>00030 <span class="preprocessor"></span>
38<a name="l00033"></a><a class="code" href="_f_u_debug_8h.html#6f6663983e5d424627b7b5dfad223417">00033</a>     <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="_f_u_debug_8h.html#6f6663983e5d424627b7b5dfad223417">DebugOut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>*, ...) {}
39<a name="l00034"></a>00034 <span class="preprocessor">#ifdef UNICODE</span>
40<a name="l00035"></a><a class="code" href="_f_u_debug_8h.html#e4e3ae09de992e98c279d0df12a00e0e">00035</a> <span class="preprocessor"></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="_f_u_debug_8h.html#6f6663983e5d424627b7b5dfad223417">DebugOut</a>(<span class="keyword">const</span> fchar*, ...) {}
41<a name="l00036"></a>00036 <span class="preprocessor">#endif // UNICODE</span>
42<a name="l00037"></a>00037 <span class="preprocessor"></span>
43<a name="l00041"></a><a class="code" href="_f_u_debug_8h.html#8e0f0ac8bc2b3e6cf0d5529bc34d086b">00041</a>     <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="_f_u_debug_8h.html#8e0f0ac8bc2b3e6cf0d5529bc34d086b">DebugOutV</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>*, va_list&amp;) {}
44<a name="l00042"></a>00042 <span class="preprocessor">#ifdef UNICODE</span>
45<a name="l00043"></a><a class="code" href="_f_u_debug_8h.html#fa510160b6c637b6d3922cc51fe5a7ff">00043</a> <span class="preprocessor"></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="_f_u_debug_8h.html#8e0f0ac8bc2b3e6cf0d5529bc34d086b">DebugOutV</a>(<span class="keyword">const</span> fchar*, va_list&amp;) {}
46<a name="l00044"></a>00044 <span class="preprocessor">#endif // UNICODE</span>
47<a name="l00045"></a>00045 <span class="preprocessor"></span>
48<a name="l00049"></a><a class="code" href="_f_u_debug_8h.html#371f1bba4c579970ebb0fa8e04a148f3">00049</a>     <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="_f_u_debug_8h.html#6f6663983e5d424627b7b5dfad223417">DebugOut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>*, uint32, <span class="keyword">const</span> <span class="keywordtype">char</span>*, ...) {}
49<a name="l00050"></a>00050 <span class="preprocessor">#ifdef UNICODE</span>
50<a name="l00051"></a><a class="code" href="_f_u_debug_8h.html#fa05334e0581b6e4128018be8a67141a">00051</a> <span class="preprocessor"></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="_f_u_debug_8h.html#6f6663983e5d424627b7b5dfad223417">DebugOut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>*, uint32, <span class="keyword">const</span> fchar*, ...) {}
51<a name="l00052"></a>00052 <span class="preprocessor">#endif // UNICODE</span>
52<a name="l00053"></a>00053 <span class="preprocessor"></span>
53<a name="l00058"></a><a class="code" href="_f_u_debug_8h.html#7ba228a510584f8311d79cf67706c676">00058</a>     <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="_f_u_debug_8h.html#8e0f0ac8bc2b3e6cf0d5529bc34d086b">DebugOutV</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>*, uint32, <span class="keyword">const</span> <span class="keywordtype">char</span>*, va_list&amp;) {}
54<a name="l00059"></a>00059 <span class="preprocessor">#ifdef UNICODE</span>
55<a name="l00060"></a><a class="code" href="_f_u_debug_8h.html#5898a4e2f004718008effbf53ea1206b">00060</a> <span class="preprocessor"></span>    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="_f_u_debug_8h.html#8e0f0ac8bc2b3e6cf0d5529bc34d086b">DebugOutV</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>*, uint32, <span class="keyword">const</span> fchar*, va_list&amp;) {}
56<a name="l00061"></a>00061 <span class="preprocessor">#endif // UNICODE</span>
57<a name="l00062"></a>00062 <span class="preprocessor"></span>
58<a name="l00063"></a>00063 <span class="preprocessor">#else // _DEBUG</span>
59<a name="l00064"></a>00064 <span class="preprocessor"></span>
60<a name="l00065"></a>00065 <span class="preprocessor">#ifdef UNICODE</span>
61<a name="l00066"></a>00066 <span class="preprocessor"></span>    <span class="keywordtype">void</span> FCOLLADA_EXPORT <a class="code" href="_f_u_debug_8h.html#6f6663983e5d424627b7b5dfad223417">DebugOut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename, uint32 line, <span class="keyword">const</span> fchar* message, ...);
62<a name="l00067"></a>00067 <span class="keywordtype">void</span> FCOLLADA_EXPORT <a class="code" href="_f_u_debug_8h.html#6f6663983e5d424627b7b5dfad223417">DebugOut</a>(<span class="keyword">const</span> fchar* message, ...);
63<a name="l00068"></a>00068 <span class="keywordtype">void</span> FCOLLADA_EXPORT <a class="code" href="_f_u_debug_8h.html#8e0f0ac8bc2b3e6cf0d5529bc34d086b">DebugOutV</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename, uint32 line, <span class="keyword">const</span> fchar* message, va_list&amp; vars);
64<a name="l00069"></a>00069 <span class="keywordtype">void</span> FCOLLADA_EXPORT <a class="code" href="_f_u_debug_8h.html#8e0f0ac8bc2b3e6cf0d5529bc34d086b">DebugOutV</a>(<span class="keyword">const</span> fchar* message, va_list&amp; vars);
65<a name="l00070"></a>00070 <span class="preprocessor">#endif // UNICODE</span>
66<a name="l00071"></a>00071 <span class="preprocessor"></span>    <span class="keywordtype">void</span> FCOLLADA_EXPORT <a class="code" href="_f_u_debug_8h.html#6f6663983e5d424627b7b5dfad223417">DebugOut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename, uint32 line, <span class="keyword">const</span> <span class="keywordtype">char</span>* message, ...);
67<a name="l00072"></a>00072 <span class="keywordtype">void</span> FCOLLADA_EXPORT <a class="code" href="_f_u_debug_8h.html#6f6663983e5d424627b7b5dfad223417">DebugOut</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* message, ...);
68<a name="l00073"></a>00073 <span class="keywordtype">void</span> FCOLLADA_EXPORT <a class="code" href="_f_u_debug_8h.html#8e0f0ac8bc2b3e6cf0d5529bc34d086b">DebugOutV</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename, uint32 line, <span class="keyword">const</span> <span class="keywordtype">char</span>* message, va_list&amp; vars);
69<a name="l00074"></a>00074 <span class="keywordtype">void</span> FCOLLADA_EXPORT <a class="code" href="_f_u_debug_8h.html#8e0f0ac8bc2b3e6cf0d5529bc34d086b">DebugOutV</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* message, va_list&amp; vars);
70<a name="l00075"></a>00075
71<a name="l00076"></a>00076 <span class="preprocessor">#endif // _DEBUG</span>
72<a name="l00077"></a>00077 <span class="preprocessor"></span>
73<a name="l00078"></a>00078 <span class="preprocessor">#endif // _FU_DEBUG_H_</span>
74<a name="l00079"></a>00079 <span class="preprocessor"></span>
75</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:39 2006 for FCollada by&nbsp;
76<a href="http://www.doxygen.org/index.html">
77<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
78</body>
79</html>
Note: See TracBrowser for help on using the repository browser.