X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_MakeShapeList.h;h=e79826e89f86c2c4eaf2866ea8d422183abc2c66;hb=a55586483e5dccc5466d6ec241e2147e210d839f;hp=64dfa760b8dcf0e64d80ffb4dbb34d56f4d7f68f;hpb=811b2ca2d1a046ba83da8c4848c2d3cf061b6afa;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h index 64dfa760b..e79826e89 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h @@ -1,8 +1,23 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D +// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com +// -// File: GeomAlgoAPI_MakeShapeList.h -// Created: 27 May 2015 -// Author: Dmitry Bobylev #ifndef GeomAlgoAPI_MakeShapeList_H_ #define GeomAlgoAPI_MakeShapeList_H_ @@ -12,10 +27,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 +41,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;