+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: Model_AttributeRefAttr.h
// Created: 8 May 2014
// Author: Mikhail PONIKAROV
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);
/// Returns object referenced from this attribute
MODEL_EXPORT virtual ObjectPtr object();
+ /// Returns true if attribute was initialized by some value
+ MODEL_EXPORT virtual bool isInitialized();
+
protected:
/// Objects are created for features automatically
MODEL_EXPORT Model_AttributeRefAttr(TDF_Label& theLabel);