Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GoBook::Entry Class Reference

#include <GoBook.h>

List of all members.


Detailed Description

Definition at line 44 of file GoBook.h.

Public Member Functions

void ApplyTo (GoBoard &bd) const
 Setup entry on a board.

Public Attributes

int m_size
 Board size.
int m_line
 Line number in the original file.
std::vector< SgPointm_sequence
std::vector< SgPointm_moves


Member Function Documentation

void GoBook::Entry::ApplyTo ( GoBoard bd  )  const

Setup entry on a board.

Definition at line 67 of file GoBook.cpp.

References GoBoard::Init(), GoBoard::IsLegal(), m_sequence, m_size, GoBoard::Play(), SG_ASSERT, GoBoard::Size(), and GoBoardUtil::UndoAll().


Member Data Documentation

int GoBook::Entry::m_line

Line number in the original file.

Definition at line 51 of file GoBook.h.

Referenced by GoBook::InsertEntry().

std::vector<SgPoint> GoBook::Entry::m_moves

Definition at line 55 of file GoBook.h.

Referenced by GoBook::InsertEntry().

std::vector<SgPoint> GoBook::Entry::m_sequence

Definition at line 53 of file GoBook.h.

Referenced by ApplyTo(), and GoBook::InsertEntry().

int GoBook::Entry::m_size

Board size.

Definition at line 48 of file GoBook.h.

Referenced by ApplyTo(), and GoBook::InsertEntry().


The documentation for this class was generated from the following files:


17 Jun 2010 Doxygen 1.4.7