Salome HOME
Issue #244 : do not allow to select null objects (coming from other documents) yet
[modules/shaper.git] / src / Model / Model_AttributeRefAttr.h
index 273cfd544102c0c5e183668e578d2d9914727c78..83eaf77f2ff4db4cfba9dcb66677748c41a2726e 100644 (file)
@@ -2,8 +2,8 @@
 // Created:     8 May 2014
 // Author:      Mikhail PONIKAROV
 
-#ifndef Model_AttributeRefAttr_HeaderFile
-#define Model_AttributeRefAttr_HeaderFile
+#ifndef Model_AttributeRefAttr_H_
+#define Model_AttributeRefAttr_H_
 
 #include "Model.h"
 #include "ModelAPI_AttributeRefAttr.h"
 
 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();
 
@@ -38,7 +38,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);