|
libscid 0.1.0
Chess applications made easy.
|
Public Member Functions | |
| Index (const Index &)=delete | |
| Index & | operator= (const Index &)=delete |
| void | Close () |
| const IndexEntry * | GetEntry (gamenumT g) const |
| int | GetBadNameIdCount () const |
| GetBadNameIdCount() - return the number of invalid name handles. | |
| void | setBadNameIdCount (int count) |
| gamenumT | GetNumGames () const |
| Header getter functions. | |
| void | addEntry (const IndexEntry &ie) |
| void | replaceEntry (const IndexEntry &ie, gamenumT replaced) |
| int scid::database::Index::GetBadNameIdCount | ( | ) | const |
GetBadNameIdCount() - return the number of invalid name handles.
To save space, avoiding duplicates, the index keep handles to strings stored in the namebase file. If one of the two files is corrupted, the index may have handles to strings that do not exists. This functions returns the number of invalid name handles.