Scid  4.6.5
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 ( )
inline

Definition at line 148 of file crosstab.h.

Crosstable::~Crosstable ( )
inline

Definition at line 149 of file crosstab.h.

Member Function Documentation

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

Definition at line 188 of file crosstab.cpp.

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

Definition at line 243 of file crosstab.cpp.

eloT Crosstable::AvgRating ( )

Definition at line 421 of file crosstab.cpp.

crosstableModeT Crosstable::BestMode ( void  )

Definition at line 399 of file crosstab.cpp.

uint Crosstable::FideCategory ( eloT  rating)
static

Definition at line 77 of file crosstab.cpp.

uint Crosstable::NumPlayers ( )
inline

Definition at line 176 of file crosstab.h.

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

Definition at line 87 of file crosstab.cpp.

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

Definition at line 36 of file crosstab.cpp.

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

Definition at line 438 of file crosstab.cpp.

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

Definition at line 54 of file crosstab.cpp.

void Crosstable::SetAges ( bool  b)
inline

Definition at line 165 of file crosstab.h.

void Crosstable::SetCountries ( bool  b)
inline

Definition at line 168 of file crosstab.h.

void Crosstable::SetDecimalPointChar ( char  ch)
inline

Definition at line 173 of file crosstab.h.

void Crosstable::SetElos ( bool  b)
inline

Definition at line 167 of file crosstab.h.

void Crosstable::SetHtmlOutput ( )
inline

Definition at line 153 of file crosstab.h.

void Crosstable::SetHypertextOutput ( )
inline

Definition at line 154 of file crosstab.h.

void Crosstable::SetLaTeXOutput ( )
inline

Definition at line 155 of file crosstab.h.

void Crosstable::SetNumberedColumns ( bool  b)
inline

Definition at line 174 of file crosstab.h.

void Crosstable::SetOutputFormat ( crosstableOutputT  opt)
inline

Definition at line 151 of file crosstab.h.

void Crosstable::SetPlainOutput ( )
inline

Definition at line 152 of file crosstab.h.

void Crosstable::SetSeparateScoreGroups ( bool  b)
inline

Definition at line 172 of file crosstab.h.

void Crosstable::SetSortOption ( crosstableSortT  option)
inline

Definition at line 157 of file crosstab.h.

void Crosstable::SetSwissColors ( bool  b)
inline

Definition at line 171 of file crosstab.h.

void Crosstable::SetTallies ( bool  b)
inline

Definition at line 169 of file crosstab.h.

void Crosstable::SetThreeWin ( bool  threewin)
inline

Definition at line 158 of file crosstab.h.

void Crosstable::SetTiebreaks ( bool  b)
inline

Definition at line 170 of file crosstab.h.

void Crosstable::SetTitles ( bool  b)
inline

Definition at line 166 of file crosstab.h.

void Crosstable::SortByCountry ( )
inline

Definition at line 163 of file crosstab.h.

void Crosstable::SortByElo ( )
inline

Definition at line 161 of file crosstab.h.

void Crosstable::SortByName ( )
inline

Definition at line 160 of file crosstab.h.

void Crosstable::SortByScore ( )
inline

Definition at line 162 of file crosstab.h.


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