Salome HOME
Fix for random order of faces in selection name (groups on extrusion after aborting).
[modules/shaper.git] / src / Model / Model_AttributeRefAttr.h
index efb879c6d5f35a1e833708550221a10296f76ea2..94609a8f5f37e5e9390638844764f3d177d5b775 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        Model_AttributeRefAttr.h
 // Created:     8 May 2014
 // Author:      Mikhail PONIKAROV
 
 class Model_AttributeRefAttr : public ModelAPI_AttributeRefAttr
 {
-  Handle_TDF_Reference myRef; ///< reference to the feature label
-   ///< ID of the referenced attirbute (empty if this is a reference to a feature)
+  Handle_TDF_Reference myRef;  ///< reference to the feature label
+  ///< ID of the referenced attirbute (empty if this is a reference to a feature)
   Handle_TDataStd_Comment myID;
-public:
+ public:
   /// Returns true if this attribute references to a object (not to the attribute)
   MODEL_EXPORT virtual bool isObject();
 
   /// Defines the reference to the attribute
-  MODEL_EXPORT virtual void setAttr(boost::shared_ptr<ModelAPI_Attribute> theAttr);
+  MODEL_EXPORT virtual void setAttr(std::shared_ptr<ModelAPI_Attribute> theAttr);
 
   /// Returns attribute referenced from this attribute
-  MODEL_EXPORT virtual boost::shared_ptr<ModelAPI_Attribute> attr();
+  MODEL_EXPORT virtual std::shared_ptr<ModelAPI_Attribute> attr();
 
   /// Defines the reference to the object
   MODEL_EXPORT virtual void setObject(ObjectPtr theFeature);
@@ -38,7 +40,7 @@ public:
   /// Returns object referenced from this attribute
   MODEL_EXPORT virtual ObjectPtr object();
 
-protected:
+ protected:
   /// Objects are created for features automatically
   MODEL_EXPORT Model_AttributeRefAttr(TDF_Label& theLabel);