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

SgProp.h File Reference

Properties for nodes in a game tree. More...

#include <string>
#include <vector>
#include "SgBlackWhite.h"
#include "SgPoint.h"
#include "SgVector.h"

Go to the source code of this file.

Classes

class  SgPropList
 Property list. More...
class  SgPropListIterator
 Iterate through Properties in a PropList. More...
class  SgProp
 Property base class. More...
class  SgPropUnknown
 Unknown property. More...
class  SgPropInt
 A property with integer value. More...
class  SgPropReal
 A property with a double value. More...
class  SgPropSimple
 A property with no associated value. More...
class  SgPropMultiple
 Multiple property. More...
class  SgPropValue
 Like SgPropInt but can change sign for opponent's value. More...
class  SgPropTime
 A property with time value. More...
class  SgPropMSec
 Like SgPropTime, but gets stored with millisecond precision rather than tenths of a second. More...
class  SgPropMove
 A property storing a point-move for games. More...
class  SgPropPointList
 A property storing a list of points. More...
class  SgPropText
 A property storing a text string. More...
class  SgPropTextList
 Keeps a string for each point in a set of points. More...
class  SgPropPlayer
 A property storing a player color (Black or White). More...
class  SgPropAddStone
 A property storing a list of stones to add to the board, or points to make empty. More...

Namespaces

namespace  SgPropUtil

Typedefs

typedef int SgPropID
 The ID associated with this property.
typedef int SgPropFlags
 The flags describing this property.

Enumerations

enum  SgPropPointFmt { SG_PROPPOINTFMT_GO, SG_PROPPOINTFMT_HEX }
 

Game dependent format for point values of SGF properties.

More...

Functions

std::string SgPropUtil::EscapeSpecialCharacters (const std::string &s, bool escapeColon)
SgPropPointFmt SgPropUtil::GetPointFmt (int gameNumber)
 Return point format for a given game.
std::string SgPropUtil::PointToSgfString (SgMove p, int boardSize, SgPropPointFmt fmt, int fileFormat=4)
 Convert point to SGF point string.
SgPoint SgPropUtil::SgfStringToPoint (const std::string &s, int boardSize, SgPropPointFmt fmt)
 Convert SGF point string to point.

Variables

const int SG_MAX_PROPCLASS = 150
 Maximum number of property classes defined.
const int SG_PROPCLASS_BLACK = 1 << 0
 Contains information related to Black player.
const int SG_PROPCLASS_WHITE = 1 << 1
 Contains information related to White player.
const int SG_PROPCLASS_INFO = 1 << 2
 Game info.
const int SG_PROPCLASS_ANNO = 1 << 3
 Annotation.
const int SG_PROPCLASS_STAT = 1 << 4
 Statistics generated by the program.
const int SG_PROPCLASS_ROOT = 1 << 5
 Property can only be stored in root.
const int SG_PROPCLASS_ANNO_MOVE = 1 << 6
 Move annotation.
const int SG_PROPCLASS_ANNO_POS = 1 << 7
 Position annotation.
const int SG_PROPCLASS_MOVE = 1 << 8
 Black or white move.
const int SG_PROPCLASS_MARK = 1 << 9
 Marks on board points.
const int SG_PROPCLASS_TIME = 1 << 10
 Time left info.
const int SG_PROPCLASS_ABSTRACT = 1 << 11
 Abstract property.
const int SG_PROPCLASS_NOT_FF3 = 1 << 12
 Property is not part of the FF[3] standard.
const int SG_PROPCLASS_NOT_FF4 = 1 << 13
 Property is not part of the FF[4] standard.
const int SG_PROPCLASS_CUSTOM = 1 << 14
 Custom Smart Go property.
const int SG_PROPCLASS_NOTCLEAN = 1 << 15
 Don't write prop when publishing clean file.
const int SG_PROPCLASS_NEWLINE = 1 << 16
 Write out this property starting on a new line.
General

SgPropID SG_PROP_NONE
 Default value returned by some functions.
SgPropID SG_PROP_UNKNOWN
 Unknown property read from disk.
Moves

SgPropID SG_PROP_MOVE
 Generic property for black and white move.
SgPropID SG_PROP_MOVE_BLACK
 Black move.
