source: tspsg-svn/trunk/docs/html/os_8h.html @ 72

Last change on this file since 72 was 72, checked in by laleppa, 15 years ago

Documentation update:
+ Added call and caller graphs.
+ Documentation now references Qt 4.6 documentation for Qt classes.

File size: 10.1 KB
Line 
1<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml">
4<head>
5<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6<title>TSPSG: TSP Solver and Generator: src/os.h File Reference</title>
7<link href="tabs.css" rel="stylesheet" type="text/css"/>
8<link href="search/search.css" rel="stylesheet" type="text/css"/>
9<script type="text/javaScript" src="search/search.js"></script>
10<link href="doxygen.css" rel="stylesheet" type="text/css"/>
11</head>
12<body onload='searchBox.OnSelectItem(0);'>
13<!-- Generated by Doxygen 1.6.1 -->
14<script type="text/javascript"><!--
15var searchBox = new SearchBox("searchBox", "search",false,'Search');
16--></script>
17<script type="text/javascript">
18<!--
19function changeDisplayState (e){
20  var num=this.id.replace(/[^[0-9]/g,'');
21  var button=this.firstChild;
22  var sectionDiv=document.getElementById('dynsection'+num);
23  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
24    sectionDiv.style.display='block';
25    button.src='open.gif';
26  }else{
27    sectionDiv.style.display='none';
28    button.src='closed.gif';
29  }
30}
31function initDynSections(){
32  var divs=document.getElementsByTagName('div');
33  var sectionCounter=1;
34  for(var i=0;i<divs.length-1;i++){
35    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
36      var header=divs[i];
37      var section=divs[i+1];
38      var button=header.firstChild;
39      if (button!='IMG'){
40        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
41        button=document.createElement('img');
42        divs[i].insertBefore(button,divs[i].firstChild);
43      }
44      header.style.cursor='pointer';
45      header.onclick=changeDisplayState;
46      header.id='dynheader'+sectionCounter;
47      button.src='closed.gif';
48      section.id='dynsection'+sectionCounter;
49      section.style.display='none';
50      section.style.marginLeft='14px';
51      sectionCounter++;
52    }
53  }
54}
55window.onload = initDynSections;
56-->
57</script>
58<div class="navigation" id="top">
59  <div class="tabs">
60    <ul>
61      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
62      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
63      <li><a href="annotated.html"><span>Classes</span></a></li>
64      <li class="current"><a href="files.html"><span>Files</span></a></li>
65      <li>
66        <div id="MSearchBox" class="MSearchBoxInactive">
67        <img id="MSearchSelect" src="search/search.png"
68             onmouseover="return searchBox.OnSearchSelectShow()"
69             onmouseout="return searchBox.OnSearchSelectHide()"
70             alt=""/>
71        <input type="text" id="MSearchField" value="Search" accesskey="S"
72             onfocus="searchBox.OnSearchFieldFocus(true)" 
73             onblur="searchBox.OnSearchFieldFocus(false)" 
74             onkeyup="searchBox.OnSearchFieldChange(event)"/>
75        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
76        </div>
77      </li>
78    </ul>
79  </div>
80  <div class="tabs">
81    <ul>
82      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
83      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
84    </ul>
85  </div>
86</div>
87<div class="contents">
88<h1>src/os.h File Reference</h1>
89<p>Contains TSPSG target CPU architecture and OS detection. 
90<a href="#_details">More...</a></p>
91<div class="dynheader">
92This graph shows which files directly or indirectly include this file:</div>
93<div class="dynsection">
94<div class="center"><img src="os_8h__dep__incl.png" border="0" usemap="#src_2os_8hdep_map" alt=""/></div>
95<map name="src_2os_8hdep_map" id="src_2os_8hdep">
96<area shape="rect" id="node3" href="globals_8h.html" title="Contains TSPSG global defines." alt="" coords="97,83,193,111"/>
97<area shape="rect" id="node5" href="mainwindow_8h.html" title="Defines MainWindow class." alt="" coords="79,315,202,343"/>
98<area shape="rect" id="node7" href="settingsdialog_8h.html" title="Defines SettingsDialog class." alt="" coords="22,238,155,266"/>
99<area shape="rect" id="node10" href="tspmodel_8h.html" title="Defines CTSPModel class." alt="" coords="138,161,245,189"/>
100<area shape="rect" id="node13" href="tspsolver_8h.html" title="Defines tMatrix typedef, sStep struct and CTSPSolver class." alt="" coords="230,238,334,266"/>
101</map>
102</div>
103
104<p><a href="os_8h_source.html">Go to the source code of this file.</a></p>
105<table border="0" cellpadding="0" cellspacing="0">
106<tr><td colspan="2"><h2>Defines</h2></td></tr>
107<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="os_8h.html#a63e66b419dba650abc74240836e8447a">ARCH</a>&nbsp;&nbsp;&nbsp;&quot;&quot;</td></tr>
108<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The target CPU architecture TSPSG was built for.  <a href="#a63e66b419dba650abc74240836e8447a"></a><br/></td></tr>
109<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3324dbb5e25daac23e988901bb085447"></a><!-- doxytag: member="os.h::OS" ref="a3324dbb5e25daac23e988901bb085447" args="" -->
110#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="os_8h.html#a3324dbb5e25daac23e988901bb085447">OS</a>&nbsp;&nbsp;&nbsp;&quot;Unknown&quot;ARCH</td></tr>
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The target operating system TSPSG was built for. <br/></td></tr>
112<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="os_8h.html#a1dd5b94c3a8ca1350a4037270084df73">OSID</a>&nbsp;&nbsp;&nbsp;quint8(255)</td></tr>
113<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The target operating system ID.  <a href="#a1dd5b94c3a8ca1350a4037270084df73"></a><br/></td></tr>
114</table>
115<hr/><a name="_details"></a><h2>Detailed Description</h2>
116<p>Contains TSPSG target CPU architecture and OS detection. </p>
117<dl class="author"><dt><b>Author:</b></dt><dd>Copyright (C) 2007-2009 Lёppa &lt;contacts[at]oleksii[dot]name&gt;</dd></dl>
118<dl class="rcs"><dt><b>Id</b></dt><dd><a class="el" href="os_8h.html" title="Contains TSPSG target CPU architecture and OS detection.">os.h</a> 67 2009-10-24 13:37:48Z laleppa </dd></dl>
119<dl class="rcs"><dt><b>URL</b></dt><dd><a href="https://tspsg.svn.sourceforge.net/svnroot/tspsg/trunk/src/os.h">https://tspsg.svn.sourceforge.net/svnroot/tspsg/trunk/src/os.h</a> </dd></dl>
120<dl class="warning"><dt><b>Warning:</b></dt><dd>Arch detection works only for <b>GNU C</b>, <b>Visual Studio</b>, <b>Intel C/C++</b> and <b>MinGW32</b> compilers. OS detection should work for any compiler.</dd></dl>
121<p><b>TSPSG: TSP Solver and Generator</b></p>
122<p>This file is part of TSPSG.</p>
123<p>TSPSG is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
124<p>TSPSG is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
125<p>You should have received a copy of the GNU General Public License along with TSPSG. If not, see &lt;<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>&gt;. </p>
126<hr/><h2>Define Documentation</h2>
127<a class="anchor" id="a63e66b419dba650abc74240836e8447a"></a><!-- doxytag: member="os.h::ARCH" ref="a63e66b419dba650abc74240836e8447a" args="" -->
128<div class="memitem">
129<div class="memproto">
130      <table class="memname">
131        <tr>
132          <td class="memname">#define ARCH&nbsp;&nbsp;&nbsp;&quot;&quot;</td>
133        </tr>
134      </table>
135</div>
136<div class="memdoc">
137
138<p>The target CPU architecture TSPSG was built for. </p>
139<dl class="warning"><dt><b>Warning:</b></dt><dd>NOTE: Only for <b>GNU C</b>, <b>Visual Studio</b>, <b>Intel C/C++</b> and <b>MinGW32</b> compilers. </dd></dl>
140
141</div>
142</div>
143<a class="anchor" id="a1dd5b94c3a8ca1350a4037270084df73"></a><!-- doxytag: member="os.h::OSID" ref="a1dd5b94c3a8ca1350a4037270084df73" args="" -->
144<div class="memitem">
145<div class="memproto">
146      <table class="memname">
147        <tr>
148          <td class="memname">#define OSID&nbsp;&nbsp;&nbsp;quint8(255)</td>
149        </tr>
150      </table>
151</div>
152<div class="memdoc">
153
154<p>The target operating system ID. </p>
155<p>This value is used in task file metadata. </p>
156
157</div>
158</div>
159</div>
160<!--- window showing the filter options -->
161<div id="MSearchSelectWindow"
162     onmouseover="return searchBox.OnSearchSelectShow()"
163     onmouseout="return searchBox.OnSearchSelectHide()"
164     onkeydown="return searchBox.OnSearchSelectKey(event)">
165<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>
166
167<!-- iframe showing the search results (closed by default) -->
168<div id="MSearchResultsWindow">
169<iframe src="" frameborder="0" 
170        name="MSearchResults" id="MSearchResults">
171</iframe>
172</div>
173
174<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Dec 7 18:11:35 2009 for TSPSG: TSP Solver and Generator by&nbsp;
175<a href="http://www.doxygen.org/index.html">
176<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
177</body>
178</html>
Note: See TracBrowser for help on using the repository browser.