libsgfc++ 2.0.1
A C++ library that uses SGFC to read and write SGF (Smart Game Format) data.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LibSgfcPlusPlus::ISgfcPropertyValueFactory Class Referenceabstract

The ISgfcPropertyValueFactory interface provides factory methods for creating ISgfcPropertyValue objects, and objects of every known sub-type of ISgfcPropertyValue. More...

#include <ISgfcPropertyValueFactory.h>

Inheritance diagram for LibSgfcPlusPlus::ISgfcPropertyValueFactory:
LibSgfcPlusPlus::SgfcPropertyValueFactory

Public Member Functions

 ISgfcPropertyValueFactory ()
 Initializes a newly constructed ISgfcPropertyValueFactory object.
 
virtual ~ISgfcPropertyValueFactory ()
 Destroys and cleans up the ISgfcPropertyValueFactory object.
 
Single property values - Basic value types
virtual std::shared_ptr< ISgfcNumberPropertyValueCreateNumberPropertyValue (SgfcNumber numberValue) const =0
 Returns a newly constructed ISgfcNumberPropertyValue object that has the SgfcNumber value numberValue.
 
virtual std::shared_ptr< ISgfcRealPropertyValueCreateRealPropertyValue (SgfcReal realValue) const =0
 Returns a newly constructed ISgfcRealPropertyValue object that has the SgfcReal value realValue.
 
virtual std::shared_ptr< ISgfcDoublePropertyValueCreateDoublePropertyValue (SgfcDouble doubleValue) const =0
 Returns a newly constructed ISgfcDoublePropertyValue object that has the SgfcDouble value doubleValue.
 
virtual std::shared_ptr< ISgfcColorPropertyValueCreateColorPropertyValue (SgfcColor colorValue) const =0
 Returns a newly constructed ISgfcColorPropertyValue object that has the SgfcColor value colorValue.
 
virtual std::shared_ptr< ISgfcSimpleTextPropertyValueCreateSimpleTextPropertyValue (const SgfcSimpleText &simpleTextValue) const =0
 Returns a newly constructed ISgfcSimpleTextPropertyValue object that has the SgfcSimpleText value simpleTextValue.
 
virtual std::shared_ptr< ISgfcTextPropertyValueCreateTextPropertyValue (const SgfcText &textValue) const =0
 Returns a newly constructed ISgfcTextPropertyValue object that has the SgfcText value textValue.
 
virtual std::shared_ptr< ISgfcPointPropertyValueCreatePointPropertyValue (const SgfcPoint &pointValue) const =0
 Returns a newly constructed ISgfcPointPropertyValue object that has the SgfcPoint value pointValue.
 
virtual std::shared_ptr< ISgfcMovePropertyValueCreateMovePropertyValue (const SgfcMove &moveValue) const =0
 Returns a newly constructed ISgfcMovePropertyValue object that has the SgfcMove value moveValue.
 
virtual std::shared_ptr< ISgfcStonePropertyValueCreateStonePropertyValue (const SgfcStone &stoneValue) const =0
 Returns a newly constructed ISgfcStonePropertyValue object that has the SgfcStone value stoneValue.
 
virtual std::shared_ptr< ISgfcSinglePropertyValueCreateCustomPropertyValue (const std::string &value) const =0
 Returns a newly constructed ISgfcSinglePropertyValue object that has the string value value. The object has value type SgfcPropertyValueType::Unknown.
 
Single property values - Special value types
virtual std::shared_ptr< ISgfcNumberPropertyValueCreateGameTypePropertyValue (SgfcGameType gameType) const =0
 Returns a newly constructed ISgfcNumberPropertyValue object that has an SgfcNumber value that corresponds to gameType. gameType must not be SgfcGameType::Unknown.
 
virtual std::shared_ptr< ISgfcPropertyValueCreateBoardSizePropertyValue (SgfcBoardSize boardSize, SgfcGameType gameType) const =0
 Returns a newly constructed ISgfcPropertyValue object that has a value that corresponds to boardSize. boardSize must be valid. gameType must be provided for validating boardSize. gameType must not be SgfcGameType::Unknown.
 
