Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GoRegionBoard.cpp File Reference


Detailed Description

See GoRegionBoard.h.

Definition in file GoRegionBoard.cpp.

#include "SgSystem.h"
#include "GoRegionBoard.h"
#include <iostream>
#include "GoBlock.h"
#include "GoChain.h"
#include "GoEyeUtil.h"
#include "GoRegion.h"
#include "SgDebug.h"
#include "SgConnCompIterator.h"
#include "SgWrite.h"

Go to the source code of this file.

Variables

static const bool CHECK = SG_CHECK && true
static const bool HEAVYCHECK = SG_HEAVYCHECK && CHECK && false
static const bool DEBUG_REGION_BOARD = false
const int REGION_CODE_BASE = 2000
const int REGION_REMOVE = REGION_CODE_BASE + 0
const int REGION_ADD = REGION_CODE_BASE + 1
const int REGION_REMOVE_BLOCK = REGION_CODE_BASE + 2
const int REGION_ADD_BLOCK = REGION_CODE_BASE + 3
const int REGION_ADD_STONE = REGION_CODE_BASE + 4
const int REGION_ADD_STONE_TO_BLOCK = REGION_CODE_BASE + 5


Variable Documentation

const bool CHECK = SG_CHECK && true [static]

Definition at line 22 of file GoRegionBoard.cpp.

const bool DEBUG_REGION_BOARD = false [static]

Definition at line 26 of file GoRegionBoard.cpp.

Referenced by GoRegionBoard::Clear(), GoRegionBoard::ExecuteMovePrologue(), GoRegionBoard::OnExecutedUncodedMove(), and GoRegionBoard::OnUndoneMove().

const bool HEAVYCHECK = SG_HEAVYCHECK && CHECK && false [static]

Definition at line 24 of file GoRegionBoard.cpp.

const int REGION_ADD = REGION_CODE_BASE + 1 [static]

Definition at line 30 of file GoRegionBoard.cpp.

Referenced by GoRegionBoard::AddRegion(), and GoRegionBoard::OnUndoneMove().

const int REGION_ADD_BLOCK = REGION_CODE_BASE + 3 [static]

Definition at line 32 of file GoRegionBoard.cpp.

Referenced by GoRegionBoard::AddBlock(), and GoRegionBoard::OnUndoneMove().

const int REGION_ADD_STONE = REGION_CODE_BASE + 4 [static]

Definition at line 33 of file GoRegionBoard.cpp.

Referenced by GoRegionBoard::OnUndoneMove(), and GoRegionBoard::PushStone().

const int REGION_ADD_STONE_TO_BLOCK = REGION_CODE_BASE + 5 [static]

Definition at line 34 of file GoRegionBoard.cpp.

Referenced by GoRegionBoard::AppendStone(), and GoRegionBoard::OnUndoneMove().

const int REGION_CODE_BASE = 2000 [static]

Definition at line 28 of file GoRegionBoard.cpp.

const int REGION_REMOVE = REGION_CODE_BASE + 0 [static]

Definition at line 29 of file GoRegionBoard.cpp.

Referenced by GoRegionBoard::OnUndoneMove(), and GoRegionBoard::RemoveRegion().

const int REGION_REMOVE_BLOCK = REGION_CODE_BASE + 2 [static]

Definition at line 31 of file GoRegionBoard.cpp.

Referenced by GoRegionBoard::OnUndoneMove(), and GoRegionBoard::RemoveBlock().


17 Jun 2010 Doxygen 1.4.7