Picks Class Reference

#include <picks.h>

List of all members.

Public Types

enum  Round {
  SIXTEEN, EIGHT, QUARTER, HALF,
  FINAL
}

Public Member Functions

 Picks (void)
 Picks (int numTeams)
 Picks (int numTeams, QVector< Team * > teams)
 ~Picks (void)
Round getPickForTeam (int teamId)
bool setPickForTeam (int teamId, Round round)

Private Member Functions

bool checkCorrectPicks (int teamId)
void init (int numTeams)

Private Attributes

QVector< Team * > teams
Round minRound
bool teamsKnown

Detailed Description

Definition at line 7 of file picks.h.


Member Enumeration Documentation

Enumerator:
SIXTEEN 
EIGHT 
QUARTER 
HALF 
FINAL 

Definition at line 14 of file picks.h.


Constructor & Destructor Documentation

Picks::Picks ( void   ) 

Definition at line 3 of file picks.cpp.

Picks::Picks ( int  numTeams  ) 

Definition at line 9 of file picks.cpp.

Picks::Picks ( int  numTeams,
QVector< Team * >  teams 
)

Definition at line 14 of file picks.cpp.

Picks::~Picks ( void   ) 

Definition at line 21 of file picks.cpp.


Member Function Documentation

bool Picks::checkCorrectPicks ( int  teamId  )  [private]

Definition at line 35 of file picks.cpp.

Picks::Round Picks::getPickForTeam ( int  teamId  ) 

Definition at line 25 of file picks.cpp.

void Picks::init ( int  numTeams  )  [private]

Definition at line 40 of file picks.cpp.

bool Picks::setPickForTeam ( int  teamId,
Round  round 
)

Definition at line 30 of file picks.cpp.


Member Data Documentation

Definition at line 24 of file picks.h.

QVector<Team*> Picks::teams [private]

Definition at line 21 of file picks.h.

bool Picks::teamsKnown [private]

Definition at line 25 of file picks.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 29 01:48:11 2010 for AdaptiviTree by  doxygen 1.6.3