diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cede1e11..e6c07660 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ on: jobs: build_on_OSs: - name: Build RoadRunner on ${{ matrix.platform.name }}-python${{ matrix.python_version }} + name: Build SBMLNetwork on ${{ matrix.platform.name }}-python${{ matrix.python_version }} strategy: fail-fast: false matrix: diff --git a/src/libsbmlnetwork_sbmldocument_layout.cpp b/src/libsbmlnetwork_sbmldocument_layout.cpp index 54a58345..7fd18a5e 100644 --- a/src/libsbmlnetwork_sbmldocument_layout.cpp +++ b/src/libsbmlnetwork_sbmldocument_layout.cpp @@ -596,14 +596,6 @@ double getSpeciesReferenceCurveSegmentStartPointX(SBMLDocument* document, unsign return getCurveSegmentStartPointX(getSpeciesReference(getLayout(document, layoutIndex), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex); } -int setSpeciesReferenceCurveSegmentStartPointX(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x) { - return setCurveSegmentStartPointX(getSpeciesReference(getLayout(document), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, x); -} - -int setSpeciesReferenceCurveSegmentStartPointX(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x) { - return setCurveSegmentStartPointX(getSpeciesReference(getLayout(document, layoutIndex), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, x); -} - int setSpeciesReferenceCurveSegmentStartPointX(SBMLDocument* document, const std::string& reactionId, unsigned int reactionGlyphIndex, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x) { return setCurveSegmentStartPointX(getSpeciesReference(getLayout(document), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex, x); } @@ -620,14 +612,6 @@ double getSpeciesReferenceCurveSegmentStartPointY(SBMLDocument* document, unsign return getCurveSegmentStartPointY(getSpeciesReference(getLayout(document, layoutIndex), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex); } -int setSpeciesReferenceCurveSegmentStartPointY(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y) { - return setCurveSegmentStartPointY(getSpeciesReference(getLayout(document), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, y); -} - -int setSpeciesReferenceCurveSegmentStartPointY(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y) { - return setCurveSegmentStartPointY(getSpeciesReference(getLayout(document, layoutIndex), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, y); -} - int setSpeciesReferenceCurveSegmentStartPointY(SBMLDocument* document, const std::string& reactionId, unsigned int reactionGlyphIndex, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y) { return setCurveSegmentStartPointY(getSpeciesReference(getLayout(document), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex, y); } @@ -644,15 +628,6 @@ double getSpeciesReferenceCurveSegmentEndPointX(SBMLDocument* document, unsigned return getCurveSegmentEndPointX(getSpeciesReference(getLayout(document, layoutIndex), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex); } -int setSpeciesReferenceCurveSegmentEndPointX(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x) { - return setCurveSegmentEndPointX(getSpeciesReference(getLayout(document), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, x); -} - -int setSpeciesReferenceCurveSegmentEndPointX(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x) { - return setCurveSegmentEndPointX(getSpeciesReference(getLayout(document, layoutIndex), reactionId, 0, speciesReferenceIndex), - curveSegmentIndex, x); -} - int setSpeciesReferenceCurveSegmentEndPointX(SBMLDocument* document, const std::string& reactionId, unsigned int reactionGlyphIndex, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x) { return setCurveSegmentEndPointX(getSpeciesReference(getLayout(document), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex, x); } @@ -669,14 +644,6 @@ double getSpeciesReferenceCurveSegmentEndPointY(SBMLDocument* document, unsigned return getCurveSegmentEndPointY(getSpeciesReference(getLayout(document, layoutIndex), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex); } -int setSpeciesReferenceCurveSegmentEndPointY(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y) { - return setCurveSegmentEndPointY(getSpeciesReference(getLayout(document), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, y); -} - -int setSpeciesReferenceCurveSegmentEndPointY(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y) { - return setCurveSegmentEndPointY(getSpeciesReference(getLayout(document, layoutIndex), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, y); -} - int setSpeciesReferenceCurveSegmentEndPointY(SBMLDocument* document, const std::string& reactionId, unsigned int reactionGlyphIndex, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y) { return setCurveSegmentEndPointY(getSpeciesReference(getLayout(document), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex, y); } @@ -693,14 +660,6 @@ double getSpeciesReferenceCurveSegmentBasePoint1X(SBMLDocument* document, unsign return getCurveSegmentBasePoint1X(getSpeciesReference(getLayout(document, layoutIndex), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex); } -int setSpeciesReferenceCurveSegmentBasePoint1X(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x) { - return setCurveSegmentBasePoint1X(getSpeciesReference(getLayout(document), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, x); -} - -int setSpeciesReferenceCurveSegmentBasePoint1X(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x) { - return setCurveSegmentBasePoint1X(getSpeciesReference(getLayout(document, layoutIndex), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, x); -} - int setSpeciesReferenceCurveSegmentBasePoint1X(SBMLDocument* document, const std::string& reactionId, unsigned int reactionGlyphIndex, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x) { return setCurveSegmentBasePoint1X(getSpeciesReference(getLayout(document), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex, x); } @@ -717,14 +676,6 @@ double getSpeciesReferenceCurveSegmentBasePoint1Y(SBMLDocument* document, unsign return getCurveSegmentBasePoint1Y(getSpeciesReference(getLayout(document, layoutIndex), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex); } -int setSpeciesReferenceCurveSegmentBasePoint1Y(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y) { - return setCurveSegmentBasePoint1Y(getSpeciesReference(getLayout(document), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, y); -} - -int setSpeciesReferenceCurveSegmentBasePoint1Y(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y) { - return setCurveSegmentBasePoint1Y(getSpeciesReference(getLayout(document, layoutIndex), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, y); -} - int setSpeciesReferenceCurveSegmentBasePoint1Y(SBMLDocument* document, const std::string& reactionId, unsigned int reactionGlyphIndex, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y) { return setCurveSegmentBasePoint1Y(getSpeciesReference(getLayout(document), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex, y); } @@ -741,14 +692,6 @@ double getSpeciesReferenceCurveSegmentBasePoint2X(SBMLDocument* document, unsign return getCurveSegmentBasePoint2X(getSpeciesReference(getLayout(document, layoutIndex), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex); } -int setSpeciesReferenceCurveSegmentBasePoint2X(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x) { - return setCurveSegmentBasePoint2X(getSpeciesReference(getLayout(document), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, x); -} - -int setSpeciesReferenceCurveSegmentBasePoint2X(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x) { - return setCurveSegmentBasePoint2X(getSpeciesReference(getLayout(document, layoutIndex), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, x); -} - int setSpeciesReferenceCurveSegmentBasePoint2X(SBMLDocument* document, const std::string& reactionId, unsigned int reactionGlyphIndex, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x) { return setCurveSegmentBasePoint2X(getSpeciesReference(getLayout(document), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex, x); } @@ -765,14 +708,6 @@ double getSpeciesReferenceCurveSegmentBasePoint2Y(SBMLDocument* document, unsign return getCurveSegmentBasePoint2Y(getSpeciesReference(getLayout(document, layoutIndex), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex); } -int setSpeciesReferenceCurveSegmentBasePoint2Y(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y) { - return setCurveSegmentBasePoint2Y(getSpeciesReference(getLayout(document), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, y); -} - -int setSpeciesReferenceCurveSegmentBasePoint2Y(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y) { - return setCurveSegmentBasePoint2Y(getSpeciesReference(getLayout(document, layoutIndex), reactionId, 0, speciesReferenceIndex), curveSegmentIndex, y); -} - int setSpeciesReferenceCurveSegmentBasePoint2Y(SBMLDocument* document, const std::string& reactionId, unsigned int reactionGlyphIndex, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y) { return setCurveSegmentBasePoint2Y(getSpeciesReference(getLayout(document), reactionId, reactionGlyphIndex, speciesReferenceIndex), curveSegmentIndex, y); } diff --git a/src/libsbmlnetwork_sbmldocument_layout.h b/src/libsbmlnetwork_sbmldocument_layout.h index 568c28fa..c55d52ec 100644 --- a/src/libsbmlnetwork_sbmldocument_layout.h +++ b/src/libsbmlnetwork_sbmldocument_layout.h @@ -1050,25 +1050,6 @@ LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentStartPointX(SBMLDocu /// the SpeciesReference object does not exits or the object is @c NULL LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentStartPointX(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int reactionGlyphIndex = 0, unsigned int speciesReferenceIndex = 0, unsigned int curveSegmentIndex = 0); -/// @brief Sets the value of the "x" attribute of the start point of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the first Layout object in the first ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param x the value to be set as "x" attribute of the start point of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentStartPointX(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x); - -/// @brief Sets the value of the "x" attribute of the start point of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the Layout object with the given index in the ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param layoutIndex the index number of the Layout to return. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param x the value to be set as "x" attribute of the start point of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentStartPointX(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x); - /// @brief Sets the value of the "x" attribute of the start point of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the ReactionGlyph object with the given index associated with the entered reaction id /// of the first Layout object in the ListOfLayouts of the SBML document. /// @param document a pointer to the SBMLDocument object. @@ -1115,25 +1096,6 @@ LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentStartPointY(SBMLDocu /// the SpeciesReference object does not exits or the object is @c NULL LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentStartPointY(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int reactionGlyphIndex = 0, unsigned int speciesReferenceIndex = 0, unsigned int curveSegmentIndex = 0); -/// @brief Sets the value of the "y" attribute of the start point of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the first Layout object in the first ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param y the value to be set as "y" attribute of the start point of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentStartPointY(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y); - -/// @brief Sets the value of the "y" attribute of the start point of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the Layout object with the given index in the ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param layoutIndex the index number of the Layout to return. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param y the value to be set as "y" attribute of the start point of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentStartPointY(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y); - /// @brief Sets the value of the "y" attribute of the start point of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the ReactionGlyph object with the given index associated with the entered reaction id /// of the first Layout object in the ListOfLayouts of the SBML document. /// @param document a pointer to the SBMLDocument object. @@ -1180,25 +1142,6 @@ LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentEndPointX(SBMLDocume /// the SpeciesReference object does not exits or the object is @c NULL LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentEndPointX(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int reactionGlyphIndex = 0, unsigned int speciesReferenceIndex = 0, unsigned int curveSegmentIndex = 0); -/// @brief Sets the value of the "x" attribute of the end point of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the first Layout object in the first ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param x the value to be set as "x" attribute of the end point of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentEndPointX(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x); - -/// @brief Sets the value of the "x" attribute of the end point of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the Layout object with the given index in the ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param layoutIndex the index number of the Layout to return. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param x the value to be set as "x" attribute of the end point of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentEndPointX(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x); - /// @brief Sets the value of the "x" attribute of the end point of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the ReactionGlyph object with the given index associated with the entered reaction id /// of the first Layout object in the ListOfLayouts of the SBML document. /// @param document a pointer to the SBMLDocument object. @@ -1245,25 +1188,6 @@ LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentEndPointY(SBMLDocume /// the SpeciesReference object does not exits or the object is @c NULL LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentEndPointY(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int reactionGlyphIndex = 0, unsigned int speciesReferenceIndex = 0, unsigned int curveSegmentIndex = 0); -/// @brief Sets the value of the "y" attribute of the end point of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the first Layout object in the first ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param y the value to be set as "y" attribute of the end point of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentEndPointY(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y); - -/// @brief Sets the value of the "y" attribute of the end point of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the Layout object with the given index in the ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param layoutIndex the index number of the Layout to return. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param y the value to be set as "y" attribute of the end point of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentEndPointY(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y); - /// @brief Sets the value of the "y" attribute of the end point of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the ReactionGlyph object with the given index associated with the entered reaction id /// of the first Layout object in the ListOfLayouts of the SBML document. /// @param document a pointer to the SBMLDocument object. @@ -1310,25 +1234,6 @@ LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentBasePoint1X(SBMLDocu /// the SpeciesReference object does not exits or the object is @c NULL LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentBasePoint1X(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int reactionGlyphIndex = 0, unsigned int speciesReferenceIndex = 0, unsigned int curveSegmentIndex = 0); -/// @brief Sets the value of the "x" attribute of the base point 1 of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the first Layout object in the first ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param x the value to be set as "x" attribute of the base point 1 of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentBasePoint1X(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x); - -/// @brief Sets the value of the "x" attribute of the base point 1 of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the Layout object with the given index in the ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param layoutIndex the index number of the Layout to return. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param x the value to be set as "x" attribute of the base point 1 of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentBasePoint1X(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x); - /// @brief Sets the value of the "x" attribute of the base point 1 of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the ReactionGlyph object with the given index associated with the entered reaction id /// of the first Layout object in the ListOfLayouts of the SBML document. /// @param document a pointer to the SBMLDocument object. @@ -1375,25 +1280,6 @@ LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentBasePoint1Y(SBMLDocu /// the SpeciesReference object does not exits or the object is @c NULL LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentBasePoint1Y(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int reactionGlyphIndex = 0, unsigned int speciesReferenceIndex = 0, unsigned int curveSegmentIndex = 0); -/// @brief Sets the value of the "y" attribute of the base point 1 of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the first Layout object in the first ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param y the value to be set as "y" attribute of the base point 1 of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentBasePoint1Y(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y); - -/// @brief Sets the value of the "y" attribute of the base point 1 of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the Layout object with the given index in the ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param layoutIndex the index number of the Layout to return. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param y the value to be set as "y" attribute of the base point 1 of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentBasePoint1Y(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y); - /// @brief Sets the value of the "y" attribute of the base point 1 of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the ReactionGlyph object with the given index associated with the entered reaction id /// of the first Layout object in the ListOfLayouts of the SBML document. /// @param document a pointer to the SBMLDocument object. @@ -1440,25 +1326,6 @@ LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentBasePoint2X(SBMLDocu /// the SpeciesReference object does not exits or the object is @c NULL LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentBasePoint2X(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int reactionGlyphIndex = 0, unsigned int speciesReferenceIndex = 0, unsigned int curveSegmentIndex = 0); -/// @brief Sets the value of the "x" attribute of the base point 2 of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the first Layout object in the first ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param x the value to be set as "x" attribute of the base point 2 of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentBasePoint2X(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x); - -/// @brief Sets the value of the "x" attribute of the base point 2 of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the Layout object with the given index in the ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param layoutIndex the index number of the Layout to return. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param x the value to be set as "x" attribute of the base point 2 of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentBasePoint2X(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& x); - /// @brief Sets the value of the "x" attribute of the base point 2 of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the ReactionGlyph object with the given index associated with the entered reaction id /// of the first Layout object in the ListOfLayouts of the SBML document. /// @param document a pointer to the SBMLDocument object. @@ -1505,25 +1372,6 @@ LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentBasePoint2Y(SBMLDocu /// the SpeciesReference object does not exits or the object is @c NULL LIBSBMLNETWORK_EXTERN double getSpeciesReferenceCurveSegmentBasePoint2Y(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int reactionGlyphIndex = 0, unsigned int speciesReferenceIndex = 0, unsigned int curveSegmentIndex = 0); -/// @brief Sets the value of the "y" attribute of the base point 2 of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the first Layout object in the first ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param y the value to be set as "y" attribute of the base point 2 of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentBasePoint2Y(SBMLDocument* document, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y); - -/// @brief Sets the value of the "y" attribute of the base point 2 of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the first ReactionGlyph object of the Layout object with the given index in the ListOfLayouts of the SBML document. -/// @param document a pointer to the SBMLDocument object. -/// @param layoutIndex the index number of the Layout to return. -/// @param reactionId the id of the reaction the SpeciesReference object of which to be returned. -/// @param speciesReferenceIndex the index of the SpeciesReference. -/// @param curveSegmentIndex the index of the CurveSegment. -/// @param y the value to be set as "y" attribute of the base point 2 of the CubicBezier object. -/// @return integer value indicating success/failure of the function. -LIBSBMLNETWORK_EXTERN int setSpeciesReferenceCurveSegmentBasePoint2Y(SBMLDocument* document, unsigned int layoutIndex, const std::string& reactionId, unsigned int speciesReferenceIndex, unsigned int curveSegmentIndex, const double& y); - /// @brief Sets the value of the "y" attribute of the base point 2 of the CubicBezier object with the given index of the Curve of the SpeciesReference object with the given index of the ReactionGlyph object with the given index associated with the entered reaction id /// of the first Layout object in the ListOfLayouts of the SBML document. /// @param document a pointer to the SBMLDocument object.