osl::rating::PawnAttack 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::PawnAttack Class Reference

`#include <feature.h>`

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

## Public Member Functions
| PawnAttack ()
bool | match (const NumEffectState &, 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 243 of file rating/feature.h.

## Constructor & Destructor Documentation

osl::rating::PawnAttack::PawnAttack | ( | ) |  |
| inline

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

## Member Function Documentation

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

Implements osl::rating::Feature.

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

References osl::Move::capturePtype(), osl::rating::RatingEnv::history, osl::Move::isDrop(), osl::Move::isNormal(), osl::PAWN, osl::Move::ptype(), osl::PTYPE_EMPTY, osl::Move::to(), and osl::Square::x().

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

- rating/feature.h