Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  
Namespaces | Functions

GoGtpCommandUtil.h File Reference

Utils for Go GTP commands. More...

#include <cstddef>
#include "SgBlackWhite.h"
#include "SgBoardColor.h"
#include "SgPoint.h"
#include "SgVector.h"

Go to the source code of this file.

Namespaces

namespace  GoGtpCommandUtil

Functions

SgEmptyBlackWhite GoGtpCommandUtil::EmptyBlackWhiteArg (const GtpCommand &cmd, std::size_t number)
SgBlackWhite GoGtpCommandUtil::BlackWhiteArg (const GtpCommand &cmd, std::size_t number)
SgPoint GoGtpCommandUtil::EmptyPointArg (const GtpCommand &cmd, std::size_t number, const GoBoard &board)
SgVector< SgPointGoGtpCommandUtil::GetHandicapStones (int size, int n)
 Return the handicap stone locations as defined by the GTP standard.
SgMove GoGtpCommandUtil::MoveArg (const GtpCommand &cmd, std::size_t number, const GoBoard &board)
void GoGtpCommandUtil::ParseMultiStoneArgument (GtpCommand &cmd, const GoBoard &board, SgBlackWhite &toPlay, SgBlackWhite &defender, SgVector< SgPoint > &crucial)
 Parse argument list consisting of toPlay followed by list of stones.
SgPoint GoGtpCommandUtil::PointArg (const GtpCommand &cmd, const GoBoard &board)
SgPoint GoGtpCommandUtil::PointArg (const GtpCommand &cmd, std::size_t number, const GoBoard &board)
SgVector< SgPointGoGtpCommandUtil::PointListArg (const GtpCommand &cmd, std::size_t number, const GoBoard &board)
 Return point list argument starting a given argument number to the end of arguments.
SgVector< SgPointGoGtpCommandUtil::PointListArg (const GtpCommand &cmd, const GoBoard &board)
 Return point list argument using all arguments.
void GoGtpCommandUtil::RespondNumberArray (GtpCommand &cmd, const SgPointArray< int > &array, int scale, const GoBoard &board)
std::string GoGtpCommandUtil::SortResponseAnalyzeCommands (const std::string &response)
 Sort response to gogui-analyze_commands alphabetically by label.
SgPoint GoGtpCommandUtil::StoneArg (const GtpCommand &cmd, std::size_t number, const GoBoard &board)

Detailed Description

Utils for Go GTP commands.

Definition in file GoGtpCommandUtil.h.


Sun Mar 13 2011 Doxygen 1.7.1