SgPropID SG_PROP_MOVE_WHITE
 White move.
Board edits

SgPropID SG_PROP_ADD_BLACK
 Add a list of black stones to the current position.
SgPropID SG_PROP_ADD_WHITE
 Add a list of white stones to the current position.
SgPropID SG_PROP_ADD_EMPTY
 Remove stones from the board.
SgPropID SG_PROP_PLAYER
 Whose turn it is to move after executing the node.
Value and territory

SgPropID SG_PROP_VALUE
 Node value expressed as positive = good for Black.
SgPropID SG_PROP_TERR_BLACK
 Black surrounded territory and dead white stones.
SgPropID SG_PROP_TERR_WHITE
 White surrounded territory and dead black stones.
Marks drawn on the board

SgPropID SG_PROP_MARKS
 Generic property for marked board points.
SgPropID SG_PROP_SELECT
 Selected points used to temporarily mark points.
SgPropID SG_PROP_MARKED
 Crosses displayed on stones and empty points.
SgPropID SG_PROP_TRIANGLE
 Triangles displayed on stones and empty points.
SgPropID SG_PROP_SQUARE
 Small squares or square stones.
SgPropID SG_PROP_DIAMOND
 Diamond marks.
SgPropID SG_PROP_CIRCLE
 Board points marked with small grey circles.
SgPropID SG_PROP_DIMMED
 Dimmed points.
SgPropID SG_PROP_LABEL
 Sequence of pairs: point, four letter label.
Time control

SgPropID SG_PROP_TIMES
 Generic property for time left information.
SgPropID SG_PROP_TIME_BLACK
 Time left for the black player (TimeProp).
SgPropID SG_PROP_TIME_WHITE
 Time left for the white player (TimeProp).
SgPropID SG_PROP_OT_BLACK
 Number of stones to play for black in this overtime period.
SgPropID SG_PROP_OT_WHITE
 Number of stones to play for white in this overtime period.
SgPropID SG_PROP_OT_NU_MOVES
 Number of moves per overtime period (0 = no overtime).
SgPropID SG_PROP_OT_PERIOD
 Length of each overtime period.
SgPropID SG_PROP_OVERHEAD
 Seconds of operator overhead for each move.
SgPropID SG_PROP_LOSE_TIME
 Added to root node if losing on time is enforced.
Statistics

SgPropID SG_PROP_COUNT
 Generic property subsuming all in statistics category.
SgPropID SG_PROP_TIME_USED
 The time used to solve a problem.
SgPropID SG_PROP_NUM_NODES
 The number of nodes looked at to solve a problem.
SgPropID SG_PROP_NUM_LEAFS
 The number of leaf nodes inspected.
SgPropID SG_PROP_MAX_DEPTH
 The maximal depth reached during the search.
SgPropID SG_PROP_DEPTH
 The number of plies searched.
SgPropID SG_PROP_PART_DEPTH
 The number of top level moves at deepest search.
SgPropID SG_PROP_EVAL
 A value computed for a position.
SgPropID SG_PROP_EXPECTED
 The move expected from the current player.
SgPropID SG_PROP_SELF_TEST
 Moves tried at a node in self-test mode.
Root props

SgPropID SG_PROP_FORMAT
 The file format used to store the game.
SgPropID SG_PROP_SIZE
 The board size.
SgPropID SG_PROP_GAME
 The game (encoding see SgTypes.TheGame).
SgPropID SG_PROP_SPEC_BLACK
 Species of the black player (human, computer, modem).
SgPropID SG_PROP_SPEC_WHITE
 Species of the white player (human, computer, modem).
SgPropID SG_PROP_CHINESE
 Number of Chinese handicap stones.
SgPropID SG_PROP_APPLIC
 The application that wrote this file.
Annotations

SgPropID SG_PROP_ANNOTATE
 Generic property subsuming all annotation properties.
SgPropID SG_PROP_COMMENT
 The textual comment of a node.
SgPropID SG_PROP_NAME
 Short textual comment.
SgPropID SG_PROP_CHECK
 Position marked with a check mark.
SgPropID SG_PROP_SIGMA
 Position marked with a sigma icon.
SgPropID SG_PROP_HOTSPOT
 General position mark.
