osl::rating::LongTarget2 Struct 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 | Public Attributes | List of all members
osl::rating::LongTarget2 Struct Reference

`#include <pattern.h>`

## Public Member Functions
| LongTarget2 (Ptype t, bool s)
bool | match (const NumEffectState &, Move move, Piece p) const
const std::string | name () const

## Public Attributes
Ptype | target
bool | same

## Detailed Description

Definition at line 103 of file pattern.h.

## Constructor & Destructor Documentation

osl::rating::LongTarget2::LongTarget2 | ( | Ptype | t,
|  | bool | s
| ) |  |
| inline

Definition at line 107 of file pattern.h.

## Member Function Documentation

bool osl::rating::LongTarget2::match | ( | const NumEffectState & | ,
|  | Move | move,
|  | Piece | p
| ) |  | const
| inline

Definition at line 110 of file pattern.h.

References osl::Piece::isEmpty(), osl::isPiece(), osl::Piece::owner(), osl::Move::player(), osl::Piece::ptype(), same, and target.

Referenced by osl::rating::PatternLong2::match().

const std::string osl::rating::LongTarget2::name | ( | ) |  | const

Definition at line 24 of file pattern.cc.

References osl::PtypeTable::getCsaName(), osl::Ptype_Table, and target.

## Member Data Documentation

bool osl::rating::LongTarget2::same

Definition at line 106 of file pattern.h.

Referenced by match().

Ptype osl::rating::LongTarget2::target

Definition at line 105 of file pattern.h.

Referenced by match().

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

- pattern.h
- pattern.cc