libsgfc++ 3.0.0
A C++ library that uses SGFC to read and write SGF (Smart Game Format) data.
Loading...
Searching...
No Matches
LibSgfcPlusPlus::SgfcSgfContent Class Reference

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.

Detailed Description

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.


The documentation for this class was generated from the following files:
  • /Users/dev/Documents/libsgfcplusplus/src/sgfc/save/SgfcSgfContent.h
  • /Users/dev/Documents/libsgfcplusplus/src/sgfc/save/SgfcSgfContent.cpp