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

#include <dualThreatmateState.h>

Collaboration diagram for osl::search::DualThreatmateState:
Collaboration graph
[legend]

List of all members.

Classes

struct  Flags

Public Member Functions

 DualThreatmateState (ThreatmateState::Status b=ThreatmateState::UNKNOWN, ThreatmateState::Status w=ThreatmateState::UNKNOWN)
const ThreatmateStatestatus (Player king) const
void setThreatmate (Player king, Move m)
bool isThreatmate (Player king) const
const Move threatmateMove (Player king) const
bool maybeThreatmate (Player king) const
bool mayHaveCheckmate (Player king) const
void updateInLock (Player turn, const DualThreatmateState *parent, bool in_check)

Public Attributes

SendOffSquare::SendOff8 sendoffs
 XXX: QuiescenceRecord への詰め込みのため
struct
osl::search::DualThreatmateState::Flags 
flags

Private Member Functions

ThreatmateStatewstatus (Player king)

Private Attributes

CArray< Move, 2 > threatmate_move
CArray< ThreatmateState, 2 > king_status

Detailed Description

Definition at line 14 of file dualThreatmateState.h.


Constructor & Destructor Documentation


Member Function Documentation

void osl::search::DualThreatmateState::updateInLock ( Player  turn,
const DualThreatmateState parent,
bool  in_check 
) [inline]

Definition at line 18 of file dualThreatmateState.h.

References king_status.

Referenced by DualThreatmateState(), setThreatmate(), and updateInLock().


Member Data Documentation

Definition at line 17 of file dualThreatmateState.h.

Referenced by status(), and wstatus().

SendOffSquare::SendOff8 osl::search::DualThreatmateState::sendoffs [mutable]

XXX: QuiescenceRecord への詰め込みのため

Definition at line 24 of file dualThreatmateState.h.

Referenced by osl::search::QuiescenceRecord::sendOffSquare().

Definition at line 16 of file dualThreatmateState.h.

Referenced by setThreatmate(), and threatmateMove().


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