X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelHighAPI%2FModelHighAPI_Interface.h;h=729d84a23997ae5bdb9276ba99bb39ffafe03973;hb=2714903267d23cd0c81166c506fb3edd1e069d40;hp=7c9774e3aa540cbde44096bb82aa02013e24f41d;hpb=ab55bcd64e3c21f7c5363168e52cf72c6953a765;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/ModelHighAPI_Interface.h b/src/ModelHighAPI/ModelHighAPI_Interface.h index 7c9774e3a..729d84a23 100644 --- a/src/ModelHighAPI/ModelHighAPI_Interface.h +++ b/src/ModelHighAPI/ModelHighAPI_Interface.h @@ -1,9 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D -// Name : ModelHighAPI_Interface.h -// Purpose: +// 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 // -// History: -// 17/05/16 - Sergey POKHODENKO - Creation of the file #ifndef SRC_MODELHIGHAPI_MODELHIGHAPI_INTERFACE_H_ #define SRC_MODELHIGHAPI_MODELHIGHAPI_INTERFACE_H_ @@ -58,6 +71,10 @@ public: MODELHIGHAPI_EXPORT void setName(const std::string& theName); + /// Shortcut for feature()->data()->name() + MODELHIGHAPI_EXPORT + std::string name() const; + /// Return firts object of the feature MODELHIGHAPI_EXPORT virtual ModelHighAPI_Selection result() const;