All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions | Static Public Attributes
osl::PtypeTraits< BISHOP > Struct Template Reference

#include <ptypeTraits.h>

List of all members.

Static Public Member Functions

static const char * name ()
static const char * csaName ()

Static Public Attributes

static const bool isBasic = true
static const bool canPromote = true
static const bool betterToPromote = true
static const Ptype moveType = BISHOP
static const Ptype basicType = BISHOP
static const int indexMin = 36
static const int indexLimit = 38
static const int dropBlackFromY = 1
static const int dropBlackToY = 9
static const int mayPromoteToY = 9
static const int moveMask

Detailed Description

template<>
struct osl::PtypeTraits< BISHOP >

Definition at line 193 of file ptypeTraits.h.


Member Function Documentation

static const char* osl::PtypeTraits< BISHOP >::csaName ( ) [inline, static]

Definition at line 201 of file ptypeTraits.h.

static const char* osl::PtypeTraits< BISHOP >::name ( ) [inline, static]

Definition at line 200 of file ptypeTraits.h.


Member Data Documentation

const Ptype osl::PtypeTraits< BISHOP >::basicType = BISHOP [static]

Definition at line 199 of file ptypeTraits.h.

const bool osl::PtypeTraits< BISHOP >::betterToPromote = true [static]

Definition at line 197 of file ptypeTraits.h.

const bool osl::PtypeTraits< BISHOP >::canPromote = true [static]

Definition at line 196 of file ptypeTraits.h.

const int osl::PtypeTraits< BISHOP >::dropBlackFromY = 1 [static]

Definition at line 204 of file ptypeTraits.h.

const int osl::PtypeTraits< BISHOP >::dropBlackToY = 9 [static]

Definition at line 205 of file ptypeTraits.h.

const int osl::PtypeTraits< BISHOP >::indexLimit = 38 [static]

Definition at line 203 of file ptypeTraits.h.

const int osl::PtypeTraits< BISHOP >::indexMin = 36 [static]
const bool osl::PtypeTraits< BISHOP >::isBasic = true [static]

Definition at line 195 of file ptypeTraits.h.

const int osl::PtypeTraits< BISHOP >::mayPromoteToY = 9 [static]

Definition at line 206 of file ptypeTraits.h.

const int osl::PtypeTraits< BISHOP >::moveMask [static]
Initial value:
    DirectionTraits<LONG_UL>::mask|DirectionTraits<LONG_UR>::mask
    |DirectionTraits<LONG_DL>::mask|DirectionTraits<LONG_DR>::mask

Definition at line 207 of file ptypeTraits.h.

const Ptype osl::PtypeTraits< BISHOP >::moveType = BISHOP [static]

Definition at line 198 of file ptypeTraits.h.


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