X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_MakeShapeList.h;h=179e0d1832f52d54ba3465cb3f544c07d5f26350;hb=f0cec241aae9ca16d86e166f45cb5c4987d2c792;hp=6b6682c1cfa0fb02f79284160381e08404ecafc3;hpb=952efeb621c89406b5b4b2a7173ad42de4034fa8;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h index 6b6682c1c..179e0d183 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h @@ -12,10 +12,9 @@ #include -/** \class GeomAlgoAPI_MakeShapeList - * \ingroup DataAlgo - * \brief List of topological shapes constructions - */ +/// \class GeomAlgoAPI_MakeShapeList +/// \ingroup DataAlgo +/// \brief List of topological shapes constructions class GeomAlgoAPI_MakeShapeList : public GeomAlgoAPI_MakeShape { enum OperationType { @@ -27,25 +26,17 @@ public: /// Default constructor GEOMALGOAPI_EXPORT GeomAlgoAPI_MakeShapeList(); - /** \brief Constructor - * \param[in] theMakeShapeList list of algorithms. - */ + /// \brief Constructor + /// \param[in] theMakeShapeList list of algorithms. GEOMALGOAPI_EXPORT GeomAlgoAPI_MakeShapeList(const ListOfMakeShape& theMakeShapeList); - /** \brief Initializes a class with new list of algorithms. - * \param[in] theMakeShapeList list of algorithms. - */ + /// \brief Initializes a class with new list of algorithms. + /// \param[in] theMakeShapeList list of algorithms. GEOMALGOAPI_EXPORT void init(const ListOfMakeShape& theMakeShapeList); - /** \brief Adds algo to the end of list. - * \param[in] theMakeShape algo to be added. - */ - GEOMALGOAPI_EXPORT void append(const std::shared_ptr theMakeShape); - - /** \brief Adds another one list of algos to the end of list. - * \param[in] theMakeShapeList algo list to be added. - */ - GEOMALGOAPI_EXPORT void append(const GeomAlgoAPI_MakeShapeList& theMakeShapeList); + /// \brief Adds algo to the end of list. + /// \param[in] theMakeShape algo to be added. + GEOMALGOAPI_EXPORT void appendAlgo(const std::shared_ptr theMakeShape); /// \return a shape built by the shape construction algorithms GEOMALGOAPI_EXPORT virtual const std::shared_ptr shape() const; @@ -63,12 +54,11 @@ public: private: void result(const std::shared_ptr theShape, - ListOfShape& theHistory, - OperationType theOperationType); - + OperationType theOperationType, + ListOfShape& theHistory); protected: - ListOfMakeShape myListOfMakeShape; + ListOfMakeShape myListOfMakeShape; ///< List of make shape algos. }; #endif