Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GoInit.cpp File Reference


Detailed Description

Definition in file GoInit.cpp.

#include "SgSystem.h"
#include "GoInit.h"
#include "GoRegion.h"
#include "SgException.h"
#include "SgInit.h"
#include "SgProp.h"

Go to the source code of this file.

Functions

void RegisterGoProps ()
 Register Go-game specific properties.
void GoFini ()
void GoInit ()
 Initialization of module Go.
void GoInitCheck ()

Variables

bool s_isGoInitialized = false


Function Documentation

void GoFini (  ) 

Definition at line 36 of file GoInit.cpp.

References GoRegion::Fini(), and s_isGoInitialized.

void GoInit (  ) 

Initialization of module Go.

Must be called after SgInit.

Exceptions:
SgException on failure.

Definition at line 42 of file GoInit.cpp.

References RegisterGoProps(), s_isGoInitialized, and SgInitCheck().

void GoInitCheck (  ) 

Definition at line 49 of file GoInit.cpp.

References s_isGoInitialized.

Referenced by GoBoard::GoBoard(), and GoGameRecord::GoGameRecord().

void @11::RegisterGoProps (  )  [static]

Register Go-game specific properties.

Definition at line 21 of file GoInit.cpp.

References SgProp::Register(), SG_PROP_MOVE_BLACK, SG_PROP_MOVE_WHITE, SG_PROPCLASS_BLACK, SG_PROPCLASS_MOVE, and SG_PROPCLASS_WHITE.

Referenced by GoInit().


Variable Documentation

bool s_isGoInitialized = false [static]

Definition at line 18 of file GoInit.cpp.

Referenced by GoFini(), GoInit(), and GoInitCheck().


17 Jun 2010 Doxygen 1.4.7