構造体 テンプレート osl::hash::GeneralHashKey< BoardKeyBase >

BoardKey + 駒台(piece stand). [詳細]

#include <boardKey.h>

osl::hash::GeneralHashKey< BoardKeyBase >に対する継承グラフ
Inheritance graph
[凡例]
osl::hash::GeneralHashKey< BoardKeyBase >のコラボレーション図
Collaboration graph
[凡例]

すべてのメンバ一覧

Public 型

typedef BoardKeyBase base_t
typedef BoardKeyBase::int_t int_t

Public メソッド

 GeneralHashKey ()
const base_tboardKey () const
unsigned int signature () const
const PieceStandpieceStand () const
void setPieceStand (const PieceStand &p)
size_t size () const
int_t operator[] (size_t i) const
int_toperator[] (size_t i)
bool isSameBoard (const GeneralHashKey &key) const
 駒台の情報を除いて同じかどうか.
GeneralHashKeyoperator+= (const GeneralHashKey &r)
GeneralHashKeyoperator-= (const GeneralHashKey &r)
const PieceStand blackStand () const
void changeTurn ()
void setPlayer (Player p)
bool isPlayerOfTurn (Player p) const
Player turn () const
void setRandom ()
 pieceStandには触らない

Public 変数

BoardKeyBase board_key
PieceStand piece_stand

説明

template<typename BoardKeyBase>
struct osl::hash::GeneralHashKey< BoardKeyBase >

BoardKey + 駒台(piece stand).

boardKey.h119 行で定義されています。


型定義

template<typename BoardKeyBase>
typedef BoardKeyBase osl::hash::GeneralHashKey< BoardKeyBase >::base_t

boardKey.h121 行で定義されています。

template<typename BoardKeyBase>
typedef BoardKeyBase::int_t osl::hash::GeneralHashKey< BoardKeyBase >::int_t

boardKey.h125 行で定義されています。


コンストラクタとデストラクタ

template<typename BoardKeyBase>
osl::hash::GeneralHashKey< BoardKeyBase >::GeneralHashKey (  )  [inline]

boardKey.h127 行で定義されています。


関数

template<typename BoardKeyBase>
const PieceStand osl::hash::GeneralHashKey< BoardKeyBase >::blackStand (  )  const [inline]

boardKey.h172 行で定義されています。

参照先 osl::hash::GeneralHashKey< BoardKeyBase >::piece_stand.

template<typename BoardKeyBase>
const base_t& osl::hash::GeneralHashKey< BoardKeyBase >::boardKey (  )  const [inline]
template<typename BoardKeyBase>
void osl::hash::GeneralHashKey< BoardKeyBase >::changeTurn (  )  [inline]
template<typename BoardKeyBase>
bool osl::hash::GeneralHashKey< BoardKeyBase >::isPlayerOfTurn ( Player  p  )  const [inline]
template<typename BoardKeyBase>
bool osl::hash::GeneralHashKey< BoardKeyBase >::isSameBoard ( const GeneralHashKey< BoardKeyBase > &  key  )  const [inline]

駒台の情報を除いて同じかどうか.

手番が異なるものは異なると定義する

boardKey.h156 行で定義されています。

参照先 osl::hash::GeneralHashKey< BoardKeyBase >::board_key, と osl::hash::GeneralHashKey< BoardKeyBase >::boardKey().

template<typename BoardKeyBase>
GeneralHashKey& osl::hash::GeneralHashKey< BoardKeyBase >::operator+= ( const GeneralHashKey< BoardKeyBase > &  r  )  [inline]
template<typename BoardKeyBase>
GeneralHashKey& osl::hash::GeneralHashKey< BoardKeyBase >::operator-= ( const GeneralHashKey< BoardKeyBase > &  r  )  [inline]
template<typename BoardKeyBase>
int_t& osl::hash::GeneralHashKey< BoardKeyBase >::operator[] ( size_t  i  )  [inline]

boardKey.h149 行で定義されています。

参照先 osl::hash::GeneralHashKey< BoardKeyBase >::board_key.

template<typename BoardKeyBase>
int_t osl::hash::GeneralHashKey< BoardKeyBase >::operator[] ( size_t  i  )  const [inline]
template<typename BoardKeyBase>
const PieceStand& osl::hash::GeneralHashKey< BoardKeyBase >::pieceStand (  )  const [inline]
template<typename BoardKeyBase>
void osl::hash::GeneralHashKey< BoardKeyBase >::setPieceStand ( const PieceStand p  )  [inline]

boardKey.h140 行で定義されています。

参照先 osl::hash::GeneralHashKey< BoardKeyBase >::piece_stand.

template<typename BoardKeyBase>
void osl::hash::GeneralHashKey< BoardKeyBase >::setPlayer ( Player  p  )  [inline]

boardKey.h180 行で定義されています。

参照先 osl::hash::GeneralHashKey< BoardKeyBase >::board_key.

参照元 osl::hash::HashKey::HashKey().

template<typename SignatureBoardKeyBase >
void osl::hash::GeneralHashKey< SignatureBoardKeyBase >::setRandom (  )  [inline]

pieceStandには触らない

boardKey.tcc24 行で定義されています。

参照先 osl::hash::GeneralHashKey< BoardKeyBase >::board_key.

template<typename BoardKeyBase>
unsigned int osl::hash::GeneralHashKey< BoardKeyBase >::signature (  )  const [inline]
template<typename BoardKeyBase>
size_t osl::hash::GeneralHashKey< BoardKeyBase >::size (  )  const [inline]
template<typename BoardKeyBase>
Player osl::hash::GeneralHashKey< BoardKeyBase >::turn (  )  const [inline]

変数

template<typename BoardKeyBase>
BoardKeyBase osl::hash::GeneralHashKey< BoardKeyBase >::board_key
template<typename BoardKeyBase>
PieceStand osl::hash::GeneralHashKey< BoardKeyBase >::piece_stand

この構造体の説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
Sun May 16 09:58:21 2010に生成されました。  doxygen 1.6.3