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

#include <pattern.h>

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

List of all members.

Public Member Functions

 PatternLong2 (Direction d, Ptype s, LongTarget2 t2)
bool match (const NumEffectState &state, Move move, const RatingEnv &) const

Static Public Member Functions

static const Piece find (const NumEffectState &state, Move move, Direction direction)

Static Private Member Functions

static const std::string name (Direction d, Ptype self)

Private Attributes

Direction direction
Ptype self
LongTarget2 target2

Detailed Description

Definition at line 149 of file pattern.h.


Constructor & Destructor Documentation

Definition at line 83 of file pattern.cc.

References osl::BISHOP, osl::LANCE, osl::ROOK, and osl::unpromote().


Member Function Documentation

static const Piece osl::rating::PatternLong2::find ( const NumEffectState &  state,
Move  move,
Direction  direction 
) [inline, static]
bool osl::rating::PatternLong2::match ( const NumEffectState &  state,
Move  move,
const RatingEnv  
) const [inline, virtual]
const std::string osl::rating::PatternLong2::name ( Direction  d,
Ptype  self 
) [static, private]

Definition at line 90 of file pattern.cc.

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


Member Data Documentation

Definition at line 151 of file pattern.h.

Referenced by find(), and match().

Definition at line 152 of file pattern.h.

Definition at line 153 of file pattern.h.

Referenced by match().


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