X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_Translation.h;h=13fa9480699783cb31b9eed50dc18e3e4ed38efa;hb=9270adddc12db9661c676544537b0e8eb78c1624;hp=1e21838ab45c3daad0865cab5ffbb34aef6639e9;hpb=ba4c95a98d9ef1ff40b1c750dbd9666df412ecad;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_Translation.h b/src/SketchAPI/SketchAPI_Translation.h index 1e21838ab..13fa94806 100644 --- a/src/SketchAPI/SketchAPI_Translation.h +++ b/src/SketchAPI/SketchAPI_Translation.h @@ -1,9 +1,21 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -// Name : SketchAPI_Translation.h -// Purpose: +// Copyright (C) 2014-2022 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 // -// History: -// 16/06/16 - Sergey POKHODENKO - Creation of the file #ifndef SRC_SKETCHAPI_SKETCHAPI_TRANSLATION_H_ #define SRC_SKETCHAPI_SKETCHAPI_TRANSLATION_H_ @@ -62,10 +74,19 @@ public: ModelAPI_AttributeRefList, /** Translationed objects */ ) - /// List of translated objects + /// Set list of objects to be translated + SKETCHAPI_EXPORT + void setTranslationList(const std::list >& theObjects); + + /// List of translated objects. + /// [DEPRECATED]: use translatedList() instead. SKETCHAPI_EXPORT std::list > translated() const; + /// List of translated objects. + SKETCHAPI_EXPORT + std::list > translatedList() const; + /// Dump wrapped feature virtual void dump(ModelHighAPI_Dumper& theDumper) const; };