Salome HOME
Issue #284 : message on not existing document simplification
[modules/shaper.git] / src / Model / Model_ResultGroup.h
index 30e3588985df75aa18e674e1e648f2748410846b..46a453de348b2f92fe2d495eabc5eb4dec269235 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        Model_ResultGroup.h
 // Created:     08 Jul 2014
 // Author:      Mikhail PONIKAROV
  */
 class Model_ResultGroup : public ModelAPI_ResultGroup
 {
-  boost::shared_ptr<ModelAPI_Data> myOwnerData;  ///< data of owner of this result
+  std::shared_ptr<ModelAPI_Data> myOwnerData;  ///< data of owner of this result
 public:
   /// Returns the compound of selected entities
-  MODEL_EXPORT virtual boost::shared_ptr<GeomAPI_Shape> shape() const;
+  MODEL_EXPORT virtual std::shared_ptr<GeomAPI_Shape> shape();
 
   /// Removes the stored builders
   MODEL_EXPORT virtual ~Model_ResultGroup() {}
 
 protected:
   /// Makes a body on the given feature data
-  Model_ResultGroup(boost::shared_ptr<ModelAPI_Data> theOwnerData);
+  Model_ResultGroup(std::shared_ptr<ModelAPI_Data> theOwnerData);
 
   friend class Model_Document;
 };