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

`#include <feature.h>`

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

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

## Detailed Description

Definition at line 197 of file rating/feature.h.

## Constructor & Destructor Documentation

osl::rating::RookDefense::RookDefense | ( | ) |  |
| inline

Definition at line 200 of file rating/feature.h.

## Member Function Documentation

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

Implements osl::rating::Feature.

Definition at line 203 of file rating/feature.h.

References osl::Move::from(), osl::Move::isDrop(), osl::Square::isPieceStand(), osl::Piece::owner(), osl::Move::player(), osl::playerToMul(), osl::rating::RatingEnv::progress, osl::Piece::square(), osl::Move::to(), osl::Square::x(), and osl::Square::y().

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

- rating/feature.h