160 lines
9.2 KiB
TeX
160 lines
9.2 KiB
TeX
\hypertarget{classm_1_1_parking_1_1_parking}{}\section{m.\+Parking.\+Parking Class Reference}
|
|
\label{classm_1_1_parking_1_1_parking}\index{m.\+Parking.\+Parking@{m.\+Parking.\+Parking}}
|
|
|
|
|
|
Representation d\textquotesingle{}un parking de Dream\+Park.
|
|
|
|
|
|
\subsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
def \hyperlink{classm_1_1_parking_1_1_parking_a39a25b5016679a7000c763820bf9860f}{\+\_\+\+\_\+init\+\_\+\+\_\+}
|
|
\begin{DoxyCompactList}\small\item\em Constructeur du \hyperlink{classm_1_1_parking_1_1_parking}{Parking}. \end{DoxyCompactList}\item
|
|
\hypertarget{classm_1_1_parking_1_1_parking_a6dbfe7e9f3885937358ba7d4974b9f9e}{}def \hyperlink{classm_1_1_parking_1_1_parking_a6dbfe7e9f3885937358ba7d4974b9f9e}{id} (self)\label{classm_1_1_parking_1_1_parking_a6dbfe7e9f3885937358ba7d4974b9f9e}
|
|
|
|
\begin{DoxyCompactList}\small\item\em Propriete \+: id du parking. \end{DoxyCompactList}\item
|
|
\hypertarget{classm_1_1_parking_1_1_parking_a6ab724faf1477a33292df4b3d946a919}{}def \hyperlink{classm_1_1_parking_1_1_parking_a6ab724faf1477a33292df4b3d946a919}{nom} (self)\label{classm_1_1_parking_1_1_parking_a6ab724faf1477a33292df4b3d946a919}
|
|
|
|
\begin{DoxyCompactList}\small\item\em propriete \+: nom du parking \end{DoxyCompactList}\item
|
|
\hypertarget{classm_1_1_parking_1_1_parking_a7bd9722f226bf89dc8c9870e1a6e9412}{}def \hyperlink{classm_1_1_parking_1_1_parking_a7bd9722f226bf89dc8c9870e1a6e9412}{nb\+Places} (self)\label{classm_1_1_parking_1_1_parking_a7bd9722f226bf89dc8c9870e1a6e9412}
|
|
|
|
\begin{DoxyCompactList}\small\item\em propriete \+: nombre de \hyperlink{classm_1_1_parking_1_1_place}{Place} du parking \end{DoxyCompactList}\item
|
|
\hypertarget{classm_1_1_parking_1_1_parking_af09ecd0e5352674b92a04a3848c0fa74}{}def \hyperlink{classm_1_1_parking_1_1_parking_af09ecd0e5352674b92a04a3848c0fa74}{nb\+Places\+Libres\+Parking} (self)\label{classm_1_1_parking_1_1_parking_af09ecd0e5352674b92a04a3848c0fa74}
|
|
|
|
\begin{DoxyCompactList}\small\item\em propriete \+: nombre de \hyperlink{classm_1_1_parking_1_1_place}{Place} libres du paking \end{DoxyCompactList}\item
|
|
\hypertarget{classm_1_1_parking_1_1_parking_a70b63236ad1081f33cf7f69e13479f36}{}def \hyperlink{classm_1_1_parking_1_1_parking_a70b63236ad1081f33cf7f69e13479f36}{nb\+Super\+Abo} (self)\label{classm_1_1_parking_1_1_parking_a70b63236ad1081f33cf7f69e13479f36}
|
|
|
|
\begin{DoxyCompactList}\small\item\em propriete \+: nombre de \hyperlink{classm_1_1_parking_1_1_place}{Place} super abo \end{DoxyCompactList}\item
|
|
def \hyperlink{classm_1_1_parking_1_1_parking_aba1f5bbbeab7bfe7720b6945166888cb}{recherche\+Place} (self, voiture)
|
|
\begin{DoxyCompactList}\small\item\em Recherche une place pour une voiture. \end{DoxyCompactList}\item
|
|
def \hyperlink{classm_1_1_parking_1_1_parking_adce5bb85cff9428cfdc94b55fdc513f7}{add\+Place\+Super\+Abo} (self, parking)
|
|
\begin{DoxyCompactList}\small\item\em Ajout d\textquotesingle{}une place surmesure pour super abo. \end{DoxyCompactList}\item
|
|
\hypertarget{classm_1_1_parking_1_1_parking_a2a8352c168ec03531e9fb74fc640e5ac}{}def \hyperlink{classm_1_1_parking_1_1_parking_a2a8352c168ec03531e9fb74fc640e5ac}{\+\_\+\+\_\+str\+\_\+\+\_\+} (self)\label{classm_1_1_parking_1_1_parking_a2a8352c168ec03531e9fb74fc640e5ac}
|
|
|
|
\begin{DoxyCompactList}\small\item\em Representation du parking en chaine. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\subsection*{Static Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
def \hyperlink{classm_1_1_parking_1_1_parking_ab1397f69069537d0f033d1525b6ddf03}{get} (\hyperlink{classm_1_1_parking_1_1_parking_a6dbfe7e9f3885937358ba7d4974b9f9e}{id})
|
|
\begin{DoxyCompactList}\small\item\em Retourne un objet parking correspondant à id. \end{DoxyCompactList}\item
|
|
\hypertarget{classm_1_1_parking_1_1_parking_af31c6866459b473f90eb62c98b7c3579}{}def \hyperlink{classm_1_1_parking_1_1_parking_af31c6866459b473f90eb62c98b7c3579}{get\+All\+Actif} ()\label{classm_1_1_parking_1_1_parking_af31c6866459b473f90eb62c98b7c3579}
|
|
|
|
\begin{DoxyCompactList}\small\item\em Retourne tout les parking actif present dans la bd. \end{DoxyCompactList}\item
|
|
def \hyperlink{classm_1_1_parking_1_1_parking_abd2a53415c822153a8e7a5e189aecbfa}{remove} (parking)
|
|
\begin{DoxyCompactList}\small\item\em Supprime un parking. \end{DoxyCompactList}\item
|
|
\hypertarget{classm_1_1_parking_1_1_parking_a3c77d86df2da860ca55b1f6400dee3ce}{}def \hyperlink{classm_1_1_parking_1_1_parking_a3c77d86df2da860ca55b1f6400dee3ce}{remove\+All\+Ram} ()\label{classm_1_1_parking_1_1_parking_a3c77d86df2da860ca55b1f6400dee3ce}
|
|
|
|
\begin{DoxyCompactList}\small\item\em Supprime les parkings present dans la mémoire vive (pas dans la bd) \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\subsection*{Static Public Attributes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\hypertarget{classm_1_1_parking_1_1_parking_a166f6b42629968c0d1185fd23e7682a5}{}list {\bfseries parkings} = \mbox{[}$\,$\mbox{]}\label{classm_1_1_parking_1_1_parking_a166f6b42629968c0d1185fd23e7682a5}
|
|
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
Representation d\textquotesingle{}un parking de Dream\+Park.
|
|
|
|
\subsection{Constructor \& Destructor Documentation}
|
|
\hypertarget{classm_1_1_parking_1_1_parking_a39a25b5016679a7000c763820bf9860f}{}\index{m\+::\+Parking\+::\+Parking@{m\+::\+Parking\+::\+Parking}!\+\_\+\+\_\+init\+\_\+\+\_\+@{\+\_\+\+\_\+init\+\_\+\+\_\+}}
|
|
\index{\+\_\+\+\_\+init\+\_\+\+\_\+@{\+\_\+\+\_\+init\+\_\+\+\_\+}!m\+::\+Parking\+::\+Parking@{m\+::\+Parking\+::\+Parking}}
|
|
\subsubsection[{\+\_\+\+\_\+init\+\_\+\+\_\+}]{\setlength{\rightskip}{0pt plus 5cm}def m.\+Parking.\+Parking.\+\_\+\+\_\+init\+\_\+\+\_\+ (
|
|
\begin{DoxyParamCaption}
|
|
\item[{}]{self, }
|
|
\item[{}]{id, }
|
|
\item[{}]{nom = {\ttfamily None}, }
|
|
\item[{}]{liste\+Type\+Place = {\ttfamily None}}
|
|
\end{DoxyParamCaption}
|
|
)}\label{classm_1_1_parking_1_1_parking_a39a25b5016679a7000c763820bf9860f}
|
|
|
|
|
|
Constructeur du \hyperlink{classm_1_1_parking_1_1_parking}{Parking}.
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em id} & Si None \+: Creer un parking dans la B\+D Sinon \+: tentative de récupération du parking avec cet id dans la bd \\
|
|
\hline
|
|
{\em nom} & \+: Si creation nom du parking \\
|
|
\hline
|
|
{\em liste\+Type\+Place} & \+: Si creation Liste des \hyperlink{classm_1_1_parking_1_1_type_place}{Type\+Place} du parking \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
\subsection{Member Function Documentation}
|
|
\hypertarget{classm_1_1_parking_1_1_parking_adce5bb85cff9428cfdc94b55fdc513f7}{}\index{m\+::\+Parking\+::\+Parking@{m\+::\+Parking\+::\+Parking}!add\+Place\+Super\+Abo@{add\+Place\+Super\+Abo}}
|
|
\index{add\+Place\+Super\+Abo@{add\+Place\+Super\+Abo}!m\+::\+Parking\+::\+Parking@{m\+::\+Parking\+::\+Parking}}
|
|
\subsubsection[{add\+Place\+Super\+Abo}]{\setlength{\rightskip}{0pt plus 5cm}def m.\+Parking.\+Parking.\+add\+Place\+Super\+Abo (
|
|
\begin{DoxyParamCaption}
|
|
\item[{}]{self, }
|
|
\item[{}]{parking}
|
|
\end{DoxyParamCaption}
|
|
)}\label{classm_1_1_parking_1_1_parking_adce5bb85cff9428cfdc94b55fdc513f7}
|
|
|
|
|
|
Ajout d\textquotesingle{}une place surmesure pour super abo.
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em parking} & le parking ou il faut ajouter la place \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\hypertarget{classm_1_1_parking_1_1_parking_ab1397f69069537d0f033d1525b6ddf03}{}\index{m\+::\+Parking\+::\+Parking@{m\+::\+Parking\+::\+Parking}!get@{get}}
|
|
\index{get@{get}!m\+::\+Parking\+::\+Parking@{m\+::\+Parking\+::\+Parking}}
|
|
\subsubsection[{get}]{\setlength{\rightskip}{0pt plus 5cm}def m.\+Parking.\+Parking.\+get (
|
|
\begin{DoxyParamCaption}
|
|
\item[{}]{id}
|
|
\end{DoxyParamCaption}
|
|
)\hspace{0.3cm}{\ttfamily [static]}}\label{classm_1_1_parking_1_1_parking_ab1397f69069537d0f033d1525b6ddf03}
|
|
|
|
|
|
Retourne un objet parking correspondant à id.
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em id} & id u parking a retourner \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\hypertarget{classm_1_1_parking_1_1_parking_aba1f5bbbeab7bfe7720b6945166888cb}{}\index{m\+::\+Parking\+::\+Parking@{m\+::\+Parking\+::\+Parking}!recherche\+Place@{recherche\+Place}}
|
|
\index{recherche\+Place@{recherche\+Place}!m\+::\+Parking\+::\+Parking@{m\+::\+Parking\+::\+Parking}}
|
|
\subsubsection[{recherche\+Place}]{\setlength{\rightskip}{0pt plus 5cm}def m.\+Parking.\+Parking.\+recherche\+Place (
|
|
\begin{DoxyParamCaption}
|
|
\item[{}]{self, }
|
|
\item[{}]{voiture}
|
|
\end{DoxyParamCaption}
|
|
)}\label{classm_1_1_parking_1_1_parking_aba1f5bbbeab7bfe7720b6945166888cb}
|
|
|
|
|
|
Recherche une place pour une voiture.
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em voiture} & voiture pour laquel on recherche la place \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Returns}
|
|
\hyperlink{classm_1_1_parking_1_1_place}{Place} Si touvé \+: \hyperlink{classm_1_1_parking_1_1_place}{Place} sinon \+: None
|
|
\end{DoxyReturn}
|
|
\hypertarget{classm_1_1_parking_1_1_parking_abd2a53415c822153a8e7a5e189aecbfa}{}\index{m\+::\+Parking\+::\+Parking@{m\+::\+Parking\+::\+Parking}!remove@{remove}}
|
|
\index{remove@{remove}!m\+::\+Parking\+::\+Parking@{m\+::\+Parking\+::\+Parking}}
|
|
\subsubsection[{remove}]{\setlength{\rightskip}{0pt plus 5cm}def m.\+Parking.\+Parking.\+remove (
|
|
\begin{DoxyParamCaption}
|
|
\item[{}]{parking}
|
|
\end{DoxyParamCaption}
|
|
)\hspace{0.3cm}{\ttfamily [static]}}\label{classm_1_1_parking_1_1_parking_abd2a53415c822153a8e7a5e189aecbfa}
|
|
|
|
|
|
Supprime un parking.
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em parking} & L\textquotesingle{}objet parking a supprimer \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
src/m/Parking.\+py\end{DoxyCompactItemize}
|