Scid  4.6.5
Public Member Functions | Static Public Member Functions | List of all members
OpTable Class Reference

#include <optable.h>

Public Member Functions

 OpTable (const char *type, Game *g, PBook *ecoBook)
 
 OpTable (const char *type, Game *g)
 
 ~OpTable ()
 
void Init (const char *type, Game *g, PBook *ecoBook)
 
void Clear ()
 
void ClearNotes ()
 
void SetFormat (const char *str)
 
void SetDecimalChar (char c)
 
uint GetTotalCount ()
 
uint GetTheoryCount ()
 
void SetExcludeMove (const char *s)
 
const char * GetEco (void)
 
void SetNumRows (uint nrows)
 
void GuessNumRows (void)
 
void SetMaxTableLines (uint nlines)
 
uint GetMaxTableLines (void)
 
void SetMaxExtraMoves (uint nmoves)
 
uint GetMaxExtraMoves (void)
 
uint GetNumLines (void)
 
void SetMaxThemeMoveNumber (uint x)
 
bool Add (OpLine *line)
 
uint PercentScore (void)
 
uint TheoryPercent (void)
 
uint TheoryScore (void)
 
uint PercentFreq (resultT result)
 
uint AvgLength (resultT result)
 
uint AvgElo (colorT color, uint *count, uint *oppScore, uint *oppPerf)
 
void BestGames (DString *dstr, uint count, const char *rtype)
 
void TopPlayers (DString *dstr, colorT c, uint count)
 
void TopEcoCodes (DString *dstr, uint count)
 
void PrintStemLine (DString *dstr, uint format, bool exclude)
 
void PrintStemLine (DString *dstr)
 
void MakeRows (void)
 
void DumpLines (FILE *fp)
 
void PrintTable (DString *dstr, const char *title, const char *comment)
 
void PrintLaTeX (DString *dstr, const char *title, const char *comment)
 
void PrintHTML (DString *str, const char *title, const char *comment)
 
void PrintText (DString *str, const char *title, const char *comment, bool htext)
 
uint AddMoveOrder (Game *g)
 
void PopularMoveOrders (DString *dstr, uint count)
 
void ThemeReport (DString *dstr, uint argc, const char **argv)
 
void AddEndMaterial (matSigT ms, bool inFilter)
 
void EndMaterialReport (DString *dstr, const char *repGames, const char *allGames)
 
uintSelectGames (char type, uint number)
 

Static Public Member Functions

static uint FormatFromStr (const char *str)
 

Detailed Description

Definition at line 128 of file optable.h.

Constructor & Destructor Documentation

OpTable::OpTable ( const char *  type,
Game g,
PBook ecoBook 
)
inline

Definition at line 178 of file optable.h.

OpTable::OpTable ( const char *  type,
Game g 
)
inline

Definition at line 181 of file optable.h.

OpTable::~OpTable ( )
inline

Definition at line 182 of file optable.h.

Member Function Documentation

bool OpTable::Add ( OpLine line)

Definition at line 655 of file optable.cpp.

void OpTable::AddEndMaterial ( matSigT  ms,
bool  inFilter 
)

Definition at line 2178 of file optable.cpp.

uint OpTable::AddMoveOrder ( Game g)

Definition at line 1974 of file optable.cpp.

uint OpTable::AvgElo ( colorT  color,
uint count,
uint oppScore,
uint oppPerf 
)

Definition at line 1934 of file optable.cpp.

uint OpTable::AvgLength ( resultT  result)

Definition at line 1919 of file optable.cpp.

void OpTable::BestGames ( DString dstr,
uint  count,
const char *  rtype 
)

Definition at line 1460 of file optable.cpp.

void OpTable::Clear ( void  )

Definition at line 517 of file optable.cpp.

void OpTable::ClearNotes ( void  )

Definition at line 549 of file optable.cpp.

void OpTable::DumpLines ( FILE *  fp)

Definition at line 768 of file optable.cpp.

void OpTable::EndMaterialReport ( DString dstr,
const char *  repGames,
const char *  allGames 
)

Definition at line 2188 of file optable.cpp.

uint OpTable::FormatFromStr ( const char *  str)
static

Definition at line 564 of file optable.cpp.

const char* OpTable::GetEco ( void  )
inline

Definition at line 197 of file optable.h.

uint OpTable::GetMaxExtraMoves ( void  )
inline

Definition at line 209 of file optable.h.

uint OpTable::GetMaxTableLines ( void  )
inline

Definition at line 205 of file optable.h.

uint OpTable::GetNumLines ( void  )
inline

Definition at line 212 of file optable.h.

uint OpTable::GetTheoryCount ( )
inline

Definition at line 190 of file optable.h.

uint OpTable::GetTotalCount ( )
inline

Definition at line 189 of file optable.h.

void OpTable::GuessNumRows ( void  )

Definition at line 725 of file optable.cpp.

void OpTable::Init ( const char *  type,
Game g,
PBook ecoBook 
)

Definition at line 461 of file optable.cpp.

void OpTable::MakeRows ( void  )

Definition at line 848 of file optable.cpp.

uint OpTable::PercentFreq ( resultT  result)

Definition at line 638 of file optable.cpp.

uint OpTable::PercentScore ( void  )

Definition at line 596 of file optable.cpp.

void OpTable::PopularMoveOrders ( DString dstr,
uint  count 
)

Definition at line 2034 of file optable.cpp.

void OpTable::PrintHTML ( DString str,
const char *  title,
const char *  comment 
)

Definition at line 1142 of file optable.cpp.

void OpTable::PrintLaTeX ( DString dstr,
const char *  title,
const char *  comment 
)

Definition at line 1051 of file optable.cpp.

void OpTable::PrintStemLine ( DString dstr,
uint  format,
bool  exclude 
)

Definition at line 1014 of file optable.cpp.

void OpTable::PrintStemLine ( DString dstr)
inline

Definition at line 225 of file optable.h.

void OpTable::PrintTable ( DString dstr,
const char *  title,
const char *  comment 
)

Definition at line 1030 of file optable.cpp.

void OpTable::PrintText ( DString str,
const char *  title,
const char *  comment,
bool  htext 
)

Definition at line 1202 of file optable.cpp.

uint * OpTable::SelectGames ( char  type,
uint  number 
)

Definition at line 2301 of file optable.cpp.

void OpTable::SetDecimalChar ( char  c)
inline

Definition at line 187 of file optable.h.

void OpTable::SetExcludeMove ( const char *  s)
inline

Definition at line 192 of file optable.h.

void OpTable::SetFormat ( const char *  str)

Definition at line 584 of file optable.cpp.

void OpTable::SetMaxExtraMoves ( uint  nmoves)
inline

Definition at line 206 of file optable.h.

void OpTable::SetMaxTableLines ( uint  nlines)
inline

Definition at line 200 of file optable.h.

void OpTable::SetMaxThemeMoveNumber ( uint  x)
inline

Definition at line 213 of file optable.h.

void OpTable::SetNumRows ( uint  nrows)
inline

Definition at line 198 of file optable.h.

void OpTable::ThemeReport ( DString dstr,
uint  argc,
const char **  argv 
)

Definition at line 2083 of file optable.cpp.

uint OpTable::TheoryPercent ( void  )

Definition at line 612 of file optable.cpp.

uint OpTable::TheoryScore ( void  )

Definition at line 628 of file optable.cpp.

void OpTable::TopEcoCodes ( DString dstr,
uint  count 
)

Definition at line 1815 of file optable.cpp.

void OpTable::TopPlayers ( DString dstr,
colorT  c,
uint  count 
)

Definition at line 1596 of file optable.cpp.


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