Single property values - Go game value types
virtual std::shared_ptr< ISgfcGoPointPropertyValueCreateGoPointPropertyValue (const SgfcPoint &pointValue, SgfcBoardSize boardSize) const =0
 Returns a newly constructed ISgfcGoPointPropertyValue object that has the SgfcPoint value pointValue. boardSize indicates the size of the Go board that the Go point is located on.
 
virtual std::shared_ptr< ISgfcGoMovePropertyValueCreateGoMovePropertyValue (const SgfcMove &moveValue, SgfcBoardSize boardSize, SgfcColor color) const =0
 Returns a newly constructed ISgfcGoMovePropertyValue object that has the SgfcMove value moveValue. color is the color of the player who made the move. The move is not a pass move. boardSize indicates the size of the Go board that the Go move is played on.
 
virtual std::shared_ptr< ISgfcGoMovePropertyValueCreateGoMovePropertyValue (SgfcColor color) const =0
 Returns a newly constructed ISgfcGoMovePropertyValue object that has no value. color is the color of the player who made the move. The move is a pass move.
 
virtual std::shared_ptr< ISgfcGoStonePropertyValueCreateGoStonePropertyValue (const SgfcStone &stoneValue, SgfcBoardSize boardSize, SgfcColor color) const =0
 Returns a newly constructed ISgfcGoStonePropertyValue object that has the SgfcStone value stoneValue. color is the color of the stone. boardSize indicates the size of the Go board that the Go stone is located on.
 
Composed property values - Basic value types
virtual std::shared_ptr< ISgfcComposedPropertyValueCreateComposedNumberAndNumberPropertyValue (SgfcNumber numberValue1, SgfcNumber numberValue2) const =0
 Returns a newly constructed ISgfcComposedPropertyValue object that consists of two ISgfcNumberPropertyValue objects, which have the SgfcNumber values numberValue1 and numberValue2.
 
virtual std::shared_ptr< ISgfcComposedPropertyValueCreateComposedSimpleTextAndSimpleTextPropertyValue (const SgfcSimpleText &simpleTextValue1, const SgfcSimpleText &simpleTextValue2) const =0
 Returns a newly constructed ISgfcComposedPropertyValue object that consists of two ISgfcSimpleTextPropertyValue objects, which have the SgfcSimpleText values simpleTextValue1 and simpleTextValue2.
 
virtual std::shared_ptr< ISgfcComposedPropertyValueCreateComposedNumberAndSimpleTextPropertyValue (SgfcNumber numberValue, const SgfcSimpleText &simpleTextValue) const =0
 Returns a newly constructed ISgfcComposedPropertyValue object that consists of an ISgfcNumberPropertyValue object and an ISgfcSimpleTextPropertyValue object, which have the SgfcNumber and SgfcSimpleText values numberValue and simpleTextValue, respectively.
 
virtual std::shared_ptr< ISgfcComposedPropertyValueCreateComposedPointAndPointPropertyValue (const SgfcPoint &pointValue1, const SgfcPoint &pointValue2) const =0
 Returns a newly constructed ISgfcComposedPropertyValue object that consists of two ISgfcPointPropertyValue objects, which have the SgfcPoint values pointValue1 and pointValue2, respectively.
 
virtual std::shared_ptr< ISgfcComposedPropertyValueCreateComposedPointAndSimpleTextPropertyValue (const SgfcPoint &pointValue, const SgfcSimpleText &simpleTextValue) const =0
 Returns a newly constructed ISgfcComposedPropertyValue object that consists of an ISgfcPointPropertyValue object and an ISgfcSimpleTextPropertyValue object, which have the SgfcPoint and SgfcSimpleText values pointValue and simpleTextValue, respectively.
 
virtual std::shared_ptr< ISgfcComposedPropertyValueCreateComposedStoneAndPointPropertyValue (const SgfcStone &stoneValue, const SgfcPoint &pointValue) const =0
 Returns a newly constructed ISgfcComposedPropertyValue object that consists of an ISgfcStonePropertyValue object and an ISgfcPointPropertyValue object, which have the SgfcStone and SgfcPoint values stoneValue and pointValue, respectively.
 
