Generic HistorySaver. More...
#include <Game/HistorySaver.hpp>
Static Public Member Functions | |
static bool | save (const std::string &fileName, const DataType &data) |
Generic HistorySaver.
Specific history saver for chess game moves.
Saves an history in a file
> HistorySaver.hpp Game/HistorySaver.hpp The file is using this format : move1 - move2
static bool HistorySaver< DataType >::save | ( | const std::string & | fileName, | |
const DataType & | data | |||
) | [static] |
Save data in a file
fileName | the file name where to save the data | |
data | the data to save |