Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update copyrights
[modules/shaper.git]
/
src
/
ModelHighAPI
/
ModelHighAPI_Interface.h
diff --git
a/src/ModelHighAPI/ModelHighAPI_Interface.h
b/src/ModelHighAPI/ModelHighAPI_Interface.h
index 054dd1c36ec8cd655b285d0e14ffd664ca84c519..8675bb66ce33f14083bc5ab8d424f5c8100d57b4 100644
(file)
--- a/
src/ModelHighAPI/ModelHighAPI_Interface.h
+++ b/
src/ModelHighAPI/ModelHighAPI_Interface.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-201
7
CEA/DEN, EDF R&D
+// Copyright (C) 2014-201
9
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
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-12,10
+12,9
@@
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
//
// 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
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
//
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef SRC_MODELHIGHAPI_MODELHIGHAPI_INTERFACE_H_
//
#ifndef SRC_MODELHIGHAPI_MODELHIGHAPI_INTERFACE_H_
@@
-71,6
+70,10
@@
public:
MODELHIGHAPI_EXPORT
void setName(const std::string& theName);
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;
/// Return firts object of the feature
MODELHIGHAPI_EXPORT
virtual ModelHighAPI_Selection result() const;