osl::PtypeDirectionTraits< T, D > 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::PtypeDirectionTraits< T, D > Struct Template Reference

`#include <ptypeTraits.h>`

## Static Public Attributes
static const bool | hasMove =(PtypeTraits<T>::moveMask & DirectionTraits<D>::mask)!=0
static const bool | canMove
static const MoveConstraint | moveConstraint

## Detailed Description

### template<Ptype T, Direction D>
struct osl::PtypeDirectionTraits< T, D >

Definition at line 346 of file ptypeTraits.h.

## Member Data Documentation

template<Ptype T, Direction D>

const bool osl::PtypeDirectionTraits< T, D >::canMove
| static

Initial value:
=
(PtypeTraits<T>::moveMask & DirectionTraits<D>::mask)!=0 ||
(PtypeTraits<T>::moveMask &
DirectionTraits<DirectionTraits<D>::longDir>::mask)!=0

Definition at line 349 of file ptypeTraits.h.

template<Ptype T, Direction D>

const bool osl::PtypeDirectionTraits< T, D >::hasMove =(PtypeTraits<T>::moveMask & DirectionTraits<D>::mask)!=0
| static

Definition at line 348 of file ptypeTraits.h.

template<Ptype T, Direction D>

const MoveConstraint osl::PtypeDirectionTraits< T, D >::moveConstraint
| static

Initial value:
=
(PtypeDirectionTraits<T,D>::canMove
? (PtypeDirectionTraits<PtypeFuns<T>::promotePtype,D>::canMove
? NoConstraint : OnlyBasic )
: (PtypeDirectionTraits<PtypeFuns<T>::promotePtype,D>::canMove
? OnlyPromoted : CannotMove))

Definition at line 353 of file ptypeTraits.h.

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

- ptypeTraits.h