Namespaces | Enumerations | Functions
ChessPosition.cc File Reference

This file contains the implementation of class ChessPosition. More...

#include "sys.h"
#include <sstream>
#include <cassert>
#include "ChessPosition.h"
#include "Direction.h"
#include "ChessNotation.h"
#include "debug.h"
Include dependency graph for ChessPosition.cc:

Go to the source code of this file.

Namespaces

 cwchess
 A namespace for all chess related objects that are not related to the GUI.
 

Enumerations

enum  up_and_right { right = 1, up_left = 7, up = 8, up_right = 9 }
 
enum  down_and_left { left = 1, down_right = 7, down = 8, down_left = 9 }
 

Functions

template<typename T >
void cwchess::move (mask_t& m, T)
 
template<>
void cwchess::move< up_and_right > (mask_t& m, up_and_right offset)
 
template<>
void cwchess::move< down_and_left > (mask_t& m, down_and_left offset)
 

Detailed Description

This file contains the implementation of class ChessPosition.

Definition in file ChessPosition.cc.


Copyright © 2006 - 2010 Carlo Wood.  All rights reserved.