virtual std::shared_ptr< ISgfcComposedPropertyValueCreateCustomComposedPropertyValue (std::shared_ptr< ISgfcSinglePropertyValue > valueObject1, std::shared_ptr< ISgfcSinglePropertyValue > valueObject2) const =0
 Returns a newly constructed ISgfcComposedPropertyValue object that consists of two ISgfcSinglePropertyValue objects valueObject1 and valueObject2.
 
Composed property values - Go game value types
virtual std::shared_ptr< ISgfcComposedPropertyValueCreateComposedGoPointAndGoPointPropertyValue (const SgfcPoint &pointValue1, const SgfcPoint &pointValue2, SgfcBoardSize boardSize) const =0
 Returns a newly constructed ISgfcComposedPropertyValue object that consists of two ISgfcGoPointPropertyValue objects, which have the SgfcPoint values pointValue1 and pointValue2, respectively.
 
virtual std::shared_ptr< ISgfcComposedPropertyValueCreateComposedGoPointAndSimpleTextPropertyValue (const SgfcPoint &pointValue, SgfcBoardSize boardSize, const SgfcSimpleText &simpleTextValue) const =0
 Returns a newly constructed ISgfcComposedPropertyValue object that consists of an ISgfcGoPointPropertyValue object and an ISgfcSimpleTextPropertyValue object, which have the SgfcPoint and SgfcSimpleText values pointValue and simpleTextValue, respectively.
 
virtual std::shared_ptr< ISgfcComposedPropertyValueCreateComposedGoStoneAndPointPropertyValue (const SgfcStone &stoneValue, SgfcColor color, const SgfcPoint &pointValue, SgfcBoardSize boardSize) const =0
 Returns a newly constructed ISgfcComposedPropertyValue object that consists of an ISgfcGoStonePropertyValue object and an ISgfcGoPointPropertyValue object, which have the SgfcStone and SgfcPoint values stoneValue and pointValue, respectively.
 

Detailed Description

The ISgfcPropertyValueFactory interface provides factory methods for creating ISgfcPropertyValue objects, and objects of every known sub-type of ISgfcPropertyValue.

Member Function Documentation

◆ CreateBoardSizePropertyValue()

virtual std::shared_ptr< ISgfcPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateBoardSizePropertyValue ( SgfcBoardSize boardSize,
SgfcGameType gameType ) const
pure virtual

Returns a newly constructed ISgfcPropertyValue object that has a value that corresponds to boardSize. boardSize must be valid. gameType must be provided for validating boardSize. gameType must not be SgfcGameType::Unknown.

The returned ISgfcPropertyValue object is an ISgfcNumberPropertyValue object if SgfcBoardSize::IsSquare() returns true for boardSize.

The returned ISgfcPropertyValue object is an ISgfcComposedPropertyValue object consisting of two ISgfcNumberPropertyValue objects if SgfcBoardSize::IsSquare() returns false for boardSize.

Exceptions
std::invalid_argumentIs thrown if gameType is SgfcGameType::Unknown, or if boardSize is not valid, i.e. if it's IsValid() method returns false.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateColorPropertyValue()

virtual std::shared_ptr< ISgfcColorPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateColorPropertyValue ( SgfcColor colorValue) const
pure virtual

Returns a newly constructed ISgfcColorPropertyValue object that has the SgfcColor value colorValue.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateComposedGoPointAndGoPointPropertyValue()

virtual std::shared_ptr< ISgfcComposedPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateComposedGoPointAndGoPointPropertyValue ( const SgfcPoint & pointValue1,
const SgfcPoint & pointValue2,
SgfcBoardSize boardSize ) const
pure virtual

Returns a newly constructed ISgfcComposedPropertyValue object that consists of two ISgfcGoPointPropertyValue objects, which have the SgfcPoint values pointValue1 and pointValue2, respectively.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateComposedGoPointAndSimpleTextPropertyValue()

virtual std::shared_ptr< ISgfcComposedPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateComposedGoPointAndSimpleTextPropertyValue ( const SgfcPoint & pointValue,
SgfcBoardSize boardSize,
const SgfcSimpleText & simpleTextValue ) const
pure virtual

Returns a newly constructed ISgfcComposedPropertyValue object that consists of an ISgfcGoPointPropertyValue object and an ISgfcSimpleTextPropertyValue object, which have the SgfcPoint and SgfcSimpleText values pointValue and simpleTextValue, respectively.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateComposedGoStoneAndPointPropertyValue()

virtual std::shared_ptr< ISgfcComposedPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateComposedGoStoneAndPointPropertyValue ( const SgfcStone & stoneValue,
SgfcColor color,
const SgfcPoint & pointValue,
SgfcBoardSize boardSize ) const
pure virtual

Returns a newly constructed ISgfcComposedPropertyValue object that consists of an ISgfcGoStonePropertyValue object and an ISgfcGoPointPropertyValue object, which have the SgfcStone and SgfcPoint values stoneValue and pointValue, respectively.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateComposedNumberAndNumberPropertyValue()

virtual std::shared_ptr< ISgfcComposedPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateComposedNumberAndNumberPropertyValue ( SgfcNumber numberValue1,
SgfcNumber numberValue2 ) const
pure virtual

Returns a newly constructed ISgfcComposedPropertyValue object that consists of two ISgfcNumberPropertyValue objects, which have the SgfcNumber values numberValue1 and numberValue2.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateComposedNumberAndSimpleTextPropertyValue()

virtual std::shared_ptr< ISgfcComposedPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateComposedNumberAndSimpleTextPropertyValue ( SgfcNumber numberValue,
const SgfcSimpleText & simpleTextValue ) const
pure virtual

Returns a newly constructed ISgfcComposedPropertyValue object that consists of an ISgfcNumberPropertyValue object and an ISgfcSimpleTextPropertyValue object, which have the SgfcNumber and SgfcSimpleText values numberValue and simpleTextValue, respectively.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateComposedPointAndPointPropertyValue()

virtual std::shared_ptr< ISgfcComposedPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateComposedPointAndPointPropertyValue ( const SgfcPoint & pointValue1,
const SgfcPoint & pointValue2 ) const
pure virtual

Returns a newly constructed ISgfcComposedPropertyValue object that consists of two ISgfcPointPropertyValue objects, which have the SgfcPoint values pointValue1 and pointValue2, respectively.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateComposedPointAndSimpleTextPropertyValue()

virtual std::shared_ptr< ISgfcComposedPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateComposedPointAndSimpleTextPropertyValue ( const SgfcPoint & pointValue,
const SgfcSimpleText & simpleTextValue ) const
pure virtual

Returns a newly constructed ISgfcComposedPropertyValue object that consists of an ISgfcPointPropertyValue object and an ISgfcSimpleTextPropertyValue object, which have the SgfcPoint and SgfcSimpleText values pointValue and simpleTextValue, respectively.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateComposedSimpleTextAndSimpleTextPropertyValue()

virtual std::shared_ptr< ISgfcComposedPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateComposedSimpleTextAndSimpleTextPropertyValue ( const SgfcSimpleText & simpleTextValue1,
const SgfcSimpleText & simpleTextValue2 ) const
pure virtual

Returns a newly constructed ISgfcComposedPropertyValue object that consists of two ISgfcSimpleTextPropertyValue objects, which have the SgfcSimpleText values simpleTextValue1 and simpleTextValue2.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateComposedStoneAndPointPropertyValue()

virtual std::shared_ptr< ISgfcComposedPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateComposedStoneAndPointPropertyValue ( const SgfcStone & stoneValue,
const SgfcPoint & pointValue ) const
pure virtual

Returns a newly constructed ISgfcComposedPropertyValue object that consists of an ISgfcStonePropertyValue object and an ISgfcPointPropertyValue object, which have the SgfcStone and SgfcPoint values stoneValue and pointValue, respectively.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateCustomComposedPropertyValue()

virtual std::shared_ptr< ISgfcComposedPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateCustomComposedPropertyValue ( std::shared_ptr< ISgfcSinglePropertyValue > valueObject1,
std::shared_ptr< ISgfcSinglePropertyValue > valueObject2 ) const
pure virtual

