All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | Private Types | Friends | List of all members
osl::effect::BoardBitEffect< State > Class Template Reference

91マスの盤上の駒の有無を91ビットで表現するState. More...

#include <boardBitEffect.h>

Inheritance diagram for osl::effect::BoardBitEffect< State >:
Inheritance graph
[legend]
Collaboration diagram for osl::effect::BoardBitEffect< State >:
Collaboration graph
[legend]

Public Types

typedef BoardBitEffect effect_state_t
 

Public Member Functions

template<typename OrigState >
 BoardBitEffect (OrigState &st)
 
 BoardBitEffect ()
 引数なしのコンストラクタも一応定義しておく More...
 
- Public Member Functions inherited from State
 State ()
 

Public Attributes

BoardBitMask emptyMask
 
- Public Attributes inherited from State
int count
 
osl::stl::vector< osl::Movemoves
 

Private Types

typedef BoardBitEffect< StateBoardBitState
 

Friends

class ApplyDoUndoSimpleMove< BLACK, BoardBitState >
 
class ApplyDoUndoCaptureMove< BLACK, BoardBitState >
 
class ApplyDoUndoDropMove< BLACK, BoardBitState >
 
class ApplyDoUndoSimpleMove< WHITE, BoardBitState >
 
class ApplyDoUndoCaptureMove< WHITE, BoardBitState >
 
class ApplyDoUndoDropMove< WHITE, BoardBitState >
 

Detailed Description

template<class State>
class osl::effect::BoardBitEffect< State >

91マスの盤上の駒の有無を91ビットで表現するState.

2つの位置の間がすべて空白かを高速に判定可能 64bitプロセッサあるいはSSE2命令があるプロセッサで特に有効 現在は使われていない

Definition at line 18 of file boardBitEffect.h.

Member Typedef Documentation

template<class State >
typedef BoardBitEffect<State> osl::effect::BoardBitEffect< State >::BoardBitState
private

Definition at line 19 of file boardBitEffect.h.

template<class State >
typedef BoardBitEffect osl::effect::BoardBitEffect< State >::effect_state_t

Definition at line 28 of file boardBitEffect.h.

Constructor & Destructor Documentation

template<class State >
template<typename OrigState >
osl::effect::BoardBitEffect< State >::BoardBitEffect ( OrigState &  st)
inlineexplicit

Definition at line 30 of file boardBitEffect.h.

template<class State >
osl::effect::BoardBitEffect< State >::BoardBitEffect ( )
inlineexplicit

引数なしのコンストラクタも一応定義しておく

Definition at line 35 of file boardBitEffect.h.

Friends And Related Function Documentation

template<class State >
friend class ApplyDoUndoCaptureMove< BLACK, BoardBitState >
friend

Definition at line 21 of file boardBitEffect.h.

template<class State >
friend class ApplyDoUndoCaptureMove< WHITE, BoardBitState >
friend

Definition at line 24 of file boardBitEffect.h.

template<class State >
friend class ApplyDoUndoDropMove< BLACK, BoardBitState >
friend

Definition at line 22 of file boardBitEffect.h.

template<class State >
friend class ApplyDoUndoDropMove< WHITE, BoardBitState >
friend

Definition at line 25 of file boardBitEffect.h.

template<class State >
friend class ApplyDoUndoSimpleMove< BLACK, BoardBitState >
friend

Definition at line 20 of file boardBitEffect.h.

template<class State >
friend class ApplyDoUndoSimpleMove< WHITE, BoardBitState >
friend

Definition at line 23 of file boardBitEffect.h.

Member Data Documentation

template<class State >
BoardBitMask osl::effect::BoardBitEffect< State >::emptyMask

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