クラス osl::rating::Pattern

#include <pattern.h>

osl::rating::Patternに対する継承グラフ
Inheritance graph
[凡例]
osl::rating::Patternのコラボレーション図
Collaboration graph
[凡例]

すべてのメンバ一覧

Public メソッド

 Pattern (Direction d, Ptype s, Ptype t, bool ss, int attack, int defense)
 Pattern (Direction d, Direction d2, Ptype s, Ptype t, bool ss, int attack, int defense)
bool match (const NumEffectState &state, Move move, const RatingEnv &env) const

Static Public メソッド

static Position nextPosition (Player player, Position start, Direction direction, Direction direction2)
static Position nextPosition (Move move, Direction direction, Direction direction2)

Static Public 変数

static const Direction INVALID = LONG_UL

Static Private メソッド

static const std::string name (Direction d, Direction d2, Ptype self, Ptype target, bool same)

Private 変数

Direction direction
Direction direction2
Ptype self
Ptype target
bool same

説明

pattern.h13 行で定義されています。


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

osl::rating::Pattern::Pattern ( Direction  d,
Ptype  s,
Ptype  t,
bool  ss,
int  attack,
int  defense 
) [inline]

pattern.h23 行で定義されています。

osl::rating::Pattern::Pattern ( Direction  d,
Direction  d2,
Ptype  s,
Ptype  t,
bool  ss,
int  attack,
int  defense 
) [inline]

pattern.h28 行で定義されています。


関数

bool osl::rating::Pattern::match ( const NumEffectState &  state,
Move  move,
const RatingEnv env 
) const [inline, virtual]
const std::string osl::rating::Pattern::name ( Direction  d,
Direction  d2,
Ptype  self,
Ptype  target,
bool  same 
) [static, private]

pattern.cc6 行で定義されています。

参照先 osl::PtypeTable::getCsaName(), INVALID, と osl::Ptype_Table.

static Position osl::rating::Pattern::nextPosition ( Move  move,
Direction  direction,
Direction  direction2 
) [inline, static]

pattern.h40 行で定義されています。

参照先 nextPosition(), osl::Move::player(), と osl::Move::to().

static Position osl::rating::Pattern::nextPosition ( Player  player,
Position  start,
Direction  direction,
Direction  direction2 
) [inline, static]

変数

pattern.h18 行で定義されています。

参照元 match().

pattern.h18 行で定義されています。

参照元 match().

const Direction osl::rating::Pattern::INVALID = LONG_UL [static]

pattern.h16 行で定義されています。

参照元 osl::rating::PatternGroup::name(), name(), と nextPosition().

pattern.h20 行で定義されています。

参照元 match().

pattern.h19 行で定義されています。

pattern.h19 行で定義されています。

参照元 match().


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