libsgfc++ 2.0.1
A C++ library that uses SGFC to read and write SGF (Smart Game Format) data.
|
The SgfcSgfContent class represents a distinct piece of SGF content that is generated by SGFC when it performs a save operation. SgfcSgfContent objects are immutable. More...
#include <SgfcSgfContent.h>
Public Member Functions | |
SgfcSgfContent () | |
Initializes a newly constructed SgfcSgfContent object. The object has no SGF content. | |
SgfcSgfContent (const std::string &sgfContent, const std::string &filePath) | |
Initializes a newly constructed SgfcSgfContent object. The object has the SGF content sgfContent, SGFC would have used filePath to save the SGF content to the filesystem. | |
virtual | ~SgfcSgfContent () |
Destroys and cleans up the SgfcSgfContent object. | |
std::string | GetSgfContent () const |
Returns the SGF content. | |
std::string | GetFilePath () const |
Returns the file path that SGFC would have used to save the SGF content to the filesystem. | |
The SgfcSgfContent class represents a distinct piece of SGF content that is generated by SGFC when it performs a save operation. SgfcSgfContent objects are immutable.