Scid  4.7.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | List of all members
Crosstable Class Reference

#include <crosstab.h>

Public Member Functions

 Crosstable ()
 
 ~Crosstable ()
 
void SetOutputFormat (crosstableOutputT opt)
 
void SetPlainOutput ()
 
void SetHtmlOutput ()
 
void SetHypertextOutput ()
 
void SetLaTeXOutput ()
 
void SetSortOption (crosstableSortT option)
 
void SetThreeWin (bool threewin)
 
void SortByName ()
 
void SortByElo ()
 
void SortByScore ()
 
void SortByCountry ()
 
void SetAges (bool b)
 
void SetTitles (bool b)
 
void SetElos (bool b)
 
void SetCountries (bool b)
 
void SetTallies (bool b)
 
void SetTiebreaks (bool b)
 
void SetSwissColors (bool b)
 
void SetSeparateScoreGroups (bool b)
 
void SetDecimalPointChar (char ch)
 
void SetNumberedColumns (bool b)
 
uint NumPlayers ()
 
errorT AddPlayer (idNumberT id, const char *name, eloT elo, const SpellChecker *)
 
errorT AddResult (uint gameNumber, idNumberT white, idNumberT black, resultT result, uint round, dateT date)
 
crosstableModeT BestMode (void)
 
eloT AvgRating ()
 
void PrintTable (DString *dstr, crosstableModeT mode, uint playerLimit, int currentGame)
 

Static Public Member Functions

static uint Performance (uint oppAvg, uint percentage)
 
static uint FideCategory (eloT rating)
 
static eloT OpponentElo (eloT player, eloT opponent)
 
static int RatingChange (eloT player, uint oppAvg, uint percentage, uint count)
 

Detailed Description

Definition at line 79 of file crosstab.h.

Constructor & Destructor Documentation

◆ Crosstable()

Crosstable::Crosstable ( )
inline

Definition at line 149 of file crosstab.h.

◆ ~Crosstable()

Crosstable::~Crosstable ( )
inline

Definition at line 150 of file crosstab.h.

Member Function Documentation

◆ AddPlayer()

errorT Crosstable::AddPlayer ( idNumberT  id,
const char *  name,
eloT  elo,
const SpellChecker SpellCheck 
)

Definition at line 188 of file crosstab.cpp.

◆ AddResult()

errorT Crosstable::AddResult ( uint  gameNumber,
idNumberT  white,
idNumberT  black,
resultT  result,
uint  round,
dateT  date 
)

Definition at line 243 of file crosstab.cpp.

◆ AvgRating()

eloT Crosstable::AvgRating ( )

Definition at line 421 of file crosstab.cpp.

◆ BestMode()

crosstableModeT Crosstable::BestMode ( void  )

Definition at line 399 of file crosstab.cpp.

◆ FideCategory()

uint Crosstable::FideCategory ( eloT  rating)
static

Definition at line 77 of file crosstab.cpp.

◆ NumPlayers()

uint Crosstable::NumPlayers ( )
inline

Definition at line 177 of file crosstab.h.

◆ OpponentElo()

eloT Crosstable::OpponentElo ( eloT  player,
eloT  opponent 
)
static

Definition at line 87 of file crosstab.cpp.

◆ Performance()

uint Crosstable::Performance ( uint  oppAvg,
uint  percentage 
)
static

Definition at line 36 of file crosstab.cpp.

◆ PrintTable()

void Crosstable::PrintTable ( DString dstr,
crosstableModeT  mode,
uint  playerLimit,
int  currentGame 
)

Definition at line 438 of file crosstab.cpp.

◆ RatingChange()

int Crosstable::RatingChange ( eloT  player,
uint  oppAvg,
uint  percentage,
uint  count 
)
static

Definition at line 54 of file crosstab.cpp.

◆ SetAges()

void Crosstable::SetAges ( bool  b)
inline

Definition at line 166 of file crosstab.h.

◆ SetCountries()

void Crosstable::SetCountries ( bool  b)
inline

Definition at line 169 of file crosstab.h.

◆ SetDecimalPointChar()

void Crosstable::SetDecimalPointChar ( char  ch)
inline

Definition at line 174 of file crosstab.h.

◆ SetElos()

void Crosstable::SetElos ( bool  b)
inline

Definition at line 168 of file crosstab.h.

◆ SetHtmlOutput()

void Crosstable::SetHtmlOutput ( )
inline

Definition at line 154 of file crosstab.h.

◆ SetHypertextOutput()

void Crosstable::SetHypertextOutput ( )
inline

Definition at line 155 of file crosstab.h.

◆ SetLaTeXOutput()

void Crosstable::SetLaTeXOutput ( )
inline

Definition at line 156 of file crosstab.h.

◆ SetNumberedColumns()

void Crosstable::SetNumberedColumns ( bool  b)
inline

Definition at line 175 of file crosstab.h.

◆ SetOutputFormat()

void Crosstable::SetOutputFormat ( crosstableOutputT  opt)
inline

Definition at line 152 of file crosstab.h.

◆ SetPlainOutput()

void Crosstable::SetPlainOutput ( )
inline

Definition at line 153 of file crosstab.h.

◆ SetSeparateScoreGroups()

void Crosstable::SetSeparateScoreGroups ( bool  b)
inline

Definition at line 173 of file crosstab.h.

◆ SetSortOption()

void Crosstable::SetSortOption ( crosstableSortT  option)
inline

Definition at line 158 of file crosstab.h.

◆ SetSwissColors()

void Crosstable::SetSwissColors ( bool  b)
inline

Definition at line 172 of file crosstab.h.

◆ SetTallies()

void Crosstable::SetTallies ( bool  b)
inline

Definition at line 170 of file crosstab.h.

◆ SetThreeWin()

void Crosstable::SetThreeWin ( bool  threewin)
inline

Definition at line 159 of file crosstab.h.

◆ SetTiebreaks()

void Crosstable::SetTiebreaks ( bool  b)
inline

Definition at line 171 of file crosstab.h.

◆ SetTitles()

void Crosstable::SetTitles ( bool  b)
inline

Definition at line 167 of file crosstab.h.

◆ SortByCountry()

void Crosstable::SortByCountry ( )
inline

Definition at line 164 of file crosstab.h.

◆ SortByElo()

void Crosstable::SortByElo ( )
inline

Definition at line 162 of file crosstab.h.

◆ SortByName()

void Crosstable::SortByName ( )
inline

Definition at line 161 of file crosstab.h.

◆ SortByScore()

void Crosstable::SortByScore ( )
inline

Definition at line 163 of file crosstab.h.


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