Salome HOME
Fix tests MakeBrick2 & MakeBrick3. Fix Box macro feature.
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Interface.h
index c9719f41a7f230a2a098d551b0460c6155f54bfb..fd536ca333427158dcc0a7fa7970814688700fad 100644 (file)
 //--------------------------------------------------------------------------------------
 #include "ModelHighAPI.h"
 
+#include <list>
 #include <memory>
 #include <string>
 //--------------------------------------------------------------------------------------
 class ModelAPI_Feature;
+class ModelHighAPI_Selection;
 //--------------------------------------------------------------------------------------
 /**\class ModelHighAPI_Interface
  * \ingroup CPPHighAPI
@@ -35,12 +37,16 @@ public:
 
   /// Shortcut for feature()->getKind()
   MODELHIGHAPI_EXPORT
-  const std::string& getKind();
+  const std::string& getKind() const;
 
   /// Shortcut for feature()->execute()
   MODELHIGHAPI_EXPORT
   void execute();
 
+  /// Return all objects of the feature
+  MODELHIGHAPI_EXPORT
+  virtual std::list<ModelHighAPI_Selection> result() const;
+
   /// Throw exception to event loop
   MODELHIGHAPI_EXPORT
   void throwException(const std::string & theDescription);