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

#include <pinAttack.h>

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

List of all members.

Public Member Functions

 PinAttack (bool a, Ptype s, Ptype t)
bool match (const NumEffectState &state, Move move, const RatingEnv &, Piece p) const
bool match (const NumEffectState &state, Move move, const RatingEnv &env) const

Static Public Member Functions

static int index (const NumEffectState &state, Move move, const RatingEnv &, bool attack, Piece p)
static int index (const NumEffectState &state, Move move, const RatingEnv &env, bool attack)
static const std::string name (bool attack, Ptype self, Ptype target)

Private Attributes

bool attack
Ptype self
Ptype target

Detailed Description

Definition at line 13 of file pinAttack.h.


Constructor & Destructor Documentation

osl::rating::PinAttack::PinAttack ( bool  a,
Ptype  s,
Ptype  t 
) [inline]

Definition at line 18 of file pinAttack.h.


Member Function Documentation

static int osl::rating::PinAttack::index ( const NumEffectState &  state,
Move  move,
const RatingEnv ,
bool  attack,
Piece  p 
) [inline, static]
static int osl::rating::PinAttack::index ( const NumEffectState &  state,
Move  move,
const RatingEnv env,
bool  attack 
) [inline, static]
bool osl::rating::PinAttack::match ( const NumEffectState &  state,
Move  move,
const RatingEnv ,
Piece  p 
) const [inline]
bool osl::rating::PinAttack::match ( const NumEffectState &  state,
Move  move,
const RatingEnv env 
) const [inline, virtual]
static const std::string osl::rating::PinAttack::name ( bool  attack,
Ptype  self,
Ptype  target 
) [inline, static]

Definition at line 68 of file pinAttack.h.

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


Member Data Documentation

Definition at line 15 of file pinAttack.h.

Referenced by match().

Definition at line 16 of file pinAttack.h.

Definition at line 16 of file pinAttack.h.

Referenced by match().


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