osl::annotate::EscapeFromCheck Class Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Public Member Functions | List of all members
osl::annotate::EscapeFromCheck Class Reference

`#include <analyzer.h>`

Inheritance diagram for osl::annotate::EscapeFromCheck:
[legend]
Collaboration diagram for osl::annotate::EscapeFromCheck:
[legend]

## Public Member Functions
void | match (AnalysesResult &, const NumEffectState &src, const vector< Move > &moves, int last_move)
Public Member Functions inherited from osl::annotate::Analyzer
virtual | ~Analyzer ()

## Static Public Member Functions
static bool | matchMain (const NumEffectState &src, const vector< Move > &moves, int last_move)
Static Public Member Functions inherited from osl::annotate::Analyzer
static Trivalent | isCheckmate (NumEffectState &state, Move &best_move, bool attack=true, size_t *node_count=0)

## Detailed Description

Definition at line 49 of file analyzer.h.

## Member Function Documentation

void osl::annotate::EscapeFromCheck::match | ( | AnalysesResult & | shared,
|  | const NumEffectState & | src,
|  | const vector< Move > & | moves,
|  | int | last_move
| ) |  |
| virtual

Implements osl::annotate::Analyzer.

Definition at line 107 of file analyzer.cc.

References osl::annotate::AnalysesResult::escape_from_check, osl::annotate::False, and osl::annotate::True.

bool osl::annotate::EscapeFromCheck::matchMain | ( | const NumEffectState & | src,
|  | const vector< Move > & | moves,
|  | int | last_move
| ) |  |
| static

Definition at line 115 of file analyzer.cc.

References osl::alt(), osl::captured(), osl::KING, and osl::PTYPE_EMPTY.

The documentation for this class was generated from the following files:

- analyzer.h
- analyzer.cc