SgPropID SG_PROP_FIGURE
 Divides the game into sections to be printed.
Position annotations

SgPropID SG_PROP_POS_ANNO
 Generic property subsuming all position annotations.
SgPropID SG_PROP_GOOD_BLACK
 Good position for Black.
SgPropID SG_PROP_GOOD_WHITE
 Good position for White.
SgPropID SG_PROP_EVEN_POS
 Even position.
SgPropID SG_PROP_UNCLEAR
 Unclear position.
Move annotations

SgPropID SG_PROP_MOVE_ANNO
 Generic property subsuming all move annotations.
SgPropID SG_PROP_GOOD_MOVE
 Denotes an exceptionally good move (! or !!).
SgPropID SG_PROP_BAD_MOVE
 Denotes a bad move (? or ??).
SgPropID SG_PROP_INTERESTING
 Denotes an interesting move (!?).
SgPropID SG_PROP_DOUBTFUL
 Denotes a doubtful move (?!).
Game info

SgPropID SG_PROP_INFO
 Generic property subsuming all game info props.
SgPropID SG_PROP_GAME_NAME
 The file name of the game.
SgPropID SG_PROP_GAME_COMMENT
 Comment pertaining to the whole game.
SgPropID SG_PROP_EVENT
 Text describing the event.
SgPropID SG_PROP_ROUND
 The round of the tournament.
SgPropID SG_PROP_DATE
 The date when the game was played.
SgPropID SG_PROP_PLACE
 Where the game was played.
SgPropID SG_PROP_PLAYER_BLACK
 Name of the black player.
SgPropID SG_PROP_PLAYER_WHITE
 Name of the white player.
SgPropID SG_PROP_RESULT
 Who won the game.
SgPropID SG_PROP_USER
 The person who entered the game and comments.
SgPropID SG_PROP_TIME
 The time allocated to each player.
SgPropID SG_PROP_SOURCE
 Where the game was copied from.
SgPropID SG_PROP_COPYRIGHT
 Who has the copyright on the material.
SgPropID SG_PROP_ANALYSIS
 Who analyzed the game.
SgPropID SG_PROP_RANK_BLACK
 Ranking of black player.
SgPropID SG_PROP_RANK_WHITE
 Ranking of white player.
SgPropID SG_PROP_TEAM_BLACK
 Team of black player.
SgPropID SG_PROP_TEAM_WHITE
 Team of white player.
SgPropID SG_PROP_OPENING
 The opening played in the game.
SgPropID SG_PROP_RULES
 Special rules (Go: Japanese or Chinese).
SgPropID SG_PROP_HANDICAP
 Number of handicap stones.
SgPropID SG_PROP_KOMI
 Komi value.
Abstract properties

SgPropID SG_PROP_FIND_MOVE
 Indicates that depth-first traversal searches text.
SgPropID SG_PROP_FIND_TEXT
 Indicates that depth-first traversal searches move.
SgPropID SG_PROP_BRANCH
 Used to search for branch points.
SgPropID SG_PROP_TERMINAL
 A terminal node, only used for display.
Smart Go specific properties

SgPropID SG_PROP_MOTIVE
 Move motive: why move was generated.
SgPropID SG_PROP_SEQUENCE
 Sequence of moves expected by computer player.
SgPropID SG_PROP_NOT_EMPTY
 Constraint: points must not be empty.
SgPropID SG_PROP_NOT_BLACK
 Constraint: points must not be black.
SgPropID SG_PROP_NOT_WHITE
 Constraint: points must not be white.

Detailed Description

Properties for nodes in a game tree.

Module SgProp defines properties that are stored in each node of a game tree. Most properties correspond to items written in the SGF file format, but there are other properties that are hidden and only used by the system.

Definition in file SgProp.h.


Typedef Documentation

typedef int SgPropFlags

The flags describing this property.

Definition at line 28 of file SgProp.h.

typedef int SgPropID

The ID associated with this property.

Definition at line 20 of file SgProp.h.


Enumeration Type Documentation

Game dependent format for point values of SGF properties.

Enumerator:
SG_PROPPOINTFMT_GO 

Point format used in Go.

Points are written as two letters. 'aa' is top left corner.

SG_PROPPOINTFMT_HEX 

Point format used in Hex and Reversi.

Points are written as letter/number. 'a1' is top left corner. Both letters 'i' and 'j' are used ('i' is not skipped as in standard Go coordinates)

Definition at line 33 of file SgProp.h.


Variable Documentation

const int SG_MAX_PROPCLASS = 150

Maximum number of property classes defined.

Definition at line 70 of file SgProp.h.

Referenced by SgProp::Register().

Add a list of black stones to the current position.

Definition at line 261 of file SgProp.cpp.

Referenced by SgNodeUtil::GetMoveNumber(), and SgProp::Init().

Remove stones from the board.

Definition at line 263 of file SgProp.cpp.

Referenced by SgNodeUtil::GetMoveNumber(), and SgProp::Init().

Add a list of white stones to the current position.

Definition at line 262 of file SgProp.cpp.

Referenced by SgNodeUtil::GetMoveNumber(), and SgProp::Init().

Who analyzed the game.

Definition at line 351 of file SgProp.cpp.

Referenced by SgProp::Init().

Generic property subsuming all annotation properties.

Definition at line 314 of file SgProp.cpp.

Referenced by SgProp::ConvertFindTextToPropID(), and SgProp::Init().

The application that wrote this file.

Definition at line 311 of file SgProp.cpp.

Referenced by SgProp::Init().

Denotes a bad move (? or ??).

Definition at line 332 of file SgProp.cpp.

Referenced by SgPropList::AppendMoveAnnotation(), SgProp::ConvertFindTextToPropID(), and SgProp::Init().

Used to search for branch points.

Definition at line 364 of file SgProp.cpp.

Referenced by SgProp::ConvertFindTextToPropID(), SgNode::HasProp(), and SgProp::Init().

Position marked with a check mark.

Definition at line 317 of file SgProp.cpp.

Referenced by SgProp::ConvertFindTextToPropID(), SgProp::Init(), and SgSearchTracer::TraceValue().

Number of Chinese handicap stones.

Definition at line 310 of file SgProp.cpp.

Referenced by SgProp::Init().

Board points marked with small grey circles.

Definition at line 278 of file SgProp.cpp.

Referenced by SgProp::Init().

The textual comment of a node.

Definition at line 315 of file SgProp.cpp.

Referenced by SgNode::AddComment(), SgProp::ConvertFindTextToPropID(), SgProp::Init(), and SgSearchTracer::InitTracing().

Who has the copyright on the material.

Definition at line 350 of file SgProp.cpp.

Referenced by SgProp::Init().

Generic property subsuming all in statistics category.

Definition at line 294 of file SgProp.cpp.

Referenced by SgProp::Init().

The date when the game was played.

Definition at line 342 of file SgProp.cpp.

Referenced by SgProp::Init().

The number of plies searched.

Definition at line 299 of file SgProp.cpp.

Referenced by SgProp::Init().

Diamond marks.

Definition at line 277 of file SgProp.cpp.

Referenced by SgProp::Init().

Dimmed points.

Definition at line 279 of file SgProp.cpp.

Referenced by SgProp::Init().

Denotes a doubtful move (?!).

Definition at line 334 of file SgProp.cpp.

Referenced by SgPropList::AppendMoveAnnotation(), and SgProp::Init().

A value computed for a position.

Definition at line 301 of file SgProp.cpp.

Referenced by SgProp::Init().

Even position.

Definition at line 326 of file SgProp.cpp.

Referenced by SgProp::Init().

Text describing the event.

Definition at line 340 of file SgProp.cpp.

Referenced by SgProp::Init().

The move expected from the current player.

Definition at line 302 of file SgProp.cpp.

Referenced by SgProp::Init().

Divides the game into sections to be printed.

Definition at line 320 of file SgProp.cpp.

Referenced by SgProp::Init().

Indicates that depth-first traversal searches text.

Definition at line 362 of file SgProp.cpp.

Referenced by SgProp::Init().

Indicates that depth-first traversal searches move.

Definition at line 363 of file SgProp.cpp.

Referenced by SgProp::Init().

The file format used to store the game.

Definition at line 305 of file SgProp.cpp.

Referenced by SgProp::Init(), and SgGameWriter::WriteGame().

The game (encoding see SgTypes.TheGame).

