virtual void selectSubShape(const std::string& theType,
const std::shared_ptr<GeomAPI_Pnt>& thePoint) = 0;
+ /// Selects sub-shape by weak naming index
+ virtual void selectSubShape(const std::string& theType,
+ const std::string& theContextName, const int theIndex) = 0;
+
/// Returns true if recompute of selection become impossible
virtual bool isInvalid() = 0;
+ /// Returns true if the name was stored using weak naming principle
+ MODELAPI_EXPORT virtual bool isWeakNaming() = 0;
+
/// To virtually destroy the fields of successors
MODELAPI_EXPORT virtual ~ModelAPI_AttributeSelection();
+
protected:
/// Objects are created for features automatically
MODELAPI_EXPORT ModelAPI_AttributeSelection();