1 | <html> |
---|
2 | <head> |
---|
3 | <title>OgreStdHeaders.h Source File - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>OgreStdHeaders.h</h1><a href="OgreStdHeaders_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef __StdHeaders_H__</span> |
---|
11 | 00002 <span class="preprocessor"></span><span class="preprocessor">#define __StdHeaders_H__</span> |
---|
12 | 00003 <span class="preprocessor"></span> |
---|
13 | 00004 <span class="preprocessor">#ifdef __BORLANDC__</span> |
---|
14 | 00005 <span class="preprocessor"></span><span class="preprocessor"> #define __STD_ALGORITHM</span> |
---|
15 | 00006 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
16 | 00007 <span class="preprocessor"></span> |
---|
17 | 00008 <span class="preprocessor">#include <cassert></span> |
---|
18 | 00009 <span class="preprocessor">#include <cstdio></span> |
---|
19 | 00010 <span class="preprocessor">#include <cstdlib></span> |
---|
20 | 00011 <span class="preprocessor">#include <ctime></span> |
---|
21 | 00012 <span class="preprocessor">#include <cstring></span> |
---|
22 | 00013 <span class="preprocessor">#include <cstdarg></span> |
---|
23 | 00014 <span class="preprocessor">#include <cmath></span> |
---|
24 | 00015 |
---|
25 | 00016 <span class="comment">// STL containers</span> |
---|
26 | 00017 <span class="preprocessor">#include <vector></span> |
---|
27 | 00018 <span class="preprocessor">#include <map></span> |
---|
28 | 00019 <span class="preprocessor">#include <string></span> |
---|
29 | 00020 <span class="preprocessor">#include <set></span> |
---|
30 | 00021 <span class="preprocessor">#include <list></span> |
---|
31 | 00022 <span class="preprocessor">#include <deque></span> |
---|
32 | 00023 <span class="preprocessor">#include <queue></span> |
---|
33 | 00024 <span class="preprocessor">#include <bitset></span> |
---|
34 | 00025 |
---|
35 | 00026 <span class="comment">// Note - not in the original STL, but exists in SGI STL and STLport</span> |
---|
36 | 00027 <span class="preprocessor">#if (OGRE_COMPILER == OGRE_COMPILER_GNUC) && !defined(STLPORT)</span> |
---|
37 | 00028 <span class="preprocessor"></span><span class="preprocessor"># include <ext/hash_map></span> |
---|
38 | 00029 <span class="preprocessor"># include <ext/hash_set></span> |
---|
39 | 00030 <span class="preprocessor">#else</span> |
---|
40 | 00031 <span class="preprocessor"></span><span class="preprocessor"># include <hash_set></span> |
---|
41 | 00032 <span class="preprocessor"># include <hash_map></span> |
---|
42 | 00033 <span class="preprocessor">#endif</span> |
---|
43 | 00034 <span class="preprocessor"></span> |
---|
44 | 00035 <span class="comment">// STL algorithms & functions</span> |
---|
45 | 00036 <span class="preprocessor">#include <algorithm></span> |
---|
46 | 00037 <span class="preprocessor">#include <functional></span> |
---|
47 | 00038 <span class="preprocessor">#include <limits></span> |
---|
48 | 00039 |
---|
49 | 00040 <span class="comment">// C++ Stream stuff</span> |
---|
50 | 00041 <span class="preprocessor">#include <fstream></span> |
---|
51 | 00042 <span class="preprocessor">#include <iostream></span> |
---|
52 | 00043 <span class="preprocessor">#include <iomanip></span> |
---|
53 | 00044 <span class="preprocessor">#include <sstream></span> |
---|
54 | 00045 |
---|
55 | 00046 <span class="preprocessor">#ifdef __BORLANDC__</span> |
---|
56 | 00047 <span class="preprocessor"></span><span class="keyword">namespace </span>Ogre |
---|
57 | 00048 { |
---|
58 | 00049 <span class="keyword">using</span> <span class="keyword">namespace </span>std; |
---|
59 | 00050 } |
---|
60 | 00051 <span class="preprocessor">#endif</span> |
---|
61 | 00052 <span class="preprocessor"></span> |
---|
62 | 00053 <span class="keyword">extern</span> <span class="stringliteral">"C"</span> { |
---|
63 | 00054 |
---|
64 | 00055 <span class="preprocessor"># include <sys/types.h></span> |
---|
65 | 00056 <span class="preprocessor"># include <sys/stat.h></span> |
---|
66 | 00057 |
---|
67 | 00058 } |
---|
68 | 00059 |
---|
69 | 00060 <span class="preprocessor">#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32</span> |
---|
70 | 00061 <span class="preprocessor"></span><span class="preprocessor"># undef min</span> |
---|
71 | 00062 <span class="preprocessor"></span><span class="preprocessor"># undef max</span> |
---|
72 | 00063 <span class="preprocessor"></span><span class="preprocessor"># if defined( __MINGW32__ )</span> |
---|
73 | 00064 <span class="preprocessor"></span><span class="preprocessor"># include <unistd.h></span> |
---|
74 | 00065 <span class="preprocessor"># endif</span> |
---|
75 | 00066 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
76 | 00067 <span class="preprocessor"></span> |
---|
77 | 00068 <span class="preprocessor">#if OGRE_PLATFORM == OGRE_PLATFORM_LINUX</span> |
---|
78 | 00069 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { |
---|
79 | 00070 |
---|
80 | 00071 <span class="preprocessor"># include <unistd.h></span> |
---|
81 | 00072 <span class="preprocessor"># include <dlfcn.h></span> |
---|
82 | 00073 |
---|
83 | 00074 } |
---|
84 | 00075 <span class="preprocessor">#endif</span> |
---|
85 | 00076 <span class="preprocessor"></span> |
---|
86 | 00077 <span class="preprocessor">#if OGRE_PLATFORM == OGRE_PLATFORM_APPLE</span> |
---|
87 | 00078 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> { |
---|
88 | 00079 <span class="preprocessor"># include <unistd.h></span> |
---|
89 | 00080 <span class="preprocessor"># include <sys/param.h></span> |
---|
90 | 00081 <span class="preprocessor"># include <CoreFoundation/CoreFoundation.h></span> |
---|
91 | 00082 } |
---|
92 | 00083 <span class="preprocessor">#endif</span> |
---|
93 | 00084 <span class="preprocessor"></span> |
---|
94 | 00085 <span class="preprocessor">#if OGRE_THREAD_SUPPORT</span> |
---|
95 | 00086 <span class="preprocessor"></span><span class="preprocessor"># include <boost/thread/recursive_mutex.hpp></span> |
---|
96 | 00087 <span class="preprocessor">#endif</span> |
---|
97 | 00088 <span class="preprocessor"></span> |
---|
98 | 00089 <span class="preprocessor">#endif</span> |
---|
99 | </pre></div><hr> |
---|
100 | <p> |
---|
101 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
102 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
103 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
104 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
105 | <Work rdf:about=""> |
---|
106 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
107 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
108 | </Work> |
---|
109 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
110 | |
---|
111 | Last modified Sun Mar 12 14:37:50 2006 |
---|
112 | </p> |
---|
113 | </body> |
---|
114 | </html> |
---|