All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Public Attributes
osl::rating::LongTarget Struct Reference

#include <pattern.h>

Inheritance diagram for osl::rating::LongTarget:
Inheritance graph
[legend]
Collaboration diagram for osl::rating::LongTarget:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LongTarget (Ptype t, bool p, bool s, int attack, int defense)
bool match (const NumEffectState &state, Move move, PieceSquare p, const RatingEnv &env) const
bool matchOtherThanPromotable (const NumEffectState &state, Move move, PieceSquare p, const RatingEnv &env) const
const std::string name () const

Static Public Member Functions

static bool isPromotable (Move move, Square position)

Public Attributes

Ptype target
bool promotable
bool same

Detailed Description

Definition at line 61 of file pattern.h.


Constructor & Destructor Documentation

osl::rating::LongTarget::LongTarget ( Ptype  t,
bool  p,
bool  s,
int  attack,
int  defense 
) [inline]

Definition at line 65 of file pattern.h.


Member Function Documentation

static bool osl::rating::LongTarget::isPromotable ( Move  move,
Square  position 
) [inline, static]
bool osl::rating::LongTarget::match ( const NumEffectState &  state,
Move  move,
PieceSquare  p,
const RatingEnv env 
) const [inline]
bool osl::rating::LongTarget::matchOtherThanPromotable ( const NumEffectState &  state,
Move  move,
PieceSquare  p,
const RatingEnv env 
) const [inline]
const std::string osl::rating::LongTarget::name ( ) const

Member Data Documentation

Definition at line 64 of file pattern.h.

Referenced by match(), and osl::rating::PatternBlock::match().

Definition at line 64 of file pattern.h.

Referenced by match(), and matchOtherThanPromotable().

Definition at line 63 of file pattern.h.

Referenced by match(), and matchOtherThanPromotable().


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines