Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Bag Class Reference

#include </home/clem/local/src/opie/noncore/games/wordgame/wordgame.h>

List of all members.

Public Member Functions

 Bag ()
void readConfig (Config &)
void writeConfig (Config &)
void add (const Tile &)
bool isEmpty () const
Tile takeRandom ()

Private Attributes

QList< Tiletiles


Constructor & Destructor Documentation

Bag::Bag  ) 
 

Definition at line 1396 of file wordgame.cpp.

References tiles, and TRUE.


Member Function Documentation

void Bag::add const Tile  ) 
 

Definition at line 1417 of file wordgame.cpp.

References tiles.

Referenced by WordGame::loadRules(), and readConfig().

bool Bag::isEmpty  )  const [inline]
 

Definition at line 90 of file wordgame.h.

References tiles.

Referenced by WordGame::refillRack().

void Bag::readConfig Config  ) 
 

Definition at line 1409 of file wordgame.cpp.

References add(), QValueList< T >::begin(), QValueList< T >::end(), Config::readListEntry(), t, and tiles.

Referenced by WordGame::readConfig().

Tile Bag::takeRandom  ) 
 

Definition at line 1422 of file wordgame.cpp.

References tiles.

Referenced by WordGame::refillRack().

void Bag::writeConfig Config  ) 
 

Definition at line 1401 of file wordgame.cpp.

References QValueList< T >::append(), t, and tiles.

Referenced by WordGame::writeConfig().


Member Data Documentation

QList<Tile> Bag::tiles [private]
 

Definition at line 93 of file wordgame.h.

Referenced by add(), Bag(), isEmpty(), readConfig(), takeRandom(), and writeConfig().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:27:02 2005 for OPIE by  doxygen 1.4.2