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
Merge branch 'Dev_1.1.0' of newgeom:newgeom into Dev_1.1.0
[modules/shaper.git]
/
src
/
ExchangePlugin
/
ExchangePlugin_ImportFeature.h
diff --git
a/src/ExchangePlugin/ExchangePlugin_ImportFeature.h
b/src/ExchangePlugin/ExchangePlugin_ImportFeature.h
index f62fee937663c61eb31e5f33a126e04d93f2b726..673a6d9509955ac69ccd9298798b1ea936a7f8a7 100644
(file)
--- a/
src/ExchangePlugin/ExchangePlugin_ImportFeature.h
+++ b/
src/ExchangePlugin/ExchangePlugin_ImportFeature.h
@@
-5,9
+5,16
@@
#include <ExchangePlugin.h>
#include <ModelAPI_Feature.h>
#include <ExchangePlugin.h>
#include <ModelAPI_Feature.h>
+#include <ModelAPI_Result.h>
#include <map>
#include <map>
+ /**\class ExchangePlugin_ImportFeature
+ * \ingroup Plugins
+ * \brief Feature for import shapes from the external files in CAD formats.
+ *
+ * The set of supported formats is defined in the configuration file.
+ */
class ExchangePlugin_ImportFeature : public ModelAPI_Feature
{
public:
class ExchangePlugin_ImportFeature : public ModelAPI_Feature
{
public:
@@
-23,8
+30,9
@@
class ExchangePlugin_ImportFeature : public ModelAPI_Feature
static const std::string MY_FILE_PATH_ID("import_file_selector");
return MY_FILE_PATH_ID;
}
static const std::string MY_FILE_PATH_ID("import_file_selector");
return MY_FILE_PATH_ID;
}
-
+ /// default constructor
EXCHANGEPLUGIN_EXPORT ExchangePlugin_ImportFeature();
EXCHANGEPLUGIN_EXPORT ExchangePlugin_ImportFeature();
+ /// default destructor
EXCHANGEPLUGIN_EXPORT virtual ~ExchangePlugin_ImportFeature();
/// Returns the unique kind of a feature
EXCHANGEPLUGIN_EXPORT virtual ~ExchangePlugin_ImportFeature();
/// Returns the unique kind of a feature
@@
-42,6
+50,7
@@
class ExchangePlugin_ImportFeature : public ModelAPI_Feature
}
protected:
}
protected:
+ /// POerforms the import of the file
EXCHANGEPLUGIN_EXPORT bool importFile(const std::string& theFileName);
private:
EXCHANGEPLUGIN_EXPORT bool importFile(const std::string& theFileName);
private: