Нема описа

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.9.1"/>
  7. <title>My Project: imagepacket Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  42. <li><a href="files.html"><span>Files</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Search" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  64. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  65. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  66. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  67. </ul>
  68. </div>
  69. <!-- window showing the filter options -->
  70. <div id="MSearchSelectWindow"
  71. onmouseover="return searchBox.OnSearchSelectShow()"
  72. onmouseout="return searchBox.OnSearchSelectHide()"
  73. onkeydown="return searchBox.OnSearchSelectKey(event)">
  74. </div>
  75. <!-- iframe showing the search results (closed by default) -->
  76. <div id="MSearchResultsWindow">
  77. <iframe src="javascript:void(0)" frameborder="0"
  78. name="MSearchResults" id="MSearchResults">
  79. </iframe>
  80. </div>
  81. </div><!-- top -->
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-methods">Public Member Functions</a> &#124;
  85. <a href="#pri-attribs">Private Attributes</a> &#124;
  86. <a href="classimagepacket-members.html">List of all members</a> </div>
  87. <div class="headertitle">
  88. <div class="title">imagepacket Class Reference</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <p>The imagepacket class is used to determine if an http packet is an image request.
  92. <a href="classimagepacket.html#details">More...</a></p>
  93. <p><code>#include &lt;<a class="el" href="imagepacket_8h_source.html">imagepacket.h</a>&gt;</code></p>
  94. <table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  96. Public Member Functions</h2></td></tr>
  97. <tr class="memitem:a6e6c08813458b895b4a5d4a372ed3bbf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e6c08813458b895b4a5d4a372ed3bbf"></a>
  98. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimagepacket.html#a6e6c08813458b895b4a5d4a372ed3bbf">imagepacket</a> ()</td></tr>
  99. <tr class="memdesc:a6e6c08813458b895b4a5d4a372ed3bbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a list of known image extensions. <br /></td></tr>
  100. <tr class="separator:a6e6c08813458b895b4a5d4a372ed3bbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:afcef61bfa0ca4924d84128b22c8ddfae"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimagepacket.html#afcef61bfa0ca4924d84128b22c8ddfae">isImage</a> (string payload)</td></tr>
  102. <tr class="memdesc:afcef61bfa0ca4924d84128b22c8ddfae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the http request payload received contains or is a request to an image, and stores the image url. <a href="#afcef61bfa0ca4924d84128b22c8ddfae">More...</a><br /></td></tr>
  103. <tr class="separator:afcef61bfa0ca4924d84128b22c8ddfae"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:a2af33548136da4eeb6617f4bb9615fd8"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimagepacket.html#a2af33548136da4eeb6617f4bb9615fd8">getImage</a> ()</td></tr>
  105. <tr class="memdesc:a2af33548136da4eeb6617f4bb9615fd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an image url if found in an http request. <a href="#a2af33548136da4eeb6617f4bb9615fd8">More...</a><br /></td></tr>
  106. <tr class="separator:a2af33548136da4eeb6617f4bb9615fd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. </table><table class="memberdecls">
  108. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  109. Private Attributes</h2></td></tr>
  110. <tr class="memitem:ad215afe2a7c45c15e7b830b1feb3173b"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimagepacket.html#ad215afe2a7c45c15e7b830b1feb3173b">imageurl</a></td></tr>
  111. <tr class="separator:ad215afe2a7c45c15e7b830b1feb3173b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:a59cf09a0e904b2a8240b67d57a64deb7"><td class="memItemLeft" align="right" valign="top">QStringList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classimagepacket.html#a59cf09a0e904b2a8240b67d57a64deb7">extensions</a></td></tr>
  113. <tr class="separator:a59cf09a0e904b2a8240b67d57a64deb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. </table>
  115. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  116. <div class="textblock"><p>The imagepacket class is used to determine if an http packet is an image request. </p>
  117. </div><h2 class="groupheader">Member Function Documentation</h2>
  118. <a class="anchor" id="a2af33548136da4eeb6617f4bb9615fd8"></a>
  119. <div class="memitem">
  120. <div class="memproto">
  121. <table class="memname">
  122. <tr>
  123. <td class="memname">QString imagepacket::getImage </td>
  124. <td>(</td>
  125. <td class="paramname"></td><td>)</td>
  126. <td></td>
  127. </tr>
  128. </table>
  129. </div><div class="memdoc">
  130. <p>Returns an image url if found in an http request. </p>
  131. <dl class="section return"><dt>Returns</dt><dd>image url if found in an http request Devuelve un url a una imagen si fue encontrada en una solicitud de http </dd>
  132. <dd>
  133. url de una imagen si encontrada en una solicitud de http </dd></dl>
  134. </div>
  135. </div>
  136. <a class="anchor" id="afcef61bfa0ca4924d84128b22c8ddfae"></a>
  137. <div class="memitem">
  138. <div class="memproto">
  139. <table class="memname">
  140. <tr>
  141. <td class="memname">bool imagepacket::isImage </td>
  142. <td>(</td>
  143. <td class="paramtype">string&#160;</td>
  144. <td class="paramname"><em>payload</em></td><td>)</td>
  145. <td></td>
  146. </tr>
  147. </table>
  148. </div><div class="memdoc">
  149. <p>Returns true if the http request payload received contains or is a request to an image, and stores the image url. </p>
  150. <dl class="params"><dt>Parameters</dt><dd>
  151. <table class="params">
  152. <tr><td class="paramname">payload</td><td>HTTP packet payload </td></tr>
  153. </table>
  154. </dd>
  155. </dl>
  156. <dl class="section return"><dt>Returns</dt><dd>true if the http request payload received contains or is a request for an image </dd></dl>
  157. </div>
  158. </div>
  159. <h2 class="groupheader">Member Data Documentation</h2>
  160. <a class="anchor" id="a59cf09a0e904b2a8240b67d57a64deb7"></a>
  161. <div class="memitem">
  162. <div class="memproto">
  163. <table class="mlabels">
  164. <tr>
  165. <td class="mlabels-left">
  166. <table class="memname">
  167. <tr>
  168. <td class="memname">QStringList imagepacket::extensions</td>
  169. </tr>
  170. </table>
  171. </td>
  172. <td class="mlabels-right">
  173. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  174. </tr>
  175. </table>
  176. </div><div class="memdoc">
  177. <p>list of image extensions / lista de extensiones de imagenes </p>
  178. </div>
  179. </div>
  180. <a class="anchor" id="ad215afe2a7c45c15e7b830b1feb3173b"></a>
  181. <div class="memitem">
  182. <div class="memproto">
  183. <table class="mlabels">
  184. <tr>
  185. <td class="mlabels-left">
  186. <table class="memname">
  187. <tr>
  188. <td class="memname">QString imagepacket::imageurl</td>
  189. </tr>
  190. </table>
  191. </td>
  192. <td class="mlabels-right">
  193. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  194. </tr>
  195. </table>
  196. </div><div class="memdoc">
  197. <p>store the image url / guarda el url de la imagen </p>
  198. </div>
  199. </div>
  200. <hr/>The documentation for this class was generated from the following files:<ul>
  201. <li><a class="el" href="imagepacket_8h_source.html">imagepacket.h</a></li>
  202. <li>imagepacket.cpp</li>
  203. </ul>
  204. </div><!-- contents -->
  205. <!-- start footer part -->
  206. <hr class="footer"/><address class="footer"><small>
  207. Generated on Wed Jun 24 2015 15:25:12 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  208. <img class="footer" src="doxygen.png" alt="doxygen"/>
  209. </a> 1.8.9.1
  210. </small></address>
  211. </body>
  212. </html>