All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Namespaces | Constant Groups | Enumerations | Functions
player.h File Reference
#include <boost/static_assert.hpp>
#include <cassert>
#include <iosfwd>
Include dependency graph for player.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  osl::PlayerTraits< P >
 
struct  osl::PlayerTraits< BLACK >
 
struct  osl::PlayerTraits< WHITE >
 

Namespaces

 osl
 attackDefense.h
 

Constant Groups

 osl
 attackDefense.h
 

Enumerations

enum  osl::Player { osl::BLACK =0, osl::WHITE = -1 }
 

Functions

Player osl::alt (Player player)
 
int osl::playerToIndex (Player player)
 
Player osl::indexToPlayer (int n)
 
int osl::playerToMul (Player player)
 
int osl::playerToSign (Player player)
 
int osl::playerToMask (Player player)
 
int osl::operator+ (Player, int)
 
int osl::operator+ (int, Player)
 
int osl::operator- (Player, int)
 
int osl::operator- (int, Player)
 
int osl::operator* (Player, int)
 
int osl::operator* (int, Player)
 
int osl::operator/ (Player, int)
 
int osl::operator/ (int, Player)
 
bool osl::isValid (Player player)
 cast等で作られたplayerが正しいかどうかを返す More...
 
std::ostream & osl::operator<< (std::ostream &os, Player player)