X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_AttributeSelection.h;h=212e83be9941a605b78cd7c69ee5c9903eef3403;hb=9fffc6fbe2d96642d1798a819b07b84bc3d96e07;hp=9829bde7981cc73f8efa15b205a43dd53197a3e3;hpb=647319412937f3b52b49c24435bdf7895a433e53;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_AttributeSelection.h b/src/ModelAPI/ModelAPI_AttributeSelection.h index 9829bde79..212e83be9 100644 --- a/src/ModelAPI/ModelAPI_AttributeSelection.h +++ b/src/ModelAPI/ModelAPI_AttributeSelection.h @@ -108,12 +108,20 @@ class ModelAPI_AttributeSelection : public ModelAPI_Attribute virtual void selectSubShape(const std::string& theType, const std::shared_ptr& 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();