Definition at line 307 of file SgProp.cpp.

Referenced by SgProp::Init(), and SgGameWriter::WriteNode().

Comment pertaining to the whole game.

Definition at line 339 of file SgProp.cpp.

Referenced by SgProp::Init().

The file name of the game.

Definition at line 338 of file SgProp.cpp.

Referenced by SgProp::Init().

Good position for Black.

Definition at line 324 of file SgProp.cpp.

Referenced by SgProp::Init().

Denotes an exceptionally good move (! or !!).

Definition at line 331 of file SgProp.cpp.

Referenced by SgPropList::AppendMoveAnnotation(), SgProp::ConvertFindTextToPropID(), and SgProp::Init().

Good position for White.

Definition at line 325 of file SgProp.cpp.

Referenced by SgProp::Init().

Number of handicap stones.

Definition at line 358 of file SgProp.cpp.

Referenced by SgProp::Init().

General position mark.

Definition at line 319 of file SgProp.cpp.

Referenced by SgProp::ConvertFindTextToPropID(), and SgProp::Init().

Generic property subsuming all game info props.

Definition at line 337 of file SgProp.cpp.

Referenced by SgProp::ConvertFindTextToPropID(), and SgProp::Init().

Denotes an interesting move (!?).

Definition at line 333 of file SgProp.cpp.

Referenced by SgPropList::AppendMoveAnnotation(), and SgProp::Init().

Komi value.

Definition at line 359 of file SgProp.cpp.

Referenced by SgProp::Init().

Sequence of pairs: point, four letter label.

Definition at line 280 of file SgProp.cpp.

Referenced by SgProp::Init().

Added to root node if losing on time is enforced.

Definition at line 290 of file SgProp.cpp.

Referenced by SgProp::Init(), and SgNodeUtil::UpdateTime().

Crosses displayed on stones and empty points.

Definition at line 274 of file SgProp.cpp.

Referenced by SgProp::Init().

Generic property for marked board points.

Definition at line 272 of file SgProp.cpp.

Referenced by SgProp::ConvertFindTextToPropID(), and SgProp::Init().

The maximal depth reached during the search.

Definition at line 298 of file SgProp.cpp.

Referenced by SgProp::Init(), and SgSearchTracer::StartOfDepth().

Move motive: why move was generated.

Definition at line 368 of file SgProp.cpp.

Referenced by SgProp::Init().

Generic property for black and white move.

Definition at line 256 of file SgProp.cpp.

Referenced by SgPropList::Add(), SgNodeUtil::GetMoveNumber(), and SgProp::Init().

Generic property subsuming all move annotations.

Definition at line 330 of file SgProp.cpp.

Referenced by SgPropList::Add(), SgPropList::AppendMoveAnnotation(), and SgProp::Init().

Short textual comment.

Definition at line 316 of file SgProp.cpp.

Referenced by SgProp::ConvertFindTextToPropID(), and SgProp::Init().

Default value returned by some functions.

Definition at line 252 of file SgProp.cpp.

Referenced by SgNode::ContainsText(), SgProp::ConvertFindTextToPropID(), SgProp::GetIDOfLabel(), SgGameReader::HandleProperties(), and SgProp::Init().

Constraint: points must not be black.

Definition at line 371 of file SgProp.cpp.

Referenced by SgProp::Init().

Constraint: points must not be empty.

Definition at line 370 of file SgProp.cpp.

Referenced by SgProp::Init().

Constraint: points must not be white.

Definition at line 372 of file SgProp.cpp.

Referenced by SgProp::Init().

The number of leaf nodes inspected.

Definition at line 297 of file SgProp.cpp.

Referenced by SgProp::Init().

The number of nodes looked at to solve a problem.

Definition at line 296 of file SgProp.cpp.

Referenced by SgNode::CountNodes(), and SgProp::Init().

The opening played in the game.

Definition at line 356 of file SgProp.cpp.

Referenced by SgProp::Init().

Number of stones to play for black in this overtime period.

Definition at line 288 of file SgProp.cpp.

Referenced by SgTimeRecord::GetOTMovesFromTree(), SgProp::Init(), and SgTimeRecord::PlayedMove().

Number of moves per overtime period (0 = no overtime).

