294 lines
15 KiB
HTML
294 lines
15 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||
|
<meta name="generator" content="Doxygen 1.8.9.1"/>
|
||
|
<title>Dream Park: m.Client.Client Class Reference</title>
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="jquery.js"></script>
|
||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="resize.js"></script>
|
||
|
<script type="text/javascript" src="navtreedata.js"></script>
|
||
|
<script type="text/javascript" src="navtree.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(initResizable);
|
||
|
$(window).load(resizeHeight);
|
||
|
</script>
|
||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
||
|
<script type="text/javascript" src="search/search.js"></script>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function() { init_search(); });
|
||
|
</script>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td style="padding-left: 0.5em;">
|
||
|
<div id="projectname">Dream Park
|
||
|
 <span id="projectnumber">0.1</span>
|
||
|
</div>
|
||
|
<div id="projectbrief">Gestionnaire de parking Dream Park</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<!-- end header part -->
|
||
|
<!-- Generated by Doxygen 1.8.9.1 -->
|
||
|
<script type="text/javascript">
|
||
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||
|
</script>
|
||
|
<div id="navrow1" class="tabs">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li><a href="namespaces.html"><span>Packages</span></a></li>
|
||
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
||
|
<li>
|
||
|
<div id="MSearchBox" class="MSearchBoxInactive">
|
||
|
<span class="left">
|
||
|
<img id="MSearchSelect" src="search/mag_sel.png"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
alt=""/>
|
||
|
<input type="text" id="MSearchField" value="Search" accesskey="S"
|
||
|
onfocus="searchBox.OnSearchFieldFocus(true)"
|
||
|
onblur="searchBox.OnSearchFieldFocus(false)"
|
||
|
onkeyup="searchBox.OnSearchFieldChange(event)"/>
|
||
|
</span><span class="right">
|
||
|
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
|
||
|
</span>
|
||
|
</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div id="navrow2" class="tabs2">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
||
|
<li><a href="classes.html"><span>Class Index</span></a></li>
|
||
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
||
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div><!-- top -->
|
||
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||
|
<div id="nav-tree">
|
||
|
<div id="nav-tree-contents">
|
||
|
<div id="nav-sync" class="sync"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div id="splitbar" style="-moz-user-select:none;"
|
||
|
class="ui-resizable-handle">
|
||
|
</div>
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function(){initNavTree('classm_1_1_client_1_1_client.html','');});
|
||
|
</script>
|
||
|
<div id="doc-content">
|
||
|
<!-- window showing the filter options -->
|
||
|
<div id="MSearchSelectWindow"
|
||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||
|
</div>
|
||
|
|
||
|
<!-- iframe showing the search results (closed by default) -->
|
||
|
<div id="MSearchResultsWindow">
|
||
|
<iframe src="javascript:void(0)" frameborder="0"
|
||
|
name="MSearchResults" id="MSearchResults">
|
||
|
</iframe>
|
||
|
</div>
|
||
|
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="classm_1_1_client_1_1_client-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">m.Client.Client Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Représentation d'un client de DreamPark.
|
||
|
<a href="classm_1_1_client_1_1_client.html#details">More...</a></p>
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||
|
Public Member Functions</h2></td></tr>
|
||
|
<tr class="memitem:a5d4ee9add0ad8db1294691e5908d8e0a"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classm_1_1_client_1_1_client.html#a5d4ee9add0ad8db1294691e5908d8e0a">__init__</a></td></tr>
|
||
|
<tr class="memdesc:a5d4ee9add0ad8db1294691e5908d8e0a"><td class="mdescLeft"> </td><td class="mdescRight">Contsructeur du client. <a href="#a5d4ee9add0ad8db1294691e5908d8e0a">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a5d4ee9add0ad8db1294691e5908d8e0a"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae3da82c785429201360e19b757630d19"><td class="memItemLeft" align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="classm_1_1_client_1_1_client.html#ae3da82c785429201360e19b757630d19">maj</a> (self, <a class="el" href="classm_1_1_client_1_1_client.html#a6e88f5232df3d822d9372b8917b80764">nom</a>, <a class="el" href="classm_1_1_client_1_1_client.html#a8a9d3e3c4198c1290ccf5596c6bfcb8d">prenom</a>, <a class="el" href="classm_1_1_client_1_1_client.html#acfc771bedeb851068a978bacac44eb3e">cb</a>, typeAbonnement)</td></tr>
|
||
|
<tr class="memdesc:ae3da82c785429201360e19b757630d19"><td class="mdescLeft"> </td><td class="mdescRight">Mise a jour du client. <a href="#ae3da82c785429201360e19b757630d19">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ae3da82c785429201360e19b757630d19"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a488f458730b69ae4df43b8501b4ea6cf"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a488f458730b69ae4df43b8501b4ea6cf"></a>
|
||
|
def </td><td class="memItemRight" valign="bottom"><a class="el" href="classm_1_1_client_1_1_client.html#a488f458730b69ae4df43b8501b4ea6cf">desabo</a> (self)</td></tr>
|
||
|
<tr class="memdesc:a488f458730b69ae4df43b8501b4ea6cf"><td class="mdescLeft"> </td><td class="mdescRight">Desabonne le client en le supprimant. <br /></td></tr>
|
||
|
<tr class="separator:a488f458730b69ae4df43b8501b4ea6cf"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a8a9d3e3c4198c1290ccf5596c6bfcb8d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8a9d3e3c4198c1290ccf5596c6bfcb8d"></a>
|
||
|
def </td><td class="memItemRight" valign="bottom"><a class="el" href="classm_1_1_client_1_1_client.html#a8a9d3e3c4198c1290ccf5596c6bfcb8d">prenom</a> (self)</td></tr>
|
||
|
<tr class="memdesc:a8a9d3e3c4198c1290ccf5596c6bfcb8d"><td class="mdescLeft"> </td><td class="mdescRight">Propriete : prenom du client. <br /></td></tr>
|
||
|
<tr class="separator:a8a9d3e3c4198c1290ccf5596c6bfcb8d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6e88f5232df3d822d9372b8917b80764"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e88f5232df3d822d9372b8917b80764"></a>
|
||
|
def </td><td class="memItemRight" valign="bottom"><a class="el" href="classm_1_1_client_1_1_client.html#a6e88f5232df3d822d9372b8917b80764">nom</a> (self)</td></tr>
|
||
|
<tr class="memdesc:a6e88f5232df3d822d9372b8917b80764"><td class="mdescLeft"> </td><td class="mdescRight">Propriete : nom du client. <br /></td></tr>
|
||
|
<tr class="separator:a6e88f5232df3d822d9372b8917b80764"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a75b4707b86a6aef8fe5db181ce21bc4f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75b4707b86a6aef8fe5db181ce21bc4f"></a>
|
||
|
def </td><td class="memItemRight" valign="bottom"><a class="el" href="classm_1_1_client_1_1_client.html#a75b4707b86a6aef8fe5db181ce21bc4f">id</a> (self)</td></tr>
|
||
|
<tr class="memdesc:a75b4707b86a6aef8fe5db181ce21bc4f"><td class="mdescLeft"> </td><td class="mdescRight">Propriete : id du client. <br /></td></tr>
|
||
|
<tr class="separator:a75b4707b86a6aef8fe5db181ce21bc4f"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:acfc771bedeb851068a978bacac44eb3e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acfc771bedeb851068a978bacac44eb3e"></a>
|
||
|
def </td><td class="memItemRight" valign="bottom"><a class="el" href="classm_1_1_client_1_1_client.html#acfc771bedeb851068a978bacac44eb3e">cb</a> (self)</td></tr>
|
||
|
<tr class="memdesc:acfc771bedeb851068a978bacac44eb3e"><td class="mdescLeft"> </td><td class="mdescRight">Propriete : cb du client. <br /></td></tr>
|
||
|
<tr class="separator:acfc771bedeb851068a978bacac44eb3e"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a20dce831dce82f76ef3902b72a732717"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20dce831dce82f76ef3902b72a732717"></a>
|
||
|
def </td><td class="memItemRight" valign="bottom"><a class="el" href="classm_1_1_client_1_1_client.html#a20dce831dce82f76ef3902b72a732717">abonnement</a> (self)</td></tr>
|
||
|
<tr class="memdesc:a20dce831dce82f76ef3902b72a732717"><td class="mdescLeft"> </td><td class="mdescRight">Propriete : abonnement du client. <br /></td></tr>
|
||
|
<tr class="separator:a20dce831dce82f76ef3902b72a732717"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a27aa0692667670744df6c39d262507a4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27aa0692667670744df6c39d262507a4"></a>
|
||
|
def </td><td class="memItemRight" valign="bottom"><a class="el" href="classm_1_1_client_1_1_client.html#a27aa0692667670744df6c39d262507a4">__str__</a> (self)</td></tr>
|
||
|
<tr class="memdesc:a27aa0692667670744df6c39d262507a4"><td class="mdescLeft"> </td><td class="mdescRight">Representation du client en chaine. <br /></td></tr>
|
||
|
<tr class="separator:a27aa0692667670744df6c39d262507a4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Représentation d'un client de DreamPark. </p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a class="anchor" id="a5d4ee9add0ad8db1294691e5908d8e0a"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">def m.Client.Client.__init__ </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname"><em>self</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname"><em>id</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname"><em>nom</em> = <code>None</code>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname"><em>prenom</em> = <code>None</code>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname"><em>cb</em> = <code>None</code>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname"><em>typeAbonnement</em> = <code>None</code> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Contsructeur du client. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">id</td><td>Si None -> Création du client dans la bd a l'aide des autres parametres. Sinon tentative de récupération du client avec cet id dans la bd </td></tr>
|
||
|
<tr><td class="paramname">nom</td><td>nom du client si creation </td></tr>
|
||
|
<tr><td class="paramname">prenom</td><td>prenom du client si creation </td></tr>
|
||
|
<tr><td class="paramname">cb</td><td>cb du client si creation </td></tr>
|
||
|
<tr><td class="paramname">typeAbonnement</td><td>typeabonnement du client si creation </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a class="anchor" id="ae3da82c785429201360e19b757630d19"></a>
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">def m.Client.Client.maj </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname"><em>self</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname"><em>nom</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname"><em>prenom</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname"><em>cb</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype"> </td>
|
||
|
<td class="paramname"><em>typeAbonnement</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Mise a jour du client. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">nom</td><td>nouveau nom </td></tr>
|
||
|
<tr><td class="paramname">prenom</td><td>nouveau prenom </td></tr>
|
||
|
<tr><td class="paramname">cb</td><td>nouveau nom </td></tr>
|
||
|
<tr><td class="paramname">typeAbonnement</td><td>nouveau nom </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
||
|
<li>src/m/Client.py</li>
|
||
|
</ul>
|
||
|
</div><!-- contents -->
|
||
|
</div><!-- doc-content -->
|
||
|
<!-- start footer part -->
|
||
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||
|
<ul>
|
||
|
<li class="navelem"><b>m</b></li><li class="navelem"><a class="el" href="namespacem_1_1_client.html">Client</a></li><li class="navelem"><a class="el" href="classm_1_1_client_1_1_client.html">Client</a></li>
|
||
|
<li class="footer">Generated on Thu Feb 5 2015 11:27:05 for Dream Park by
|
||
|
<a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|