123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- \hypertarget{classimagepacket}{}\section{imagepacket Class Reference}
- \label{classimagepacket}\index{imagepacket@{imagepacket}}
-
-
- The imagepacket class is used to determine if an http packet is an image request.
-
-
-
-
- {\ttfamily \#include $<$imagepacket.\+h$>$}
-
- \subsection*{Public Member Functions}
- \begin{DoxyCompactItemize}
- \item
- \hypertarget{classimagepacket_a6e6c08813458b895b4a5d4a372ed3bbf}{}\hyperlink{classimagepacket_a6e6c08813458b895b4a5d4a372ed3bbf}{imagepacket} ()\label{classimagepacket_a6e6c08813458b895b4a5d4a372ed3bbf}
-
- \begin{DoxyCompactList}\small\item\em Construct a list of known image extensions. \end{DoxyCompactList}\item
- bool \hyperlink{classimagepacket_afcef61bfa0ca4924d84128b22c8ddfae}{is\+Image} (string payload)
- \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
- Q\+String \hyperlink{classimagepacket_a2af33548136da4eeb6617f4bb9615fd8}{get\+Image} ()
- \begin{DoxyCompactList}\small\item\em Returns an image url if found in an http request. \end{DoxyCompactList}\end{DoxyCompactItemize}
- \subsection*{Private Attributes}
- \begin{DoxyCompactItemize}
- \item
- Q\+String \hyperlink{classimagepacket_ad215afe2a7c45c15e7b830b1feb3173b}{imageurl}
- \item
- Q\+String\+List \hyperlink{classimagepacket_a59cf09a0e904b2a8240b67d57a64deb7}{extensions}
- \end{DoxyCompactItemize}
-
-
- \subsection{Detailed Description}
- The imagepacket class is used to determine if an http packet is an image request.
-
- \subsection{Member Function Documentation}
- \hypertarget{classimagepacket_a2af33548136da4eeb6617f4bb9615fd8}{}\index{imagepacket@{imagepacket}!get\+Image@{get\+Image}}
- \index{get\+Image@{get\+Image}!imagepacket@{imagepacket}}
- \subsubsection[{get\+Image}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String imagepacket\+::get\+Image (
- \begin{DoxyParamCaption}
- {}
- \end{DoxyParamCaption}
- )}\label{classimagepacket_a2af33548136da4eeb6617f4bb9615fd8}
-
-
- Returns an image url if found in an http request.
-
- \begin{DoxyReturn}{Returns}
- image url if found in an http request Devuelve un url a una imagen si fue encontrada en una solicitud de http
-
- url de una imagen si encontrada en una solicitud de http
- \end{DoxyReturn}
- \hypertarget{classimagepacket_afcef61bfa0ca4924d84128b22c8ddfae}{}\index{imagepacket@{imagepacket}!is\+Image@{is\+Image}}
- \index{is\+Image@{is\+Image}!imagepacket@{imagepacket}}
- \subsubsection[{is\+Image}]{\setlength{\rightskip}{0pt plus 5cm}bool imagepacket\+::is\+Image (
- \begin{DoxyParamCaption}
- \item[{string}]{payload}
- \end{DoxyParamCaption}
- )}\label{classimagepacket_afcef61bfa0ca4924d84128b22c8ddfae}
-
-
- Returns true if the http request payload received contains or is a request to an image, and stores the image url.
-
-
- \begin{DoxyParams}{Parameters}
- {\em payload} & H\+T\+T\+P packet payload \\
- \hline
- \end{DoxyParams}
- \begin{DoxyReturn}{Returns}
- true if the http request payload received contains or is a request for an image
- \end{DoxyReturn}
-
-
- \subsection{Member Data Documentation}
- \hypertarget{classimagepacket_a59cf09a0e904b2a8240b67d57a64deb7}{}\index{imagepacket@{imagepacket}!extensions@{extensions}}
- \index{extensions@{extensions}!imagepacket@{imagepacket}}
- \subsubsection[{extensions}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String\+List imagepacket\+::extensions\hspace{0.3cm}{\ttfamily [private]}}\label{classimagepacket_a59cf09a0e904b2a8240b67d57a64deb7}
- list of image extensions / lista de extensiones de imagenes \hypertarget{classimagepacket_ad215afe2a7c45c15e7b830b1feb3173b}{}\index{imagepacket@{imagepacket}!imageurl@{imageurl}}
- \index{imageurl@{imageurl}!imagepacket@{imagepacket}}
- \subsubsection[{imageurl}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String imagepacket\+::imageurl\hspace{0.3cm}{\ttfamily [private]}}\label{classimagepacket_ad215afe2a7c45c15e7b830b1feb3173b}
- store the image url / guarda el url de la imagen
-
- The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
- \item
- imagepacket.\+h\item
- imagepacket.\+cpp\end{DoxyCompactItemize}
|