2
0

struct_a_currency_entry.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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: ACurrencyEntry Struct 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('struct_a_currency_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="struct_a_currency_entry-members.html">List of all members</a> </div>
  88. <div class="headertitle">
  89. <div class="title">ACurrencyEntry Struct Reference</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <div class="dynheader">
  93. Inheritance diagram for ACurrencyEntry:</div>
  94. <div class="dyncontent">
  95. <div class="center">
  96. <img src="struct_a_currency_entry.png" usemap="#ACurrencyEntry_map" alt=""/>
  97. <map id="ACurrencyEntry_map" name="ACurrencyEntry_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,105,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:a64c799bbee369d24c6f64f6ae6fbf082"><td class="memItemLeft" align="right" valign="top"><a id="a64c799bbee369d24c6f64f6ae6fbf082"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>CurrencyName</b> { <br />
  105. &#160;&#160;<b>Licence</b> = 1,
  106. <b>TypeRating</b> = 2,
  107. <b>LineCheck</b> = 3,
  108. <b>Medical</b> = 4,
  109. <br />
  110. &#160;&#160;<b>Custom1</b> = 5,
  111. <b>Custom2</b> = 6
  112. <br />
  113. }</td></tr>
  114. <tr class="separator:a64c799bbee369d24c6f64f6ae6fbf082"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. </table><table class="memberdecls">
  116. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  117. Public Member Functions</h2></td></tr>
  118. <tr class="memitem:a265f7221f59bfe58cf79f8856e4b9d06"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_currency_entry.html#a265f7221f59bfe58cf79f8856e4b9d06">ACurrencyEntry</a> (CurrencyName name)</td></tr>
  119. <tr class="memdesc:a265f7221f59bfe58cf79f8856e4b9d06"><td class="mdescLeft">&#160;</td><td class="mdescRight">ACurrencyEntry::ACurrencyEntry Creates an ACurrenyEntry object. <a href="struct_a_currency_entry.html#a265f7221f59bfe58cf79f8856e4b9d06">More...</a><br /></td></tr>
  120. <tr class="separator:a265f7221f59bfe58cf79f8856e4b9d06"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:aea81f95c963082f97dab07a9642ef31c"><td class="memItemLeft" align="right" valign="top"><a id="aea81f95c963082f97dab07a9642ef31c"></a>
  122. &#160;</td><td class="memItemRight" valign="bottom"><b>ACurrencyEntry</b> (CurrencyName name, QDate expiration_date)</td></tr>
  123. <tr class="separator:aea81f95c963082f97dab07a9642ef31c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a567d7488e6db2d34c6454e298b4ae21e"><td class="memItemLeft" align="right" valign="top"><a id="a567d7488e6db2d34c6454e298b4ae21e"></a>
  125. &#160;</td><td class="memItemRight" valign="bottom"><b>ACurrencyEntry</b> (const <a class="el" href="struct_a_currency_entry.html">ACurrencyEntry</a> &amp;te)=default</td></tr>
  126. <tr class="separator:a567d7488e6db2d34c6454e298b4ae21e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:a1393184866dee142b7d6e6ef91693801"><td class="memItemLeft" align="right" valign="top"><a id="a1393184866dee142b7d6e6ef91693801"></a>
  128. <a class="el" href="struct_a_currency_entry.html">ACurrencyEntry</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="struct_a_currency_entry.html">ACurrencyEntry</a> &amp;te)=default</td></tr>
  129. <tr class="separator:a1393184866dee142b7d6e6ef91693801"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:a17202e44445755d9136335201758a8d4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_currency_entry.html#a17202e44445755d9136335201758a8d4">isValid</a> () const</td></tr>
  131. <tr class="memdesc:a17202e44445755d9136335201758a8d4"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="struct_a_currency_entry.html#a17202e44445755d9136335201758a8d4" title="ACurrencyEntry::isValid returns true if the object holds a valid expiration date.">ACurrencyEntry::isValid</a> returns true if the object holds a valid expiration date. <a href="struct_a_currency_entry.html#a17202e44445755d9136335201758a8d4">More...</a><br /></td></tr>
  132. <tr class="separator:a17202e44445755d9136335201758a8d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <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>
  134. <tr class="memitem:a9cfbd701bff476e89b0b38146c208fab inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a9cfbd701bff476e89b0b38146c208fab"></a>
  135. &#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>
  136. <tr class="separator:a9cfbd701bff476e89b0b38146c208fab inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a9984a85a351159926705f037e01bc3f6 inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a9984a85a351159926705f037e01bc3f6"></a>
  138. <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>
  139. <tr class="separator:a9984a85a351159926705f037e01bc3f6 inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:a557d4774ac036b8090ac1227c15e2434 inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a557d4774ac036b8090ac1227c15e2434"></a>
  141. &#160;</td><td class="memItemRight" valign="bottom"><b>AEntry</b> (<a class="el" href="struct_data_position.html">DataPosition</a> position_)</td></tr>
  142. <tr class="separator:a557d4774ac036b8090ac1227c15e2434 inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:ae7a2533f99b4d7dfe9e0ce091df47572 inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="ae7a2533f99b4d7dfe9e0ce091df47572"></a>
  144. &#160;</td><td class="memItemRight" valign="bottom"><b>AEntry</b> (RowData_T table_data)</td></tr>
  145. <tr class="separator:ae7a2533f99b4d7dfe9e0ce091df47572 inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:a2fed07f6ee63ea4a51cb3512cf44398c inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a2fed07f6ee63ea4a51cb3512cf44398c"></a>
  147. &#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>
  148. <tr class="separator:a2fed07f6ee63ea4a51cb3512cf44398c inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:a71173e7faa3019c6f18e8bdf3eb39fe0 inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a71173e7faa3019c6f18e8bdf3eb39fe0"></a>
  150. void&#160;</td><td class="memItemRight" valign="bottom"><b>setData</b> (RowData_T table_data)</td></tr>
  151. <tr class="separator:a71173e7faa3019c6f18e8bdf3eb39fe0 inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:aad04dccba8fee0af4cc56883e4d67956 inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="aad04dccba8fee0af4cc56883e4d67956"></a>
  153. void&#160;</td><td class="memItemRight" valign="bottom"><b>setPosition</b> (<a class="el" href="struct_data_position.html">DataPosition</a> position_)</td></tr>
  154. <tr class="separator:aad04dccba8fee0af4cc56883e4d67956 inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:ae48f6751acfa43d9cef79ce1d8eea4be inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="ae48f6751acfa43d9cef79ce1d8eea4be"></a>
  156. const <a class="el" href="struct_data_position.html">DataPosition</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getPosition</b> ()</td></tr>
  157. <tr class="separator:ae48f6751acfa43d9cef79ce1d8eea4be inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:a317b37d278b23a1bbe31761146afa3ae inherit pub_methods_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a317b37d278b23a1bbe31761146afa3ae"></a>
  159. const RowData_T &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getData</b> ()</td></tr>
  160. <tr class="separator:a317b37d278b23a1bbe31761146afa3ae inherit pub_methods_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. </table><table class="memberdecls">
  162. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  163. Additional Inherited Members</h2></td></tr>
  164. <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>
  165. <tr class="memitem:a35a366f9a495e2d0e27756cb1bca0580 inherit pub_attribs_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="a35a366f9a495e2d0e27756cb1bca0580"></a>
  166. RowData_T&#160;</td><td class="memItemRight" valign="bottom"><b>tableData</b></td></tr>
  167. <tr class="separator:a35a366f9a495e2d0e27756cb1bca0580 inherit pub_attribs_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <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>
  169. <tr class="memitem:ab7083c4d348581aff4b485f3c2e91171 inherit pro_attribs_class_a_entry"><td class="memItemLeft" align="right" valign="top"><a id="ab7083c4d348581aff4b485f3c2e91171"></a>
  170. <a class="el" href="struct_data_position.html">DataPosition</a>&#160;</td><td class="memItemRight" valign="bottom"><b>position</b></td></tr>
  171. <tr class="separator:ab7083c4d348581aff4b485f3c2e91171 inherit pro_attribs_class_a_entry"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. </table>
  173. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  174. <a id="a265f7221f59bfe58cf79f8856e4b9d06"></a>
  175. <h2 class="memtitle"><span class="permalink"><a href="#a265f7221f59bfe58cf79f8856e4b9d06">&#9670;&nbsp;</a></span>ACurrencyEntry()</h2>
  176. <div class="memitem">
  177. <div class="memproto">
  178. <table class="memname">
  179. <tr>
  180. <td class="memname">ACurrencyEntry::ACurrencyEntry </td>
  181. <td>(</td>
  182. <td class="paramtype">ACurrencyEntry::CurrencyName&#160;</td>
  183. <td class="paramname"><em>currency_name</em></td><td>)</td>
  184. <td></td>
  185. </tr>
  186. </table>
  187. </div><div class="memdoc">
  188. <p>ACurrencyEntry::ACurrencyEntry Creates an ACurrenyEntry object. </p>
  189. <p>The Data Position is initalized by using the strongly typed enum CurrencyName, which maps to the static row id for the currency. </p>
  190. </div>
  191. </div>
  192. <h2 class="groupheader">Member Function Documentation</h2>
  193. <a id="a17202e44445755d9136335201758a8d4"></a>
  194. <h2 class="memtitle"><span class="permalink"><a href="#a17202e44445755d9136335201758a8d4">&#9670;&nbsp;</a></span>isValid()</h2>
  195. <div class="memitem">
  196. <div class="memproto">
  197. <table class="memname">
  198. <tr>
  199. <td class="memname">bool ACurrencyEntry::isValid </td>
  200. <td>(</td>
  201. <td class="paramname"></td><td>)</td>
  202. <td> const</td>
  203. </tr>
  204. </table>
  205. </div><div class="memdoc">
  206. <p><a class="el" href="struct_a_currency_entry.html#a17202e44445755d9136335201758a8d4" title="ACurrencyEntry::isValid returns true if the object holds a valid expiration date.">ACurrencyEntry::isValid</a> returns true if the object holds a valid expiration date. </p>
  207. <p>Unless a user has previously entered an expiration date, this will return false. </p><dl class="section return"><dt>Returns</dt><dd></dd></dl>
  208. </div>
  209. </div>
  210. <hr/>The documentation for this struct was generated from the following files:<ul>
  211. <li>src/classes/<a class="el" href="acurrencyentry_8h_source.html">acurrencyentry.h</a></li>
  212. <li>src/classes/acurrencyentry.cpp</li>
  213. </ul>
  214. </div><!-- contents -->
  215. </div><!-- doc-content -->
  216. <!-- start footer part -->
  217. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  218. <ul>
  219. <li class="navelem"><a class="el" href="struct_a_currency_entry.html">ACurrencyEntry</a></li>
  220. <li class="footer">Generated by
  221. <a href="http://www.doxygen.org/index.html">
  222. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.18 </li>
  223. </ul>
  224. </div>
  225. </body>
  226. </html>