|
libscid 0.1.0
Chess applications made easy.
|
Public Member Functions | |
| MovetextCursor (Game &game) | |
| Move * | previousMove () |
| const Move * | previousMove () const |
| Move * | nextMove () |
| const Move * | nextMove () const |
| Variation * | currentVariation () |
| const Variation * | currentVariation () const |
| std::size_t | ply () const |
| std::size_t | variationCount () const |
| std::size_t | variationDepth () const |
| std::size_t | variationIndex () const |
| MovetextLocation | location () const |
| bool | restore (MovetextLocation location) |
| bool | isAtLineStart () const |
| bool | isAtLineEnd () const |
| bool | isAtVariationStart () const |
| bool | isAtVariationEnd () const |
| bool | isAtGameStart () const |
| bool | isAtGameEnd () const |
| bool | isAtEmptyVariation () const |
| bool | next () |
| bool | previous () |
| bool | enterVariation (std::size_t index) |
| bool | exitVariation () |
| void | toStart () |
| void | toEnd () |
| bool | toPly (std::size_t ply) |
| Move & | addMove (MoveSpec spec) |
| Variation * | addVariation (std::string_view initialComment={}) |
| bool | setPreviousMoveMetadata (MoveMetadata metadata) |
| bool | setPreviousMoveSan (std::string_view san) |
| bool | setNextMoveSan (std::string_view san) |
| bool | setCurrentVariationInitialComment (std::string_view comment) |
| bool | setComment (std::string_view comment) |
| bool | addPreviousMoveNag (Nag nag) |
| bool | removePreviousMoveNag (bool moveNag) |
| void | clearPreviousMoveNags () |
| bool | promoteVariationToFirst () |
| bool | promoteVariationToMainline () |
| bool | deleteVariation () |
| void | truncate () |
| void | truncateBeforeCursor () |