Returns a newly constructed ISgfcComposedPropertyValue object that consists of two ISgfcSinglePropertyValue objects valueObject1 and valueObject2.

Exceptions
std::invalid_argumentIs thrown if value1 is nullptr or if value2 is nullptr.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateCustomPropertyValue()

virtual std::shared_ptr< ISgfcSinglePropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateCustomPropertyValue ( const std::string & value) const
pure virtual

Returns a newly constructed ISgfcSinglePropertyValue object that has the string value value. The object has value type SgfcPropertyValueType::Unknown.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateDoublePropertyValue()

virtual std::shared_ptr< ISgfcDoublePropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateDoublePropertyValue ( SgfcDouble doubleValue) const
pure virtual

Returns a newly constructed ISgfcDoublePropertyValue object that has the SgfcDouble value doubleValue.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateGameTypePropertyValue()

virtual std::shared_ptr< ISgfcNumberPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateGameTypePropertyValue ( SgfcGameType gameType) const
pure virtual

Returns a newly constructed ISgfcNumberPropertyValue object that has an SgfcNumber value that corresponds to gameType. gameType must not be SgfcGameType::Unknown.

Exceptions
std::invalid_argumentIs thrown if gameType is SgfcGameType::Unknown.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateGoMovePropertyValue() [1/2]

virtual std::shared_ptr< ISgfcGoMovePropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateGoMovePropertyValue ( const SgfcMove & moveValue,
SgfcBoardSize boardSize,
SgfcColor color ) const
pure virtual

Returns a newly constructed ISgfcGoMovePropertyValue object that has the SgfcMove value moveValue. color is the color of the player who made the move. The move is not a pass move. boardSize indicates the size of the Go board that the Go move is played on.

moveValue refers to the location (a Go point) of the stone that is placed by the move on the board. moveValue can be given in any one of the notations enumerated in SgfcGoPointNotation.

Regardless of the notation in which moveValue is given, the resulting ISgfcGoMovePropertyValue object uses the SGF notation as the raw property value.

Exceptions
std::invalid_argumentIs thrown if boardSize refers to a board with size smaller than the minimum required by the SGF standard (SgfcConstants::BoardSizeMinimum), or a board with size larger than the maximum allowed by the SGF standard (SgfcConstants::BoardSizeMaximumGo). Is also thrown if moveValue is not given in one of the notations enumerated in SgfcGoPointNotation, or if moveValue violates one of the restrictions imposed by the used notation (e.g. y-axis compound larger than 25 when SgfcGoPointNotation::Hybrid is used), or if moveValue refers to an invalid location on the board (e.g. an x-axis or y-axis location that exceeds the board size specified by boardSize, or a compound < 1 when SgfcGoPointNotation::Figure is used).

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateGoMovePropertyValue() [2/2]

virtual std::shared_ptr< ISgfcGoMovePropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateGoMovePropertyValue ( SgfcColor color) const
pure virtual

Returns a newly constructed ISgfcGoMovePropertyValue object that has no value. color is the color of the player who made the move. The move is a pass move.

The resulting ISgfcGoMovePropertyValue object uses SgfcConstants::GoMovePassString as the raw property value.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateGoPointPropertyValue()

virtual std::shared_ptr< ISgfcGoPointPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateGoPointPropertyValue ( const SgfcPoint & pointValue,
SgfcBoardSize boardSize ) const
pure virtual

Returns a newly constructed ISgfcGoPointPropertyValue object that has the SgfcPoint value pointValue. boardSize indicates the size of the Go board that the Go point is located on.

pointValue can be given in any one of the notations enumerated in SgfcGoPointNotation.

Regardless of the notation in which pointValue is given, the resulting ISgfcGoPointPropertyValue object uses the SGF notation as the raw property value.

