All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
osl::effect_util::Neighboring8Effect::Table Class Reference
Collaboration diagram for osl::effect_util::Neighboring8Effect::Table:
Collaboration graph
[legend]

Classes

struct  Entry
 

Public Member Functions

 Table ()
 
bool hasEffect (const NumEffectState &state, PtypeO ptypeo, Square from, Square target) const
 

Private Member Functions

void init (Player)
 
template<int maxCount>
bool hasAtMaxPieceBetween (const NumEffectState &state, Square from, Square target) const
 

Private Attributes

CArray2d< Entry, PTYPEO_SIZE,
Offset32::SIZE
table
 

Detailed Description

Definition at line 19 of file neighboring8Effect.h.

Constructor & Destructor Documentation

osl::effect_util::Neighboring8Effect::Table::Table ( )

Definition at line 6 of file neighboring8Effect.cc.

References osl::BLACK, and osl::WHITE.

Member Function Documentation

template<int maxCount>
bool osl::effect_util::Neighboring8Effect::Table::hasAtMaxPieceBetween ( const NumEffectState &  state,
Square  from,
Square  target 
) const
inlineprivate
bool osl::effect_util::Neighboring8Effect::Table::hasEffect ( const NumEffectState &  state,
PtypeO  ptypeo,
Square  from,
Square  target 
) const
inline
void osl::effect_util::Neighboring8Effect::Table::init ( Player  player)
private

Member Data Documentation

CArray2d<Entry,PTYPEO_SIZE,Offset32::SIZE> osl::effect_util::Neighboring8Effect::Table::table
private

Definition at line 29 of file neighboring8Effect.h.

Referenced by hasEffect().


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