Static Public Member Functions

HistorySaver< Move< ChessBoard::Coords > > Class Template Reference

List of all members.

Static Public Member Functions

static bool save (const std::string &fileName, const History< Move< ChessBoard::Coords > > &data)

template<>
class HistorySaver< Move< ChessBoard::Coords > >


Member Function Documentation

bool HistorySaver< Move< ChessBoard::Coords > >::save ( const std::string &  fileName,
const History< Move< ChessBoard::Coords > > &  data 
) [static]

Save chess moves in a file

Parameters:
fileName the file name where to save the data
data the data to save
Warning:
the incomplete turn will not be save
Returns:
false if the file could not be written

The documentation for this class was generated from the following files:
 All Classes Functions Variables