Scid  4.7.0
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

template<typename Iter >
 Tourney (Iter begin, Iter end)
 
idNumberT getEventId () const
 
idNumberT getSiteId () const
 
dateT getStartDate () const
 
gamenumT getStartGameNum () const
 
unsigned getAvgElo () const
 
gamenumT nGames () const
 
unsigned 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 65 of file searchtournaments.h.

Constructor & Destructor Documentation

◆ Tourney()

template<typename Iter >
Tourney::Tourney ( Iter  begin,
Iter  end 
)
inline

Definition at line 68 of file searchtournaments.h.

Member Function Documentation

◆ getAvgElo()

unsigned Tourney::getAvgElo ( ) const
inline

Definition at line 103 of file searchtournaments.h.

◆ getEventId()

idNumberT Tourney::getEventId ( ) const
inline

Definition at line 99 of file searchtournaments.h.

◆ getPlayer()

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

Definition at line 114 of file searchtournaments.h.

◆ getSiteId()

idNumberT Tourney::getSiteId ( ) const
inline

Definition at line 100 of file searchtournaments.h.

◆ getStartDate()

dateT Tourney::getStartDate ( ) const
inline

Definition at line 101 of file searchtournaments.h.

◆ getStartGameNum()

gamenumT Tourney::getStartGameNum ( ) const
inline

Definition at line 102 of file searchtournaments.h.

◆ nGames()

gamenumT Tourney::nGames ( ) const
inline

Definition at line 104 of file searchtournaments.h.

◆ nPlayers()

unsigned Tourney::nPlayers ( ) const
inline

Definition at line 105 of file searchtournaments.h.


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