Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 82bf76c75b44c3e54c5dc9d8c4b11ab5 > files > 268

cgicc-3.2.8-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
   "http://www.w3.org/TR/REC-html40/loose.dtd">

<html lang="en" dir="LTR">

<head>
  <!-- $Id: header.html,v 1.5 2004/06/12 01:58:25 sbooth Exp $ -->
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <title>cgicc: datasplayer Struct Reference</title>
  <link rev="made" href="mailto:bug-cgicc@gnu.org" />
  <link href="doxygen.css" rel="stylesheet" type="text/css" />
  <link href="cgicc-doc.css" rel="stylesheet" type="text/css" />
</head>

<body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>datasplayer Struct Reference</h1><!-- doxytag: class="datasplayer" -->A data model for the player.  
<a href="#_details">More...</a>
<p>

<p>
<a href="structdatasplayer-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">vector&lt; string &gt; *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdatasplayer.html#81ee42e8de1e070ba118573d8c9a83b3">cardsList</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A list of the cards.  <a href="#81ee42e8de1e070ba118573d8c9a83b3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdatasplayer.html#4c1f0233292812bed5d8b4c7b1aa11d6">identifiant</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the identifiant of the player  <a href="#4c1f0233292812bed5d8b4c7b1aa11d6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdatasplayer.html#ee63803ba9538b031f7b145645d19de6">isPlaying</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If the player is playing the value is at true.  <a href="#ee63803ba9538b031f7b145645d19de6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdatasplayer.html#ac5ec8bb7f05b86feb0005f470571eee">points</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the score of the player  <a href="#ac5ec8bb7f05b86feb0005f470571eee"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structdatasplayer.html#1dd4d308e7263096cb65ac2994fd8216">actualCard</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The actual played card.  <a href="#1dd4d308e7263096cb65ac2994fd8216"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A data model for the player. 
<p>
The model can give informations on the player as the id , if is currently have the game turn , the points the list of cards and the actual played card 
<p>Definition at line <a class="el" href="cardgame_8cpp_source.html#l00061">61</a> of file <a class="el" href="cardgame_8cpp_source.html">cardgame.cpp</a>.</p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="1dd4d308e7263096cb65ac2994fd8216"></a><!-- doxytag: member="datasplayer::actualCard" ref="1dd4d308e7263096cb65ac2994fd8216" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="structdatasplayer.html#1dd4d308e7263096cb65ac2994fd8216">datasplayer::actualCard</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The actual played card. 
<p>

<p>Definition at line <a class="el" href="cardgame_8cpp_source.html#l00087">87</a> of file <a class="el" href="cardgame_8cpp_source.html">cardgame.cpp</a>.</p>

<p>Referenced by <a class="el" href="cardgame_8cpp_source.html#l00851">CardGameTools::createGame()</a>, <a class="el" href="cardgame_8cpp_source.html#l00324">CardGameTools::getGame()</a>, and <a class="el" href="cardgame_8cpp_source.html#l00598">CardGameTools::writeGame()</a>.</p>

</div>
</div><p>
<a class="anchor" name="81ee42e8de1e070ba118573d8c9a83b3"></a><!-- doxytag: member="datasplayer::cardsList" ref="81ee42e8de1e070ba118573d8c9a83b3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vector&lt;string &gt;* <a class="el" href="structdatasplayer.html#81ee42e8de1e070ba118573d8c9a83b3">datasplayer::cardsList</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A list of the cards. 
<p>
Contain all the cards of the player in the game. 
<p>Definition at line <a class="el" href="cardgame_8cpp_source.html#l00067">67</a> of file <a class="el" href="cardgame_8cpp_source.html">cardgame.cpp</a>.</p>

<p>Referenced by <a class="el" href="cardgame_8cpp_source.html#l00168">CardGameTools::convertStringToStuct()</a>, <a class="el" href="cardgame_8cpp_source.html#l00134">CardGameTools::convertStructToString()</a>, <a class="el" href="cardgame_8cpp_source.html#l01044">CardGameTools::drawPlayerCards()</a>, <a class="el" href="cardgame_8cpp_source.html#l01275">CardGameTools::gameRules()</a>, <a class="el" href="cardgame_8cpp_source.html#l00324">CardGameTools::getGame()</a>, and <a class="el" href="cardgame_8cpp_source.html#l00598">CardGameTools::writeGame()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4c1f0233292812bed5d8b4c7b1aa11d6"></a><!-- doxytag: member="datasplayer::identifiant" ref="4c1f0233292812bed5d8b4c7b1aa11d6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="structdatasplayer.html#4c1f0233292812bed5d8b4c7b1aa11d6">datasplayer::identifiant</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
the identifiant of the player 
<p>

<p>Definition at line <a class="el" href="cardgame_8cpp_source.html#l00072">72</a> of file <a class="el" href="cardgame_8cpp_source.html">cardgame.cpp</a>.</p>

<p>Referenced by <a class="el" href="cardgame_8cpp_source.html#l00168">CardGameTools::convertStringToStuct()</a>, <a class="el" href="cardgame_8cpp_source.html#l00134">CardGameTools::convertStructToString()</a>, <a class="el" href="cardgame_8cpp_source.html#l00851">CardGameTools::createGame()</a>, <a class="el" href="cardgame_8cpp_source.html#l00971">CardGameTools::drawInfos()</a>, <a class="el" href="cardgame_8cpp_source.html#l01275">CardGameTools::gameRules()</a>, <a class="el" href="cardgame_8cpp_source.html#l00324">CardGameTools::getGame()</a>, <a class="el" href="cardgame_8cpp_source.html#l01479">main()</a>, <a class="el" href="cardgame_8cpp_source.html#l01080">CardGameTools::playACard()</a>, <a class="el" href="cardgame_8cpp_source.html#l01164">CardGameTools::testCard()</a>, <a class="el" href="cardgame_8cpp_source.html#l01129">CardGameTools::turnPlayers()</a>, <a class="el" href="cardgame_8cpp_source.html#l00598">CardGameTools::writeGame()</a>, and <a class="el" href="cardgame_8cpp_source.html#l00931">CardGameTools::writeWinner()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ee63803ba9538b031f7b145645d19de6"></a><!-- doxytag: member="datasplayer::isPlaying" ref="ee63803ba9538b031f7b145645d19de6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structdatasplayer.html#ee63803ba9538b031f7b145645d19de6">datasplayer::isPlaying</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If the player is playing the value is at true. 
<p>

<p>Definition at line <a class="el" href="cardgame_8cpp_source.html#l00077">77</a> of file <a class="el" href="cardgame_8cpp_source.html">cardgame.cpp</a>.</p>

<p>Referenced by <a class="el" href="cardgame_8cpp_source.html#l00851">CardGameTools::createGame()</a>, <a class="el" href="cardgame_8cpp_source.html#l01044">CardGameTools::drawPlayerCards()</a>, <a class="el" href="cardgame_8cpp_source.html#l01275">CardGameTools::gameRules()</a>, <a class="el" href="cardgame_8cpp_source.html#l00324">CardGameTools::getGame()</a>, <a class="el" href="cardgame_8cpp_source.html#l01164">CardGameTools::testCard()</a>, <a class="el" href="cardgame_8cpp_source.html#l01129">CardGameTools::turnPlayers()</a>, and <a class="el" href="cardgame_8cpp_source.html#l00598">CardGameTools::writeGame()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ac5ec8bb7f05b86feb0005f470571eee"></a><!-- doxytag: member="datasplayer::points" ref="ac5ec8bb7f05b86feb0005f470571eee" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structdatasplayer.html#ac5ec8bb7f05b86feb0005f470571eee">datasplayer::points</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
the score of the player 
<p>

<p>Definition at line <a class="el" href="cardgame_8cpp_source.html#l00082">82</a> of file <a class="el" href="cardgame_8cpp_source.html">cardgame.cpp</a>.</p>

<p>Referenced by <a class="el" href="cardgame_8cpp_source.html#l00851">CardGameTools::createGame()</a>, <a class="el" href="cardgame_8cpp_source.html#l01275">CardGameTools::gameRules()</a>, <a class="el" href="cardgame_8cpp_source.html#l00324">CardGameTools::getGame()</a>, and <a class="el" href="cardgame_8cpp_source.html#l00598">CardGameTools::writeGame()</a>.</p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="cardgame_8cpp_source.html">cardgame.cpp</a></ul>
</div>
<!-- $Id: footer.html,v 1.7 2004/06/12 01:58:25 sbooth Exp $ -->

<hr>

<address><small>
<a href="http://www.cgicc.org">GNU cgicc</a> - A C++ class library for
writing CGI applications<br />
Copyright &copy; 1996 - 2004 
<a href="mailto:sboothATgnuDOTorg">Stephen F. Booth</a><br />
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front Cover Texts, and with no Back-Cover
Texts.<br />
Documentation generated Tue Jun 9 15:03:49 2009 for cgicc by
<a HREF="http://www.doxygen.org/index.html">doxygen</a> 1.5.9
</small></address>

</body>

</html>