\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking}{}\section{src.\+m.\+Parking.\+Parking Class Reference}
\label{classsrc_1_1m_1_1_parking_1_1_parking}\index{src.\+m.\+Parking.\+Parking@{src.\+m.\+Parking.\+Parking}}


Representation d\textquotesingle{}un parking de Dream\+Park.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_a3093b35a35a9b19a32a9c779f4c47b5b}{\+\_\+\+\_\+init\+\_\+\+\_\+}
\begin{DoxyCompactList}\small\item\em Constructeur du \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking}{Parking}. \end{DoxyCompactList}\item 
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_a9da9a365ee1aa296efebb5d256043f65}{}def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_a9da9a365ee1aa296efebb5d256043f65}{id} (self)\label{classsrc_1_1m_1_1_parking_1_1_parking_a9da9a365ee1aa296efebb5d256043f65}

\begin{DoxyCompactList}\small\item\em Propriete \+: id du \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking}{Parking}. \end{DoxyCompactList}\item 
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_ad87bb7f8ce705702443626149d7cd60a}{}def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_ad87bb7f8ce705702443626149d7cd60a}{nom} (self)\label{classsrc_1_1m_1_1_parking_1_1_parking_ad87bb7f8ce705702443626149d7cd60a}

\begin{DoxyCompactList}\small\item\em propriete \+: nom du \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking}{Parking} \end{DoxyCompactList}\item 
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_a1a0e40e838f99f2abac555ca3b4dab3a}{}def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_a1a0e40e838f99f2abac555ca3b4dab3a}{nb\+Places} (self)\label{classsrc_1_1m_1_1_parking_1_1_parking_a1a0e40e838f99f2abac555ca3b4dab3a}

\begin{DoxyCompactList}\small\item\em propriete \+: nombre de \hyperlink{classsrc_1_1m_1_1_parking_1_1_place}{Place} du \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking}{Parking} \end{DoxyCompactList}\item 
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_afa928173462cc7d6128181d3c445446a}{}def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_afa928173462cc7d6128181d3c445446a}{nb\+Places\+Libres\+Parking} (self)\label{classsrc_1_1m_1_1_parking_1_1_parking_afa928173462cc7d6128181d3c445446a}

\begin{DoxyCompactList}\small\item\em propriete \+: nombre de \hyperlink{classsrc_1_1m_1_1_parking_1_1_place}{Place} libres du \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking}{Parking} \end{DoxyCompactList}\item 
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_aee9f5bb8b8fa4217c75e014ce60803d6}{}def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_aee9f5bb8b8fa4217c75e014ce60803d6}{nb\+Super\+Abo} (self)\label{classsrc_1_1m_1_1_parking_1_1_parking_aee9f5bb8b8fa4217c75e014ce60803d6}

\begin{DoxyCompactList}\small\item\em propriete \+: nombre de \hyperlink{classsrc_1_1m_1_1_parking_1_1_place}{Place} super abo \end{DoxyCompactList}\item 
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_a20f4151d2ebe3cb2cdf4b00fee51b532}{}def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_a20f4151d2ebe3cb2cdf4b00fee51b532}{liste\+Type\+Place} (self)\label{classsrc_1_1m_1_1_parking_1_1_parking_a20f4151d2ebe3cb2cdf4b00fee51b532}

\begin{DoxyCompactList}\small\item\em propriete \+: liste\+Type\+Place \end{DoxyCompactList}\item 
def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_a0f6e0c9cec96bd35652e02be850a6be8}{recherche\+Place} (self, voiture)
\begin{DoxyCompactList}\small\item\em Recherche une \hyperlink{classsrc_1_1m_1_1_parking_1_1_place}{Place} pour une \hyperlink{namespacesrc_1_1m_1_1_voiture}{Voiture}. \end{DoxyCompactList}\item 
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_a8095d0bb7d88c30ab3a2eb7a4c024f31}{}def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_a8095d0bb7d88c30ab3a2eb7a4c024f31}{add\+Place\+Super\+Abo} (self)\label{classsrc_1_1m_1_1_parking_1_1_parking_a8095d0bb7d88c30ab3a2eb7a4c024f31}

\begin{DoxyCompactList}\small\item\em Ajout d\textquotesingle{}une place sur mesure pour super abo. \end{DoxyCompactList}\item 
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_aa34c32064d53687335b70fc954ab6558}{}def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_aa34c32064d53687335b70fc954ab6558}{\+\_\+\+\_\+str\+\_\+\+\_\+} (self)\label{classsrc_1_1m_1_1_parking_1_1_parking_aa34c32064d53687335b70fc954ab6558}

\begin{DoxyCompactList}\small\item\em Representation du \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking}{Parking} en chaine. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_adf138642cecd0e948a3ca99f76ef28d4}{get} (\hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_a9da9a365ee1aa296efebb5d256043f65}{id})
\begin{DoxyCompactList}\small\item\em Retourne un objet parking correspondant à l\textquotesingle{}id. \end{DoxyCompactList}\item 
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_a20514e00e41f94d3ae50367927196773}{}def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_a20514e00e41f94d3ae50367927196773}{get\+All\+Actif} ()\label{classsrc_1_1m_1_1_parking_1_1_parking_a20514e00e41f94d3ae50367927196773}

