X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelHighAPI%2FModelHighAPI_Interface.h;h=729d84a23997ae5bdb9276ba99bb39ffafe03973;hb=b06cf1477fb1ee46d7ae260c234cac5d0000abf2;hp=0cfe48816933ecff44a68012ea4e5189b82649c4;hpb=2532fb2df83ee1ddd9ff3e8b381d3788eaa15b69;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/ModelHighAPI_Interface.h b/src/ModelHighAPI/ModelHighAPI_Interface.h index 0cfe48816..729d84a23 100644 --- a/src/ModelHighAPI/ModelHighAPI_Interface.h +++ b/src/ModelHighAPI/ModelHighAPI_Interface.h @@ -14,7 +14,8 @@ // 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 +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com // #ifndef SRC_MODELHIGHAPI_MODELHIGHAPI_INTERFACE_H_ @@ -70,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;