libscid snapshot+e944e108ed8b
Chess applications made easy.
Source on GitHub License GPL v2
Loading...
Searching...
No Matches
game_positions.h File Reference

Position snapshots extracted from a game tree. More...

#include "scid/core/game_cursor.h"
#include "scid/core/notation.h"
#include "scid/core/pgn/traversal.h"
#include <cassert>
#include <cstdint>
#include <string>
#include <vector>
+ Include dependency graph for game_positions.h:

Go to the source code of this file.

Classes

struct  scid::core::gamepos::GamePos
 A serialisable snapshot of one reachable position in a game. More...
 

Namespaces

namespace  scid
 Public namespace for libscid.
 
namespace  scid::core
 Chess games, positions, movetext and notation.
 
namespace  scid::core::gamepos
 Named board positions commonly used as game starting points.
 

Functions

template<typename TCont >
void scid::core::gamepos::collectPositions (const scid::core::Game &game, TCont &dest)
 Append all position snapshots of a game to a caller-supplied container.
 
std::vector< GamePosscid::core::gamepos::collectPositions (const scid::core::Game &game)
 Return all position snapshots of a game.
 

Detailed Description

Position snapshots extracted from a game tree.