20 #ifndef SRC_MODELHIGHAPI_MODELHIGHAPI_REFERENCE_H_
21 #define SRC_MODELHIGHAPI_MODELHIGHAPI_REFERENCE_H_
24 #include "ModelHighAPI.h"
57 MODELHIGHAPI_EXPORT
virtual
58 void fillAttribute(
const std::shared_ptr<ModelAPI_AttributeReference> & theAttribute)
const;
62 virtual void appendToList(
const std::shared_ptr<ModelAPI_AttributeRefList> & theAttribute)
const;
66 virtual std::shared_ptr<ModelAPI_Feature>
feature()
const;
69 std::shared_ptr<ModelAPI_Object> myObject;
Attribute that contains list of references to features (located in the same document).
Definition: ModelAPI_AttributeRefList.h:33
Attribute that contains reference to feature (located in the same document).
Definition: ModelAPI_AttributeReference.h:32
Generic attribute of the Object.
Definition: ModelAPI_Attribute.h:34
Feature function that represents the particular functionality of this operation.
Definition: ModelAPI_Feature.h:41
Represents any object in the data model and in the object browser.
Definition: ModelAPI_Object.h:45
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:46
Class for filling ModelAPI_AttributeReference.
Definition: ModelHighAPI_Reference.h:41
virtual std::shared_ptr< ModelAPI_Feature > feature() const
Returns feature for this object.
Definition: ModelHighAPI_Reference.cpp:71
virtual void fillAttribute(const std::shared_ptr< ModelAPI_AttributeReference > &theAttribute) const
Fill attribute values.
Definition: ModelHighAPI_Reference.cpp:57
ModelHighAPI_Reference()
Default constructor.
Definition: ModelHighAPI_Reference.cpp:28
virtual void appendToList(const std::shared_ptr< ModelAPI_AttributeRefList > &theAttribute) const
Append to list attribute.
Definition: ModelHighAPI_Reference.cpp:64
virtual ~ModelHighAPI_Reference()
Destructor.
Definition: ModelHighAPI_Reference.cpp:52