Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GoBook.cpp File Reference


Detailed Description

Definition in file GoBook.cpp.

#include "SgSystem.h"
#include "GoBook.h"
#include <algorithm>
#include <fstream>
#include <sstream>
#include "GoBoard.h"
#include "GoBoardUtil.h"
#include "GoGtpCommandUtil.h"
#include "GoGtpEngine.h"
#include "GoModBoard.h"
#include "SgDebug.h"
#include "SgException.h"
#include "SgWrite.h"

Go to the source code of this file.

Functions

template<typename T>
bool Contains (const vector< T > &v, const T &elem)
template<typename T>
bool Erase (vector< T > &v, const T &elem)
vector< SgPointGetSequence (const GoBoard &bd)


Function Documentation

template<typename T>
bool @4::Contains ( const vector< T > &  v,
const T &  elem 
) [static]

Definition at line 28 of file GoBook.cpp.

Referenced by GoBook::Add(), GoRegionBoard::AddRegion(), GoRegionBoard::CheckConsistency(), GoRegion::HasBlockLibs(), GoRegion::HasLibsForBlock(), GoBook::InsertEntry(), GoRegion::InsideLibs(), GoRegion::JointLibs(), GoBookCommands::PositionInfo(), and GoBoardUtil::ScoreSimpleEndPosition().

template<typename T>
bool @4::Erase ( vector< T > &  v,
const T &  elem 
) [static]

Definition at line 35 of file GoBook.cpp.

Referenced by GoBook::Delete().

vector<SgPoint> @4::GetSequence ( const GoBoard bd  )  [static]

Definition at line 47 of file GoBook.cpp.

References GoBoard::Move(), GoBoard::MoveNumber(), SG_BLACK, and SgOppBW().

Referenced by GoBook::Add().


17 Jun 2010 Doxygen 1.4.7