Exceptions
std::invalid_argumentIs thrown if boardSize refers to a board with size smaller than the minimum required by the SGF standard (SgfcConstants::BoardSizeMinimum), or a board with size larger than the maximum allowed by the SGF standard (SgfcConstants::BoardSizeMaximumGo). Is also thrown if pointValue is not given in one of the notations enumerated in SgfcGoPointNotation, or if pointValue violates one of the restrictions imposed by the used notation (e.g. y-axis compound larger than 25 when SgfcGoPointNotation::Hybrid is used), or if pointValue refers to an invalid location on the board (e.g. an x-axis or y-axis location that exceeds the board size specified by boardSize, or a compound < 1 when SgfcGoPointNotation::Figure is used).

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateGoStonePropertyValue()

virtual std::shared_ptr< ISgfcGoStonePropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateGoStonePropertyValue ( const SgfcStone & stoneValue,
SgfcBoardSize boardSize,
SgfcColor color ) const
pure virtual

Returns a newly constructed ISgfcGoStonePropertyValue object that has the SgfcStone value stoneValue. color is the color of the stone. boardSize indicates the size of the Go board that the Go stone is located on.

stoneValue refers to the Go point on which the stone is located. stoneValue can be given in any one of the notations enumerated in SgfcGoPointNotation.

Regardless of the notation in which stoneValue is given, the resulting ISgfcGoStonePropertyValue object uses the SGF notation as the raw property value.

Exceptions
std::invalid_argumentIs thrown if boardSize refers to a board with size smaller than the minimum required by the SGF standard (SgfcConstants::BoardSizeMinimum), or a board with size larger than the maximum allowed by the SGF standard (SgfcConstants::BoardSizeMaximumGo). Is also thrown if stoneValue is not given in one of the notations enumerated in SgfcGoPointNotation, or if stoneValue violates one of the restrictions imposed by the used notation (e.g. y-axis compound larger than 25 when SgfcGoPointNotation::Hybrid is used), or if stoneValue refers to an invalid location on the board (e.g. an x-axis or y-axis location that exceeds the board size specified by boardSize, or a compound < 1 when SgfcGoPointNotation::Figure is used).

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateMovePropertyValue()

virtual std::shared_ptr< ISgfcMovePropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateMovePropertyValue ( const SgfcMove & moveValue) const
pure virtual

Returns a newly constructed ISgfcMovePropertyValue object that has the SgfcMove value moveValue.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateNumberPropertyValue()

virtual std::shared_ptr< ISgfcNumberPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateNumberPropertyValue ( SgfcNumber numberValue) const
pure virtual

Returns a newly constructed ISgfcNumberPropertyValue object that has the SgfcNumber value numberValue.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreatePointPropertyValue()

virtual std::shared_ptr< ISgfcPointPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreatePointPropertyValue ( const SgfcPoint & pointValue) const
pure virtual

Returns a newly constructed ISgfcPointPropertyValue object that has the SgfcPoint value pointValue.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateRealPropertyValue()

virtual std::shared_ptr< ISgfcRealPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateRealPropertyValue ( SgfcReal realValue) const
pure virtual

Returns a newly constructed ISgfcRealPropertyValue object that has the SgfcReal value realValue.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateSimpleTextPropertyValue()

virtual std::shared_ptr< ISgfcSimpleTextPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateSimpleTextPropertyValue ( const SgfcSimpleText & simpleTextValue) const
pure virtual

Returns a newly constructed ISgfcSimpleTextPropertyValue object that has the SgfcSimpleText value simpleTextValue.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateStonePropertyValue()

virtual std::shared_ptr< ISgfcStonePropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateStonePropertyValue ( const SgfcStone & stoneValue) const
pure virtual

Returns a newly constructed ISgfcStonePropertyValue object that has the SgfcStone value stoneValue.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.

◆ CreateTextPropertyValue()

virtual std::shared_ptr< ISgfcTextPropertyValue > LibSgfcPlusPlus::ISgfcPropertyValueFactory::CreateTextPropertyValue ( const SgfcText & textValue) const
pure virtual

Returns a newly constructed ISgfcTextPropertyValue object that has the SgfcText value textValue.

Implemented in LibSgfcPlusPlus::SgfcPropertyValueFactory.


The documentation for this class was generated from the following files: