All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | Static Private Member Functions | Static Private Attributes | Friends | List of all members
osl::eval::ml::NumPiecesBetweenBishopAndKing Class Reference

#include <majorPiece.h>

Collaboration diagram for osl::eval::ml::NumPiecesBetweenBishopAndKing:
Collaboration graph
[legend]

Static Public Member Functions

static MultiInt eval (const NumEffectState &state)
 

Static Private Member Functions

static void countBetween (const NumEffectState &state, Square king, Piece bishop, int &self_count, int &opp_count, int &total_count)
 

Static Private Attributes

static CArray< MultiInt, 9 > self_table
 
static CArray< MultiInt, 9 > opp_table
 
static CArray< MultiInt, 9 > all_table
 

Friends

class NumPiecesBetweenBishopAndKingSelf
 
class NumPiecesBetweenBishopAndKingOpp
 
class NumPiecesBetweenBishopAndKingAll
 

Detailed Description

Definition at line 500 of file majorPiece.h.

Member Function Documentation

void osl::eval::ml::NumPiecesBetweenBishopAndKing::countBetween ( const NumEffectState &  state,
Square  king,
Piece  bishop,
int &  self_count,
int &  opp_count,
int &  total_count 
)
staticprivate
osl::MultiInt osl::eval::ml::NumPiecesBetweenBishopAndKing::eval ( const NumEffectState &  state)
static

Friends And Related Function Documentation

friend class NumPiecesBetweenBishopAndKingAll
friend

Definition at line 504 of file majorPiece.h.

friend class NumPiecesBetweenBishopAndKingOpp
friend

Definition at line 503 of file majorPiece.h.

friend class NumPiecesBetweenBishopAndKingSelf
friend

Definition at line 502 of file majorPiece.h.

Member Data Documentation

osl::misc::CArray< MultiInt, 9 > osl::eval::ml::NumPiecesBetweenBishopAndKing::all_table
staticprivate
osl::misc::CArray< MultiInt, 9 > osl::eval::ml::NumPiecesBetweenBishopAndKing::opp_table
staticprivate
osl::misc::CArray< MultiInt, 9 > osl::eval::ml::NumPiecesBetweenBishopAndKing::self_table
staticprivate

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