osl::record::kakinoki Namespace Reference

- Main Page
- Namespaces
- Classes
- Files

- Namespace List
- Namespace Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Functions
osl::record::kakinoki Namespace Reference

## Classes
class | InputStream
class | KakinokiFile
struct | KakinokiIOError

## Functions
Move | strToMove (const std::string &, const SimpleState &, Move last_move=Move())
std::pair< Player, Ptype > | strToPiece (const std::string &)

## Function Documentation

osl::Move osl::record::kakinoki::strToMove | ( | const std::string & | s,
|  | const SimpleState & | state,
|  | Move | last_move = `Move()`
| ) |  |

Definition at line 173 of file kakinoki.cc.

References osl::captured(), osl::Square::isPieceStand(), K_NARU, K_ONAZI, K_UTSU, osl::promote(), osl::Move::to(), osl::record::KanjiMove::toPtype(), and osl::record::KanjiMove::toSquare().

Referenced by osl::record::kakinokiParseLine().

std::pair< osl::Player, osl::Ptype > osl::record::kakinoki::strToPiece | ( | const std::string & | s) |  |

Definition at line 162 of file kakinoki.cc.

References osl::BLACK, osl::record::KanjiMove::toPtype(), and osl::WHITE.

Referenced by osl::record::kakinokiParseLine().