Definition at line 286 of file SgProp.cpp.

Referenced by SgProp::Init(), and SgNodeUtil::UpdateTime().

Length of each overtime period.

Definition at line 287 of file SgProp.cpp.

Referenced by SgProp::Init(), and SgNodeUtil::UpdateTime().

Number of stones to play for white in this overtime period.

Definition at line 289 of file SgProp.cpp.

Referenced by SgTimeRecord::GetOTMovesFromTree(), and SgProp::Init().

Seconds of operator overhead for each move.

Definition at line 291 of file SgProp.cpp.

Referenced by SgProp::Init(), and SgNodeUtil::UpdateTime().

The number of top level moves at deepest search.

Definition at line 300 of file SgProp.cpp.

Referenced by SgProp::Init().

Where the game was played.

Definition at line 343 of file SgProp.cpp.

Referenced by SgProp::Init().

Whose turn it is to move after executing the node.

Definition at line 264 of file SgProp.cpp.

Referenced by SgProp::Init(), and SgNode::Player().

Name of the black player.

Definition at line 344 of file SgProp.cpp.

Referenced by SgProp::Init().

Name of the white player.

Definition at line 345 of file SgProp.cpp.

Referenced by SgProp::Init().

Generic property subsuming all position annotations.

Definition at line 323 of file SgProp.cpp.

Referenced by SgPropList::Add(), and SgProp::Init().

Ranking of black player.

Definition at line 352 of file SgProp.cpp.

Referenced by SgProp::Init().

Ranking of white player.

Definition at line 353 of file SgProp.cpp.

Referenced by SgProp::Init().

Who won the game.

Definition at line 346 of file SgProp.cpp.

Referenced by SgProp::Init().

The round of the tournament.

Definition at line 341 of file SgProp.cpp.

Referenced by SgProp::Init().

Special rules (Go: Japanese or Chinese).

Definition at line 357 of file SgProp.cpp.

Referenced by SgProp::Init().

Selected points used to temporarily mark points.

Definition at line 273 of file SgProp.cpp.

Referenced by SgProp::Init().

Moves tried at a node in self-test mode.

Sequence of moves expected by computer player.

Definition at line 369 of file SgProp.cpp.

Referenced by SgProp::Init().

Position marked with a sigma icon.

Definition at line 318 of file SgProp.cpp.

Referenced by SgProp::ConvertFindTextToPropID(), and SgProp::Init().

The board size.

Definition at line 306 of file SgProp.cpp.

Referenced by SgGameWriter::HandleProps(), and SgProp::Init().

Where the game was copied from.

Definition at line 349 of file SgProp.cpp.

Referenced by SgProp::Init().

Species of the black player (human, computer, modem).

Definition at line 308 of file SgProp.cpp.

Referenced by SgProp::Init().

Species of the white player (human, computer, modem).

Definition at line 309 of file SgProp.cpp.

Referenced by SgProp::Init().

Small squares or square stones.

Definition at line 276 of file SgProp.cpp.

Referenced by SgProp::Init().

Team of black player.

Definition at line 354 of file SgProp.cpp.

Referenced by SgProp::Init().

Team of white player.

Definition at line 355 of file SgProp.cpp.

Referenced by SgProp::Init().

A terminal node, only used for display.

Definition at line 365 of file SgProp.cpp.

Referenced by SgProp::ConvertFindTextToPropID(), SgNode::HasProp(), and SgProp::Init().

Black surrounded territory and dead white stones.

Definition at line 268 of file SgProp.cpp.

Referenced by SgProp::Init().

White surrounded territory and dead black stones.

Definition at line 269 of file SgProp.cpp.

Referenced by SgProp::Init().

The time allocated to each player.

Definition at line 348 of file SgProp.cpp.

Referenced by SgProp::Init().

The time used to solve a problem.

Definition at line 295 of file SgProp.cpp.

Referenced by SgProp::Init().

Time left for the white player (TimeProp).

Definition at line 285 of file SgProp.cpp.

Referenced by SgTimeRecord::GetTimeFromTree(), SgProp::Init(), SgTimeRecord::SetTimeInTree(), and SgGameWriter::ShouldWriteProperty().

Generic property for time left information.

