Scid  4.6.5
Classes | Public Member Functions | List of all members
Tourney Class Reference

class Tourney - Calculate information about a tournament More...

#include <searchtournaments.h>

Classes

struct  Player
 

Public Member Functions

 Tourney (Iter begin, Iter end)
 
idNumberT getEventId () const
 
idNumberT getSiteId () const
 
dateT getStartDate () const
 
gamenumT getStartGameNum () const
 
uint getAvgElo () const
 
uint nGames () const
 
uint nPlayers () const
 
const PlayergetPlayer (size_t position) const
 

Detailed Description

class Tourney - Calculate information about a tournament

This class takes a range of TourneyGame references and calculate some basic information (number of Players, average elo, scores, etc.). Invariants: the range of TourneyGame refs should not be empty

Definition at line 66 of file searchtournaments.h.

Constructor & Destructor Documentation

Tourney::Tourney ( Iter  begin,
Iter  end 
)
inline

Definition at line 70 of file searchtournaments.h.

Member Function Documentation

uint Tourney::getAvgElo ( ) const
inline

Definition at line 104 of file searchtournaments.h.

idNumberT Tourney::getEventId ( ) const
inline

Definition at line 100 of file searchtournaments.h.

const Player& Tourney::getPlayer ( size_t  position) const
inline

Definition at line 116 of file searchtournaments.h.

idNumberT Tourney::getSiteId ( ) const
inline

Definition at line 101 of file searchtournaments.h.

dateT Tourney::getStartDate ( ) const
inline

Definition at line 102 of file searchtournaments.h.

gamenumT Tourney::getStartGameNum ( ) const
inline

Definition at line 103 of file searchtournaments.h.

uint Tourney::nGames ( ) const
inline

Definition at line 105 of file searchtournaments.h.

uint Tourney::nPlayers ( ) const
inline

Definition at line 106 of file searchtournaments.h.


The documentation for this class was generated from the following file: