![]() |
OChess v0.0.2
Programmer's Manual
|
Represent the interface that each database type (such as PGNGameBase) must follow to be accessible in OChess. More...
#include <GameBase.hpp>
Public Member Functions | |
virtual std::shared_ptr< Game > | GetGame (std::uint32_t id)=0 |
virtual void | Save (std::vector< std::uint32_t > to_delete, std::vector< std::string > databases_to_import, std::vector< std::shared_ptr< Game > > games_to_import)=0 |
virtual std::shared_ptr< Game > | GetCurrentGame ()=0 |
virtual bool | NextGame ()=0 |
virtual std::string | GetTag (std::string tag)=0 |
virtual void | Reset ()=0 |
virtual std::string | GetFormat ()=0 |
virtual std::string | GetFilePath ()=0 |
virtual void | Export (std::shared_ptr< GameBase > base)=0 |
Save the given base into current base format (export) More... | |
Represent the interface that each database type (such as PGNGameBase) must follow to be accessible in OChess.
|
pure virtual |