- Handle_TDF_Reference myRef; ///< references to the feature label
-public:
- /// Defines the feature referenced from this attribute
- MODEL_EXPORT virtual void setValue(boost::shared_ptr<ModelAPI_Feature> theFeature);
+ Handle_TDF_Reference myRef; ///< references to the feature label
+ public:
+ /// Defines the object referenced from this attribute
+ MODEL_EXPORT virtual void setValue(ObjectPtr theObject);
+
+ /// Returns object referenced from this attribute
+ MODEL_EXPORT virtual ObjectPtr value();
+
+ MODEL_EXPORT ~Model_AttributeReference();