Static Public Member Functions

HistoryLoader< DataType > Class Template Reference

Generic HistoryLoader. More...

#include <Game/HistoryLoader.hpp>

List of all members.

Static Public Member Functions

static History< DataType > load (const std::string &fileName, bool &error)

Detailed Description

template<typename DataType>
class HistoryLoader< DataType >

Generic HistoryLoader.

Specific history loader for chess game moves.

loads an history from a file

> HistoryLoader.hpp Game/HistoryLoader.hpp


Member Function Documentation

template<typename DataType>
static History<DataType> HistoryLoader< DataType >::load ( const std::string &  fileName,
bool &  error 
) [static]

Load chess moves from a file

Parameters:
fileName the file name where to save the data
error false if the file could not be read
Returns:
the history

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