Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

SgGtpUtil.h

Go to the documentation of this file.
00001 //----------------------------------------------------------------------------
00002 /** @file SgGtpUtil.h
00003     Utility functions */
00004 //----------------------------------------------------------------------------
00005 
00006 #ifndef SG_GTPUTIL_H
00007 #define SG_GTPUTIL_H
00008 
00009 class GtpCommand;
00010 class SgPointSet;
00011 
00012 //----------------------------------------------------------------------------
00013 
00014 namespace SgGtpUtil
00015 {
00016     /** Append a point set to the response of a command.
00017         The response will be formatted as a single line with the points
00018         ordered (A1, B1, ..., A2, ...) to facilitate writing GTP regression
00019         tests using this command. */
00020     void RespondPointSet(GtpCommand& cmd, const SgPointSet& pointSet);
00021 
00022 } // namespace SgGtpUtil
00023 
00024 //----------------------------------------------------------------------------
00025 
00026 #endif // SG_GTPUTIL_H


Sun Mar 13 2011 Doxygen 1.7.1