\begin{DoxyCompactList}\small\item\em Retourne tout les \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking}{Parking} actif present dans la bd. \end{DoxyCompactList}\item 
def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_a05def68d66bc3aafe9703cd4f58e7e24}{remove} (parking)
\begin{DoxyCompactList}\small\item\em Supprime un parking. \end{DoxyCompactList}\item 
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_a67e60987faa02c102aa53a9aab274bec}{}def \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking_a67e60987faa02c102aa53a9aab274bec}{remove\+All\+Ram} ()\label{classsrc_1_1m_1_1_parking_1_1_parking_a67e60987faa02c102aa53a9aab274bec}

\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{classsrc_1_1m_1_1_parking_1_1_parking_ad6f25d09f044a5edc8c59febf4cc2865}{}list {\bfseries parkings} = \mbox{[}$\,$\mbox{]}\label{classsrc_1_1m_1_1_parking_1_1_parking_ad6f25d09f044a5edc8c59febf4cc2865}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Representation d\textquotesingle{}un parking de Dream\+Park. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_a3093b35a35a9b19a32a9c779f4c47b5b}{}\index{src\+::m\+::\+Parking\+::\+Parking@{src\+::m\+::\+Parking\+::\+Parking}!\+\_\+\+\_\+init\+\_\+\+\_\+@{\+\_\+\+\_\+init\+\_\+\+\_\+}}
\index{\+\_\+\+\_\+init\+\_\+\+\_\+@{\+\_\+\+\_\+init\+\_\+\+\_\+}!src\+::m\+::\+Parking\+::\+Parking@{src\+::m\+::\+Parking\+::\+Parking}}
\subsubsection[{\+\_\+\+\_\+init\+\_\+\+\_\+}]{\setlength{\rightskip}{0pt plus 5cm}def src.\+m.\+Parking.\+Parking.\+\_\+\+\_\+init\+\_\+\+\_\+ (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{id, }
\item[{}]{nom = {\ttfamily None}, }
\item[{}]{liste\+Type\+Place = {\ttfamily None}}
\end{DoxyParamCaption}
)}\label{classsrc_1_1m_1_1_parking_1_1_parking_a3093b35a35a9b19a32a9c779f4c47b5b}


Constructeur du \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking}{Parking}. 


\begin{DoxyParams}{Parameters}
{\em id} & Si None \+: Cree un \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking}{Parking} dans la B\+D Sinon \+: tentative de récupération du \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking}{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{classsrc_1_1m_1_1_parking_1_1_type_place}{Type\+Place} du parking \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_adf138642cecd0e948a3ca99f76ef28d4}{}\index{src\+::m\+::\+Parking\+::\+Parking@{src\+::m\+::\+Parking\+::\+Parking}!get@{get}}
\index{get@{get}!src\+::m\+::\+Parking\+::\+Parking@{src\+::m\+::\+Parking\+::\+Parking}}
\subsubsection[{get}]{\setlength{\rightskip}{0pt plus 5cm}def src.\+m.\+Parking.\+Parking.\+get (
\begin{DoxyParamCaption}
\item[{}]{id}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{classsrc_1_1m_1_1_parking_1_1_parking_adf138642cecd0e948a3ca99f76ef28d4}


Retourne un objet parking correspondant à l\textquotesingle{}id. 


\begin{DoxyParams}{Parameters}
{\em id} & id du \hyperlink{classsrc_1_1m_1_1_parking_1_1_parking}{Parking} a retourner \\
\hline
\end{DoxyParams}
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_a0f6e0c9cec96bd35652e02be850a6be8}{}\index{src\+::m\+::\+Parking\+::\+Parking@{src\+::m\+::\+Parking\+::\+Parking}!recherche\+Place@{recherche\+Place}}
\index{recherche\+Place@{recherche\+Place}!src\+::m\+::\+Parking\+::\+Parking@{src\+::m\+::\+Parking\+::\+Parking}}
\subsubsection[{recherche\+Place}]{\setlength{\rightskip}{0pt plus 5cm}def src.\+m.\+Parking.\+Parking.\+recherche\+Place (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{voiture}
\end{DoxyParamCaption}
)}\label{classsrc_1_1m_1_1_parking_1_1_parking_a0f6e0c9cec96bd35652e02be850a6be8}


Recherche une \hyperlink{classsrc_1_1m_1_1_parking_1_1_place}{Place} pour une \hyperlink{namespacesrc_1_1m_1_1_voiture}{Voiture}. 


\begin{DoxyParams}{Parameters}
{\em voiture} & \hyperlink{namespacesrc_1_1m_1_1_voiture}{Voiture} pour laquel on recherche la \hyperlink{classsrc_1_1m_1_1_parking_1_1_place}{Place} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\hyperlink{classsrc_1_1m_1_1_parking_1_1_place}{Place} Si touvé \+: \hyperlink{classsrc_1_1m_1_1_parking_1_1_place}{Place} sinon \+: None 
\end{DoxyReturn}
\hypertarget{classsrc_1_1m_1_1_parking_1_1_parking_a05def68d66bc3aafe9703cd4f58e7e24}{}\index{src\+::m\+::\+Parking\+::\+Parking@{src\+::m\+::\+Parking\+::\+Parking}!remove@{remove}}
\index{remove@{remove}!src\+::m\+::\+Parking\+::\+Parking@{src\+::m\+::\+Parking\+::\+Parking}}
\subsubsection[{remove}]{\setlength{\rightskip}{0pt plus 5cm}def src.\+m.\+Parking.\+Parking.\+remove (
\begin{DoxyParamCaption}
\item[{}]{parking}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{classsrc_1_1m_1_1_parking_1_1_parking_a05def68d66bc3aafe9703cd4f58e7e24}


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}
