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
Meet the coding style (line length <= 100)
[modules/shaper.git]
/
src
/
ExchangePlugin
/
ExchangePlugin_ExportFeature.h
diff --git
a/src/ExchangePlugin/ExchangePlugin_ExportFeature.h
b/src/ExchangePlugin/ExchangePlugin_ExportFeature.h
index 9a71b05618ae5106b7e886a78b94b10a995c7618..5ec91c660f65b2230fe5b2be15f8be630f291265 100644
(file)
--- 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;
}
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()
{
/// attribute name of file format
inline static const std::string& FILE_FORMAT_ID()
{
@@
-59,6
+65,12
@@
public:
static const std::string MY_XAO_AUTHOR_ID("xao_author");
return MY_XAO_AUTHOR_ID;
}
static const std::string MY_XAO_AUTHOR_ID("xao_author");
return MY_XAO_AUTHOR_ID;
}
+ /// attribute name of geometry name for XAO format
+ inline static const std::string& XAO_GEOMETRY_NAME_ID()
+ {
+ static const std::string MY_XAO_GEOMETRY_NAME_ID("xao_geometry_name");
+ return MY_XAO_GEOMETRY_NAME_ID;
+ }
/// Default constructor
EXCHANGEPLUGIN_EXPORT ExchangePlugin_ExportFeature();
/// Default destructor
/// Default constructor
EXCHANGEPLUGIN_EXPORT ExchangePlugin_ExportFeature();
/// Default destructor
@@
-73,6
+85,9
@@
public:
/// Request for initialization of data model of the feature: adding all attributes
EXCHANGEPLUGIN_EXPORT virtual void initAttributes();
/// 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();
/// Computes or recomputes the results
EXCHANGEPLUGIN_EXPORT virtual void execute();
@@
-85,12
+100,10
@@
public:
protected:
/// Performs export of the file
EXCHANGEPLUGIN_EXPORT void exportFile(const std::string& theFileName,
protected:
/// Performs export of the file
EXCHANGEPLUGIN_EXPORT void exportFile(const std::string& theFileName,
- const std::string& theFormat,
- std::shared_ptr<GeomAPI_Shape> theShape);
+ const std::string& theFormat);
/// Performs export to XAO file
/// Performs export to XAO file
- EXCHANGEPLUGIN_EXPORT void exportXAO(const std::string& theFileName,
- std::shared_ptr<GeomAPI_Shape> theShape);
+ EXCHANGEPLUGIN_EXPORT void exportXAO(const std::string& theFileName);
};
#endif /* EXPORT_EXPORTFEATURE_H_ */
};
#endif /* EXPORT_EXPORTFEATURE_H_ */