Definition in file GoSetupUtil.cpp.
#include <cstdio>
#include "SgSystem.h"
#include "GoBoard.h"
#include "GoSetup.h"
#include "GoSetupUtil.h"
Go to the source code of this file.
Functions | |
| bool | IsBlackChar (char c) |
| bool | IsWhiteChar (char c) |
| bool | IsEmptyChar (char c) |
| bool | IsIgnoreChar (char c) |
| bool | ReadLine (std::streambuf &in, GoSetup &setup, int row, int &currLength) |
| GoSetup | GoSetupUtil::CreateSetupFromStream (std::streambuf &in, int &boardSize) |
| Create a setup instance from text stream. | |
| GoSetup | GoSetupUtil::CreateSetupFromString (std::string &in, int &boardSize) |
| GoSetup | GoSetupUtil::CurrentPosSetup (const GoBoard &bd) |
| Get a setup instance with the current position on board. | |
| bool @19::IsBlackChar | ( | char | c | ) | [static] |
| bool @19::IsEmptyChar | ( | char | c | ) | [static] |
| bool @19::IsIgnoreChar | ( | char | c | ) | [static] |
| bool @19::IsWhiteChar | ( | char | c | ) | [static] |
| bool @19::ReadLine | ( | std::streambuf & | in, | |
| GoSetup & | setup, | |||
| int | row, | |||
| int & | currLength | |||
| ) | [static] |
Definition at line 38 of file GoSetupUtil.cpp.
References IsBlackChar(), IsEmptyChar(), IsIgnoreChar(), IsWhiteChar(), GoSetup::m_stones, Pt(), SG_BLACK, SG_MAX_SIZE, and SG_WHITE.
Referenced by GoSetupUtil::CreateSetupFromStream().