X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FExchangePlugin_ExportFeature.h;h=5ec91c660f65b2230fe5b2be15f8be630f291265;hb=aee09da348319d21259bee81c45d00a08f657de0;hp=4ffce6277496e0d34e95d5b6eb118bc56943b965;hpb=a07ffbb46528d54ef7cdf49cea4cd4f2391cc1c7;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/ExchangePlugin_ExportFeature.h b/src/ExchangePlugin/ExchangePlugin_ExportFeature.h index 4ffce6277..5ec91c660 100644 --- a/src/ExchangePlugin/ExchangePlugin_ExportFeature.h +++ b/src/ExchangePlugin/ExchangePlugin_ExportFeature.h @@ -41,6 +41,12 @@ public: static const std::string MY_FILE_PATH_ID("file_path"); return MY_FILE_PATH_ID; } + /// attribute name of xao file path + inline static const std::string& XAO_FILE_PATH_ID() + { + static const std::string MY_XAO_FILE_PATH_ID("xao_file_path"); + return MY_XAO_FILE_PATH_ID; + } /// attribute name of file format inline static const std::string& FILE_FORMAT_ID() { @@ -79,6 +85,9 @@ public: /// Request for initialization of data model of the feature: adding all attributes EXCHANGEPLUGIN_EXPORT virtual void initAttributes(); + /// Reimplemented from ModelAPI_Feature::attributeChanged() + EXCHANGEPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID); + /// Computes or recomputes the results EXCHANGEPLUGIN_EXPORT virtual void execute();