osl::DirectionTraitsGen< UL > Struct Template Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Attributes | List of all members
osl::DirectionTraitsGen< UL > Struct Template Reference

`#include <directionTraits.h>`

## Static Public Attributes
static const int | blackDx =1
static const int | blackDy =-1
static const bool | canPromoteTo =true
static const Direction | altDir =DR
static const Direction | longDir =LONG_UL
static const Direction | primDir =UL
static const int | ptypeMask

## Detailed Description

### template<>
struct osl::DirectionTraitsGen< UL >

Definition at line 16 of file directionTraits.h.

## Member Data Documentation

const Direction osl::DirectionTraitsGen< UL >::altDir =DR
| static

Definition at line 20 of file directionTraits.h.

const int osl::DirectionTraitsGen< UL >::blackDx =1
| static

Definition at line 17 of file directionTraits.h.

const int osl::DirectionTraitsGen< UL >::blackDy =-1
| static

Definition at line 18 of file directionTraits.h.

const bool osl::DirectionTraitsGen< UL >::canPromoteTo =true
| static

Definition at line 19 of file directionTraits.h.

const Direction osl::DirectionTraitsGen< UL >::longDir =LONG_UL
| static

Definition at line 21 of file directionTraits.h.

const Direction osl::DirectionTraitsGen< UL >::primDir =UL
| static

Definition at line 22 of file directionTraits.h.

const int osl::DirectionTraitsGen< UL >::ptypeMask
| static

Initial value:
=
(1<<PPAWN)|(1<<PLANCE)|(1<<PKNIGHT)|(1<<PSILVER)|(1<<PBISHOP)|
(1<<PROOK)|(1<<KING)|(1<<GOLD)|(1<<SILVER)|(1<<BISHOP)

Definition at line 23 of file directionTraits.h.

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

- directionTraits.h