-// Copyright (C) 2014-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
return MY_COPY_ID;
}
+ /// Reference to the parent feature if exist
+ inline static const std::string& PARENT_ID()
+ {
+ static const std::string& MY_PARENT_ID("ParentFeature");
+ return MY_PARENT_ID;
+ }
+
/// Width of the auxiliary line
inline static const int SKETCH_LINE_WIDTH_AUXILIARY()
{
// }
// if (!aColor.empty()) {
// if (theResult.get() && ModelAPI_Session::get()->isOperation()) {
- // AttributeIntArrayPtr aColorAttr = theResult->data()->intArray(ModelAPI_Result::COLOR_ID());
+ // AttributeIntArrayPtr aColorAttr =
+ // theResult->data()->intArray(ModelAPI_Result::COLOR_ID());
// aColorAttr->setSize(3);
// // Set the color attribute in order do not use default colors in the presentation object
// for (int i = 0; i < 3; i++)
/// \brief Initializes attributes of derived class.
virtual void initDerivedClassAttributes(){};
+ /// \brief Initializes attributes of derived class which were added recently.
+ virtual void initDerivedClassAttributes2(){};
+
};
#endif