Salome HOME
Creation of producedByFeature initial implementation neede for the issue #1306
[modules/shaper.git] / src / Model / Model_ResultGroup.h
index 46a453de348b2f92fe2d495eabc5eb4dec269235..2252d455eeadd42782e7b331a35c3dc69a303ae7 100644 (file)
@@ -10,7 +10,7 @@
 #include "Model.h"
 #include <ModelAPI_ResultGroup.h>
 
-/**\class ModelAPI_ResultGroup
+/**\class Model_ResultGroup
  * \ingroup DataModel
  * \brief The groups result.
  *
@@ -20,6 +20,13 @@ class Model_ResultGroup : public ModelAPI_ResultGroup
 {
   std::shared_ptr<ModelAPI_Data> myOwnerData;  ///< data of owner of this result
 public:
+  /// Request for initialization of data model of the result: adding all attributes
+  virtual void initAttributes();
+
+  /// Retuns the parameters of color definition in the resources config manager
+  MODEL_EXPORT virtual void colorConfigInfo(std::string& theSection, std::string& theName,
+                                            std::string& theDefault);
+
   /// Returns the compound of selected entities
   MODEL_EXPORT virtual std::shared_ptr<GeomAPI_Shape> shape();
 
@@ -30,7 +37,7 @@ protected:
   /// Makes a body on the given feature data
   Model_ResultGroup(std::shared_ptr<ModelAPI_Data> theOwnerData);
 
-  friend class Model_Document;
+  friend class Model_Objects;
 };
 
 #endif