- 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();
+
+ MODEL_EXPORT virtual void setObject(const std::shared_ptr<ModelAPI_Object>& theObject);
+
+ /// Returns true if attribute was initialized by some value
+ MODEL_EXPORT virtual bool isInitialized();