osl::rating::KingEscape 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 | Private Attributes | List of all members
osl::rating::KingEscape Class Reference

`#include <escape.h>`

Inheritance diagram for osl::rating::KingEscape:
[legend]
Collaboration diagram for osl::rating::KingEscape:
[legend]

## Public Member Functions
| KingEscape (Ptype s)
bool | match (const NumEffectState &state, Move move, const RatingEnv &) const
bool | effectiveInCheck () const
Public Member Functions inherited from osl::rating::Feature
| Feature (const std::string &name)
virtual | ~Feature ()
const std::string & | name () const

## Private Attributes
Ptype | ptype

## Detailed Description

Definition at line 74 of file feature/escape.h.

## Constructor & Destructor Documentation

osl::rating::KingEscape::KingEscape | ( | Ptype | s) |  |
| inline

Definition at line 78 of file feature/escape.h.

## Member Function Documentation

bool osl::rating::KingEscape::effectiveInCheck | ( | ) |  | const
| inlinevirtual

Reimplemented from osl::rating::Feature.

Definition at line 87 of file feature/escape.h.

bool osl::rating::KingEscape::match | ( | const NumEffectState & | state,
|  | Move | move,
|  | const RatingEnv & |
| ) |  | const
| inlinevirtual

Implements osl::rating::Feature.

Definition at line 82 of file feature/escape.h.

References ptype, and osl::Move::ptype().

## Member Data Documentation

Ptype osl::rating::KingEscape::ptype
| private

Definition at line 76 of file feature/escape.h.

Referenced by match().

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

- feature/escape.h