|
| | Game () |
| |
| void | Clear () |
| |
| void | strip (bool variations, bool comments, bool NAGs) |
| |
| bool | HasNonStandardStart (char *outFEN=nullptr) const |
| |
| errorT | SetStartFen (const char *fenStr) |
| | Setup the start position from a FEN string and remove all the moves. More...
|
| |
| void | SetScidFlags (const char *s, size_t len) |
| |
| void | SetScidFlags (const char *s) |
| |
| ushort | GetNumHalfMoves () |
| |
| errorT | AddMove (const simpleMoveT *sm) |
| |
| errorT | AddVariation () |
| |
| errorT | DeleteVariation () |
| |
| errorT | FirstVariation () |
| |
| errorT | MainVariation () |
| |
| void | Truncate () |
| |
| void | TruncateStart () |
| |
| errorT | MoveForward () |
| |
| errorT | MoveBackup () |
| |
| errorT | MoveIntoVariation (uint varNumber) |
| |
| errorT | MoveExitVariation () |
| |
| errorT | MoveForwardInPGN () |
| |
| errorT | MoveToLocationInPGN (unsigned stopLocation) |
| |
| void | MoveToStart () |
| |
| void | MoveToPly (int hmNumber) |
| |
| GameSavedPos | currentLocation () const |
| |
| void | restoreLocation (const GameSavedPos &savedPos) |
| |
| const Position * | currentPos () const |
| |
| Position * | GetCurrentPos () |
| |
| simpleMoveT * | GetCurrentMove () |
| |
| ushort | GetCurrentPly () const |
| |
| uint | GetNumVariations () const |
| |
| uint | GetVarLevel () const |
| |
| uint | GetVarNumber () const |
| |
| unsigned | GetLocationInPGN () const |
| |
| unsigned | GetPgnOffset () const |
| |
| bool | AtVarStart () const |
| |
| bool | AtVarEnd () const |
| |
| bool | AtStart () const |
| |
| bool | AtEnd () const |
| |
| errorT | AddNag (byte nag) |
| |
| errorT | RemoveNag (bool isMoveNag) |
| |
| void | ClearNags () |
| |
| byte * | GetNags () const |
| |
| byte * | GetNextNags () const |
| |
| const char * | GetPreviousMoveComment () const |
| | Return the comment on the move previously played by CurrentPos->ToMove If there are no previous moves, return an empty comment. More...
|
| |
| const char * | GetMoveComment () const |
| |
| std::string & | accessMoveComment () |
| |
| void | SetMoveComment (const char *comment) |
| |
| const char * | GetNextSAN () |
| |
| void | GetSAN (char *str) |
| |
| void | GetPrevSAN (char *str) |
| |
| void | GetPrevMoveUCI (char *str) const |
| |
| void | GetNextMoveUCI (char *str) |
| |
| void | AddPgnTag (const char *tag, const char *value) |
| |
| bool | RemoveExtraTag (const char *tag) |
| |
| const char * | FindExtraTag (const char *tag) const |
| |
| std::string & | accessTagValue (const char *tag, size_t tagLen) |
| |
| decltype(extraTags_) const & | GetExtraTags () const |
| |
| void | ClearExtraTags () |
| |
| errorT | LoadStandardTags (const IndexEntry *ie, const NameBase *nb) |
| |
| void | SetEventStr (const char *str) |
| |
| void | SetSiteStr (const char *str) |
| |
| void | SetWhiteStr (const char *str) |
| |
| void | SetBlackStr (const char *str) |
| |
| void | SetRoundStr (const char *str) |
| |
| void | SetDate (dateT date) |
| |
| void | SetEventDate (dateT date) |
| |
| void | SetResult (resultT res) |
| |
| void | SetWhiteElo (eloT elo) |
| |
| void | SetBlackElo (eloT elo) |
| |
| void | SetWhiteRatingType (byte b) |
| |
| void | SetBlackRatingType (byte b) |
| |
| int | setRating (colorT col, const char *ratingType, size_t ratingTypeLen, std::pair< const char *, const char *> rating) |
| |
| void | SetEco (ecoT eco) |
| |
| const char * | GetEventStr () const |
| |
| const char * | GetSiteStr () const |
| |
| const char * | GetWhiteStr () const |
| |
| const char * | GetBlackStr () const |
| |
| const char * | GetRoundStr () const |
| |
| dateT | GetDate () const |
| |
| dateT | GetEventDate () const |
| |
| resultT | GetResult () const |
| |
| eloT | GetWhiteElo () const |
| |
| eloT | GetBlackElo () const |
| |
| eloT | GetWhiteEstimateElo () const |
| |
| eloT | GetBlackEstimateElo () const |
| |
| byte | GetWhiteRatingType () const |
| |
| byte | GetBlackRatingType () const |
| |
| ecoT | GetEco () const |
| |
| eloT | GetAverageElo () |
| |
| bool | CommentEmpty (const char *comment) |
| |
| void | WriteComment (TextBuffer *tb, const char *preStr, const char *comment, const char *postStr) |
| |
| errorT | WriteMoveList (TextBuffer *tb, moveT *oldCurrentMove, bool printMoveNum, bool inComment) |
| |
| std::pair< const char *, unsigned > | WriteToPGN (uint lineWidth=0, bool NewLineAtEnd=false, bool newLineToSpaces=true) |
| |
| void | ResetPgnStyle (void) |
| |
| void | ResetPgnStyle (uint flag) |
| |
| uint | GetPgnStyle () |
| |
| void | SetPgnStyle (uint mask, bool setting) |
| |
| void | AddPgnStyle (uint mask) |
| |
| void | RemovePgnStyle (uint mask) |
| |
| void | SetPgnFormat (gameFormatT gf) |
| |
| bool | SetPgnFormatFromString (const char *str) |
| |
| bool | IsPlainFormat () |
| |
| bool | IsHtmlFormat () |
| |
| bool | IsLatexFormat () |
| |
| bool | IsColorFormat () |
| |
| void | SetHtmlStyle (uint style) |
| |
| uint | GetHtmlStyle () |
| |
| errorT | GetPartialMoveList (DString *str, uint plyCount) |
| |
| bool | MaterialMatch (ByteBuffer *buf, byte *min, byte *max, patternT *pattern, int minPly, int maxPly, int matchLength, bool oppBishops, bool sameBishops, int minDiff, int maxDiff) |
| |
| bool | ExactMatch (Position *pos, ByteBuffer *buf, simpleMoveT *sm, gameExactMatchT searchType, bool *neverMatch) |
| |
| bool | VarExactMatch (Position *searchPos, gameExactMatchT searchType) |
| |
| bool | ExactMatch (Position *pos, ByteBuffer *buf, simpleMoveT *sm) |
| |
| bool | ExactMatch (Position *pos, ByteBuffer *buf, simpleMoveT *sm, bool *neverMatch) |
| |
| bool | ExactMatch (Position *pos, ByteBuffer *buf, simpleMoveT *sm, gameExactMatchT searchType) |
| |
| errorT | Encode (ByteBuffer *buf, IndexEntry *ie) |
| |
| errorT | DecodeStart (ByteBuffer *buf, bool decodeTags=false) |
| |
| errorT | DecodeNextMove (ByteBuffer *buf, simpleMoveT *sm) |
| |
| errorT | Decode (ByteBuffer *buf, byte flags) |
| |
| errorT | DecodeTags (ByteBuffer *buf, bool storeTags) |
| |
| Game * | clone () |
| |
Definition at line 167 of file game.h.