osl::DirectionTraitsGen< U > 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< U > Struct Template Reference

`#include <directionTraits.h>`

## Static Public Attributes
static const int | blackDx =0
static const int | blackDy =-1
static const bool | canPromoteTo =true
static const Direction | altDir =D
static const Direction | longDir =LONG_U
static const Direction | primDir =U
static const int | ptypeMask

## Detailed Description

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

Definition at line 29 of file directionTraits.h.

## Member Data Documentation

const Direction osl::DirectionTraitsGen< U >::altDir =D
| static

Definition at line 33 of file directionTraits.h.

const int osl::DirectionTraitsGen< U >::blackDx =0
| static

Definition at line 30 of file directionTraits.h.

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

Definition at line 31 of file directionTraits.h.

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

Definition at line 32 of file directionTraits.h.

const Direction osl::DirectionTraitsGen< U >::longDir =LONG_U
| static

Definition at line 34 of file directionTraits.h.

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

Definition at line 35 of file directionTraits.h.

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

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

Definition at line 36 of file directionTraits.h.

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

- directionTraits.h