Definition at line 283 of file SgProp.cpp.

Referenced by SgProp::Init().

Triangles displayed on stones and empty points.

Definition at line 275 of file SgProp.cpp.

Referenced by SgProp::ConvertFindTextToPropID(), and SgProp::Init().

Unclear position.

Definition at line 327 of file SgProp.cpp.

Referenced by SgProp::Init().

Unknown property read from disk.

Definition at line 253 of file SgProp.cpp.

Referenced by SgPropList::Add(), SgGameReader::HandleProperties(), and SgProp::Init().

The person who entered the game and comments.

Definition at line 347 of file SgProp.cpp.

Referenced by SgProp::Init().

Node value expressed as positive = good for Black.

Definition at line 267 of file SgProp.cpp.

Referenced by SgProp::Init(), and SgSearchTracer::TraceValue().

const int SG_PROPCLASS_ABSTRACT = 1 << 11

Abstract property.

Definition at line 106 of file SgProp.h.

Referenced by SgProp::Init(), and SgProp::MatchesID().

const int SG_PROPCLASS_ANNO = 1 << 3

Annotation.

Definition at line 82 of file SgProp.h.

Referenced by SgProp::Init().

const int SG_PROPCLASS_ANNO_MOVE = 1 << 6

Move annotation.

Definition at line 91 of file SgProp.h.

Referenced by SgPropList::Add(), and SgProp::Init().

const int SG_PROPCLASS_ANNO_POS = 1 << 7

Position annotation.

Definition at line 94 of file SgProp.h.

Referenced by SgPropList::Add(), and SgProp::Init().

const int SG_PROPCLASS_BLACK = 1 << 0

Contains information related to Black player.

Definition at line 73 of file SgProp.h.

Referenced by SgProp::Init(), SgProp::OpponentProp(), SgProp::Player(), SgProp::PlayerProp(), and SgProp::Register().

const int SG_PROPCLASS_CUSTOM = 1 << 14

Custom Smart Go property.

Definition at line 115 of file SgProp.h.

Referenced by SgProp::Init().

const int SG_PROPCLASS_INFO = 1 << 2

Game info.

Definition at line 79 of file SgProp.h.

Referenced by SgProp::Init().

const int SG_PROPCLASS_MARK = 1 << 9

Marks on board points.

Definition at line 100 of file SgProp.h.

Referenced by SgProp::Init().

const int SG_PROPCLASS_MOVE = 1 << 8

Black or white move.

Definition at line 97 of file SgProp.h.

Referenced by SgPropList::Add(), and SgProp::Init().

const int SG_PROPCLASS_NEWLINE = 1 << 16

Write out this property starting on a new line.

Definition at line 121 of file SgProp.h.

Referenced by SgProp::Init(), and SgGameWriter::WriteNode().

const int SG_PROPCLASS_NOT_FF3 = 1 << 12

Property is not part of the FF[3] standard.

Definition at line 109 of file SgProp.h.

Referenced by SgProp::Init().

const int SG_PROPCLASS_NOT_FF4 = 1 << 13

Property is not part of the FF[4] standard.

Definition at line 112 of file SgProp.h.

const int SG_PROPCLASS_NOTCLEAN = 1 << 15

Don't write prop when publishing clean file.

Definition at line 118 of file SgProp.h.

Referenced by SgProp::Init(), and SgGameWriter::ShouldWriteProperty().

const int SG_PROPCLASS_ROOT = 1 << 5

Property can only be stored in root.

Definition at line 88 of file SgProp.h.

Referenced by SgNode::Add(), and SgProp::Init().

const int SG_PROPCLASS_STAT = 1 << 4

Statistics generated by the program.

Definition at line 85 of file SgProp.h.

Referenced by SgProp::Init().

const int SG_PROPCLASS_TIME = 1 << 10

Time left info.

Definition at line 103 of file SgProp.h.

Referenced by SgProp::Init().

const int SG_PROPCLASS_WHITE = 1 << 1

Contains information related to White player.

Definition at line 76 of file SgProp.h.

Referenced by SgProp::Init(), SgProp::OpponentProp(), SgProp::Player(), SgProp::PlayerProp(), and SgProp::Register().


Sun Mar 13 2011 Doxygen 1.7.1