No Description

classimagepacket.tex 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. \hypertarget{classimagepacket}{}\section{imagepacket Class Reference}
  2. \label{classimagepacket}\index{imagepacket@{imagepacket}}
  3. The imagepacket class is used to determine if an http packet is an image request.
  4. {\ttfamily \#include $<$imagepacket.\+h$>$}
  5. \subsection*{Public Member Functions}
  6. \begin{DoxyCompactItemize}
  7. \item
  8. \hypertarget{classimagepacket_a6e6c08813458b895b4a5d4a372ed3bbf}{}\hyperlink{classimagepacket_a6e6c08813458b895b4a5d4a372ed3bbf}{imagepacket} ()\label{classimagepacket_a6e6c08813458b895b4a5d4a372ed3bbf}
  9. \begin{DoxyCompactList}\small\item\em Construct a list of known image extensions. \end{DoxyCompactList}\item
  10. bool \hyperlink{classimagepacket_afcef61bfa0ca4924d84128b22c8ddfae}{is\+Image} (string payload)
  11. \begin{DoxyCompactList}\small\item\em Returns true if the http request payload received contains or is a request to an image, and stores the image url. \end{DoxyCompactList}\item
  12. Q\+String \hyperlink{classimagepacket_a2af33548136da4eeb6617f4bb9615fd8}{get\+Image} ()
  13. \begin{DoxyCompactList}\small\item\em Returns an image url if found in an http request. \end{DoxyCompactList}\end{DoxyCompactItemize}
  14. \subsection*{Private Attributes}
  15. \begin{DoxyCompactItemize}
  16. \item
  17. Q\+String \hyperlink{classimagepacket_ad215afe2a7c45c15e7b830b1feb3173b}{imageurl}
  18. \item
  19. Q\+String\+List \hyperlink{classimagepacket_a59cf09a0e904b2a8240b67d57a64deb7}{extensions}
  20. \end{DoxyCompactItemize}
  21. \subsection{Detailed Description}
  22. The imagepacket class is used to determine if an http packet is an image request.
  23. \subsection{Member Function Documentation}
  24. \hypertarget{classimagepacket_a2af33548136da4eeb6617f4bb9615fd8}{}\index{imagepacket@{imagepacket}!get\+Image@{get\+Image}}
  25. \index{get\+Image@{get\+Image}!imagepacket@{imagepacket}}
  26. \subsubsection[{get\+Image}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String imagepacket\+::get\+Image (
  27. \begin{DoxyParamCaption}
  28. {}
  29. \end{DoxyParamCaption}
  30. )}\label{classimagepacket_a2af33548136da4eeb6617f4bb9615fd8}
  31. Returns an image url if found in an http request.
  32. \begin{DoxyReturn}{Returns}
  33. image url if found in an http request Devuelve un url a una imagen si fue encontrada en una solicitud de http
  34. url de una imagen si encontrada en una solicitud de http
  35. \end{DoxyReturn}
  36. \hypertarget{classimagepacket_afcef61bfa0ca4924d84128b22c8ddfae}{}\index{imagepacket@{imagepacket}!is\+Image@{is\+Image}}
  37. \index{is\+Image@{is\+Image}!imagepacket@{imagepacket}}
  38. \subsubsection[{is\+Image}]{\setlength{\rightskip}{0pt plus 5cm}bool imagepacket\+::is\+Image (
  39. \begin{DoxyParamCaption}
  40. \item[{string}]{payload}
  41. \end{DoxyParamCaption}
  42. )}\label{classimagepacket_afcef61bfa0ca4924d84128b22c8ddfae}
  43. Returns true if the http request payload received contains or is a request to an image, and stores the image url.
  44. \begin{DoxyParams}{Parameters}
  45. {\em payload} & H\+T\+T\+P packet payload \\
  46. \hline
  47. \end{DoxyParams}
  48. \begin{DoxyReturn}{Returns}
  49. true if the http request payload received contains or is a request for an image
  50. \end{DoxyReturn}
  51. \subsection{Member Data Documentation}
  52. \hypertarget{classimagepacket_a59cf09a0e904b2a8240b67d57a64deb7}{}\index{imagepacket@{imagepacket}!extensions@{extensions}}
  53. \index{extensions@{extensions}!imagepacket@{imagepacket}}
  54. \subsubsection[{extensions}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String\+List imagepacket\+::extensions\hspace{0.3cm}{\ttfamily [private]}}\label{classimagepacket_a59cf09a0e904b2a8240b67d57a64deb7}
  55. list of image extensions / lista de extensiones de imagenes \hypertarget{classimagepacket_ad215afe2a7c45c15e7b830b1feb3173b}{}\index{imagepacket@{imagepacket}!imageurl@{imageurl}}
  56. \index{imageurl@{imageurl}!imagepacket@{imagepacket}}
  57. \subsubsection[{imageurl}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String imagepacket\+::imageurl\hspace{0.3cm}{\ttfamily [private]}}\label{classimagepacket_ad215afe2a7c45c15e7b830b1feb3173b}
  58. store the image url / guarda el url de la imagen
  59. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
  60. \item
  61. imagepacket.\+h\item
  62. imagepacket.\+cpp\end{DoxyCompactItemize}