2
0

class_a_flight_entry.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.18"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>openPilotLog: AFlightEntry Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  17. <script type="text/javascript" src="search/searchdata.js"></script>
  18. <script type="text/javascript" src="search/search.js"></script>
  19. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  20. <link href="custom_dark_theme.css" rel="stylesheet" type="text/css"/>
  21. </head>
  22. <body>
  23. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  24. <div id="titlearea">
  25. <table cellspacing="0" cellpadding="0">
  26. <tbody>
  27. <tr style="height: 56px;">
  28. <td id="projectlogo"><img alt="Logo" src="icon_main.png"/></td>
  29. <td id="projectalign" style="padding-left: 0.5em;">
  30. <div id="projectname">openPilotLog
  31. </div>
  32. </td>
  33. </tr>
  34. </tbody>
  35. </table>
  36. </div>
  37. <!-- end header part -->
  38. <!-- Generated by Doxygen 1.8.18 -->
  39. <script type="text/javascript">
  40. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  41. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  42. /* @license-end */
  43. </script>
  44. <script type="text/javascript" src="menudata.js"></script>
  45. <script type="text/javascript" src="menu.js"></script>
  46. <script type="text/javascript">
  47. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  48. $(function() {
  49. initMenu('',true,false,'search.php','Search');
  50. $(document).ready(function() { init_search(); });
  51. });
  52. /* @license-end */</script>
  53. <div id="main-nav"></div>
  54. </div><!-- top -->
  55. <div id="side-nav" class="ui-resizable side-nav-resizable">
  56. <div id="nav-tree">
  57. <div id="nav-tree-contents">
  58. <div id="nav-sync" class="sync"></div>
  59. </div>
  60. </div>
  61. <div id="splitbar" style="-moz-user-select:none;"
  62. class="ui-resizable-handle">
  63. </div>
  64. </div>
  65. <script type="text/javascript">
  66. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  67. $(document).ready(function(){initNavTree('class_a_flight_entry.html',''); initResizable(); });
  68. /* @license-end */
  69. </script>
  70. <div id="doc-content">
  71. <!-- window showing the filter options -->
  72. <div id="MSearchSelectWindow"
  73. onmouseover="return searchBox.OnSearchSelectShow()"
  74. onmouseout="return searchBox.OnSearchSelectHide()"
  75. onkeydown="return searchBox.OnSearchSelectKey(event)">
  76. </div>
  77. <!-- iframe showing the search results (closed by default) -->
  78. <div id="MSearchResultsWindow">
  79. <iframe src="javascript:void(0)" frameborder="0"
  80. name="MSearchResults" id="MSearchResults">
  81. </iframe>
  82. </div>
  83. <div class="header">
  84. <div class="summary">
  85. <a href="#pub-types">Public Types</a> &#124;
  86. <a href="#pub-methods">Public Member Functions</a> &#124;
  87. <a href="class_a_flight_entry-members.html">List of all members</a> </div>
  88. <div class="headertitle">
  89. <div class="title">AFlightEntry Class Reference</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <div class="dynheader">
  93. Inheritance diagram for AFlightEntry:</div>
  94. <div class="dyncontent">
  95. <div class="center">
  96. <img src="class_a_flight_entry.png" usemap="#AFlightEntry_map" alt=""/>
  97. <map id="AFlightEntry_map" name="AFlightEntry_map">
  98. <area href="class_a_entry.html" title="The Entry class encapsulates table metadata(table name, row id) and data for new and existing entries..." alt="AEntry" shape="rect" coords="0,0,82,24"/>
  99. </map>
  100. </div></div>
  101. <table class="memberdecls">
  102. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  103. Public Types</h2></td></tr>
  104. <tr class="memitem:ad5f2dac8ecce6f6c045d957185c890e3"><td class="memItemLeft" align="right" valign="top"><a id="ad5f2dac8ecce6f6c045d957185c890e3"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>pilotPosition</b> { <b>pic</b>,
  105. <b>secondPilot</b>,
  106. <b>thirdPilot</b>
  107. }</td></tr>
  108. <tr class="separator:ad5f2dac8ecce6f6c045d957185c890e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. </table><table class="memberdecls">
  110. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  111. Public Member Functions</h2></td></tr>
  112. <tr class="memitem:ae9a33006e70a0e0231090275975bc484"><td class="memItemLeft" align="right" valign="top"><a id="ae9a33006e70a0e0231090275975bc484"></a>
  113. &#160;</td><td class="memItemRight" valign="bottom"><b>AFlightEntry</b> (RowId_T row_id)</td></tr>
  114. <tr class="separator:ae9a33006e70a0e0231090275975bc484"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:ac0c8d5ed1b1db3e84b697336779dbe2a"><td class="memItemLeft" align="right" valign="top"><a id="ac0c8d5ed1b1db3e84b697336779dbe2a"></a>
  116. &#160;</td><td class="memItemRight" valign="bottom"><b>AFlightEntry</b> (RowData_T table_data)</td></tr>
  117. <tr class="separator:ac0c8d5ed1b1db3e84b697336779dbe2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a3bb4c3ea5c6f2adb7f3a882848456845"><td class="memItemLeft" align="right" valign="top"><a id="a3bb4c3ea5c6f2adb7f3a882848456845"></a>
  119. &#160;</td><td class="memItemRight" valign="bottom"><b>AFlightEntry</b> (const <a class="el" href="class_a_flight_entry.html">AFlightEntry</a> &amp;pe)=default</td></tr>
  120. <tr class="separator:a3bb4c3ea5c6f2adb7f3a882848456845"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a04a3cf000d35681f933c672166aacc86"><td class="memItemLeft" align="right" valign="top"><a id="a04a3cf000d35681f933c672166aacc86"></a>
  122. <a class="el" href="class_a_flight_entry.html">AFlightEntry</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="class_a_flight_entry.html">AFlightEntry</a> &amp;pe)=default</td></tr>
  123. <tr class="separator:a04a3cf000d35681f933c672166aacc86"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a83b4a71633e5f3cd44e266d44f117412"><td class="memItemLeft" align="right" valign="top">const QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_flight_entry.html#a83b4a71633e5f3cd44e266d44f117412">summary</a> ()</td></tr>
  125. <tr class="memdesc:a83b4a71633e5f3cd44e266d44f117412"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returs a summary of the flight data, if struct holds data. <a href="class_a_flight_entry.html#a83b4a71633e5f3cd44e266d44f117412">More...</a><br /></td></tr>
  126. <tr class="separator:a83b4a71633e5f3cd44e266d44f117412"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:a603aa9ca029e7d3ecbe77d40e02b8b1c"><td class="memItemLeft" align="right" valign="top"><a id="a603aa9ca029e7d3ecbe77d40e02b8b1c"></a>
  128. const QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_flight_entry.html#a603aa9ca029e7d3ecbe77d40e02b8b1c">getRegistration</a> ()</td></tr>
  129. <tr class="memdesc:a603aa9ca029e7d3ecbe77d40e02b8b1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the tails' registration from the database. <br /></td></tr>
  130. <tr class="separator:a603aa9ca029e7d3ecbe77d40e02b8b1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:a24e526b17cedbe7fdf5af3a1ebe58648"><td class="memItemLeft" align="right" valign="top">const QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_a_flight_entry.html#a24e526b17cedbe7fdf5af3a1ebe58648">getPilotName</a> (pilotPosition)</td></tr>
  132. <tr class="memdesc:a24e526b17cedbe7fdf5af3a1ebe58648"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the pilots name from the Database. <a href="class_a_flight_entry.html#a24e526b17cedbe7fdf5af3a1ebe58648">More...</a><br /></td></tr>
  133. <tr class="separator:a24e526b17cedbe7fdf5af3a1ebe58648"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="inherit_header pub_methods_class_a_entry"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_a_entry')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_a_entry.html">AEntry</a></td></tr>
  135. <tr class="memitem:a9cfbd701bff476e89b0b38146c208fab inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a9cfbd701bff476e89b0b38146c208fab"></a>
  136. &#160;</td><td class="memItemRight" valign="bottom"><b>AEntry</b> (const <a class="el" href="class_a_entry.html">AEntry</a> &amp;)=default</td></tr>
  137. <tr class="separator:a9cfbd701bff476e89b0b38146c208fab inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a9984a85a351159926705f037e01bc3f6 inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a9984a85a351159926705f037e01bc3f6"></a>
  139. <a class="el" href="class_a_entry.html">AEntry</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="class_a_entry.html">AEntry</a> &amp;)=default</td></tr>
  140. <tr class="separator:a9984a85a351159926705f037e01bc3f6 inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:a557d4774ac036b8090ac1227c15e2434 inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a557d4774ac036b8090ac1227c15e2434"></a>
  142. &#160;</td><td class="memItemRight" valign="bottom"><b>AEntry</b> (<a class="el" href="struct_data_position.html">DataPosition</a> position_)</td></tr>
  143. <tr class="separator:a557d4774ac036b8090ac1227c15e2434 inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:ae7a2533f99b4d7dfe9e0ce091df47572 inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="ae7a2533f99b4d7dfe9e0ce091df47572"></a>
  145. &#160;</td><td class="memItemRight" valign="bottom"><b>AEntry</b> (RowData_T table_data)</td></tr>
  146. <tr class="separator:ae7a2533f99b4d7dfe9e0ce091df47572 inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a2fed07f6ee63ea4a51cb3512cf44398c inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a2fed07f6ee63ea4a51cb3512cf44398c"></a>
  148. &#160;</td><td class="memItemRight" valign="bottom"><b>AEntry</b> (<a class="el" href="struct_data_position.html">DataPosition</a> position_, RowData_T table_data)</td></tr>
  149. <tr class="separator:a2fed07f6ee63ea4a51cb3512cf44398c inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a71173e7faa3019c6f18e8bdf3eb39fe0 inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a71173e7faa3019c6f18e8bdf3eb39fe0"></a>
  151. void&#160;</td><td class="memItemRight" valign="bottom"><b>setData</b> (RowData_T table_data)</td></tr>
  152. <tr class="separator:a71173e7faa3019c6f18e8bdf3eb39fe0 inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:aad04dccba8fee0af4cc56883e4d67956 inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="aad04dccba8fee0af4cc56883e4d67956"></a>
  154. void&#160;</td><td class="memItemRight" valign="bottom"><b>setPosition</b> (<a class="el" href="struct_data_position.html">DataPosition</a> position_)</td></tr>
  155. <tr class="separator:aad04dccba8fee0af4cc56883e4d67956 inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:ae48f6751acfa43d9cef79ce1d8eea4be inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="ae48f6751acfa43d9cef79ce1d8eea4be"></a>
  157. const <a class="el" href="struct_data_position.html">DataPosition</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getPosition</b> ()</td></tr>
  158. <tr class="separator:ae48f6751acfa43d9cef79ce1d8eea4be inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:a317b37d278b23a1bbe31761146afa3ae inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a317b37d278b23a1bbe31761146afa3ae"></a>
  160. const RowData_T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getData</b> ()</td></tr>
  161. <tr class="separator:a317b37d278b23a1bbe31761146afa3ae inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. </table><table class="memberdecls">
  163. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  164. Additional Inherited Members</h2></td></tr>
  165. <tr class="inherit_header pub_attribs_class_a_entry"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_a_entry')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_a_entry.html">AEntry</a></td></tr>
  166. <tr class="memitem:a35a366f9a495e2d0e27756cb1bca0580 inherit pub_attribs_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a35a366f9a495e2d0e27756cb1bca0580"></a>
  167. RowData_T&#160;</td><td class="memItemRight" valign="bottom"><b>tableData</b></td></tr>
  168. <tr class="separator:a35a366f9a495e2d0e27756cb1bca0580 inherit pub_attribs_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. <tr class="inherit_header pro_attribs_class_a_entry"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_a_entry')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_a_entry.html">AEntry</a></td></tr>
  170. <tr class="memitem:ab7083c4d348581aff4b485f3c2e91171 inherit pro_attribs_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="ab7083c4d348581aff4b485f3c2e91171"></a>
  171. <a class="el" href="struct_data_position.html">DataPosition</a>&#160;</td><td class="memItemRight" valign="bottom"><b>position</b></td></tr>
  172. <tr class="separator:ab7083c4d348581aff4b485f3c2e91171 inherit pro_attribs_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  173. </table>
  174. <h2 class="groupheader">Member Function Documentation</h2>
  175. <a id="a24e526b17cedbe7fdf5af3a1ebe58648"></a>
  176. <h2 class="memtitle"><span class="permalink"><a href="#a24e526b17cedbe7fdf5af3a1ebe58648">&#9670;&nbsp;</a></span>getPilotName()</h2>
  177. <div class="memitem">
  178. <div class="memproto">
  179. <table class="memname">
  180. <tr>
  181. <td class="memname">const QString AFlightEntry::getPilotName </td>
  182. <td>(</td>
  183. <td class="paramtype">pilotPosition&#160;</td>
  184. <td class="paramname"><em>pilot_</em></td><td>)</td>
  185. <td></td>
  186. </tr>
  187. </table>
  188. </div><div class="memdoc">
  189. <p>Returns the pilots name from the Database. </p>
  190. <dl class="params"><dt>Parameters</dt><dd>
  191. <table class="params">
  192. <tr><td class="paramname">pilot_number</td><td>- 1=pic, 2=second Pilot, 3 = third Pilot </td></tr>
  193. </table>
  194. </dd>
  195. </dl>
  196. <dl class="section return"><dt>Returns</dt><dd>"Lastname, Firstname" </dd></dl>
  197. </div>
  198. </div>
  199. <a id="a83b4a71633e5f3cd44e266d44f117412"></a>
  200. <h2 class="memtitle"><span class="permalink"><a href="#a83b4a71633e5f3cd44e266d44f117412">&#9670;&nbsp;</a></span>summary()</h2>
  201. <div class="memitem">
  202. <div class="memproto">
  203. <table class="memname">
  204. <tr>
  205. <td class="memname">const QString AFlightEntry::summary </td>
  206. <td>(</td>
  207. <td class="paramname"></td><td>)</td>
  208. <td></td>
  209. </tr>
  210. </table>
  211. </div><div class="memdoc">
  212. <p>Returs a summary of the flight data, if struct holds data. </p>
  213. <dl class="section return"><dt>Returns</dt><dd>"doft, dept, tofb, dest, tonb" </dd></dl>
  214. </div>
  215. </div>
  216. <hr/>The documentation for this class was generated from the following files:<ul>
  217. <li>src/classes/<a class="el" href="aflightentry_8h_source.html">aflightentry.h</a></li>
  218. <li>src/classes/aflightentry.cpp</li>
  219. </ul>
  220. </div><!-- contents -->
  221. </div><!-- doc-content -->
  222. <!-- start footer part -->
  223. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  224. <ul>
  225. <li class="navelem"><a class="el" href="class_a_flight_entry.html">AFlightEntry</a></li>
  226. <li class="footer">Generated by
  227. <a href="http://www.doxygen.org/index.html">
  228. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.18 </li>
  229. </ul>
  230. </div>
  231. </body>
  232. </html>