Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[EDF] (2023-T1) Sketch middle point constrain should create point if missing
[modules/shaper.git]
/
src
/
ModelAPI
/
ModelAPI_AttributeSelection.h
diff --git
a/src/ModelAPI/ModelAPI_AttributeSelection.h
b/src/ModelAPI/ModelAPI_AttributeSelection.h
index fa5b5605319026dc5d26e6918e58a3191f6545ff..9a0c58d6744db357455c656b224fc0e6a7912b77 100644
(file)
--- a/
src/ModelAPI/ModelAPI_AttributeSelection.h
+++ b/
src/ModelAPI/ModelAPI_AttributeSelection.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-202
0 CEA/DEN, EDF R&D
+// Copyright (C) 2014-202
3 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-92,13
+92,13
@@
class ModelAPI_AttributeSelection : public ModelAPI_Attribute
/// Returns a textual string of the selection
/// \param theDefaultValue a value, which is used if the naming name can not be obtained
/// Returns a textual string of the selection
/// \param theDefaultValue a value, which is used if the naming name can not be obtained
- virtual std::
string namingName(const std::string& theDefaultValue =
"") = 0;
+ virtual std::
wstring namingName(const std::wstring& theDefaultValue = L
"") = 0;
/// Defines an id of the selection
virtual void setId(int theID) = 0;
/// Selects sub-shape by the textual Name
/// Defines an id of the selection
virtual void setId(int theID) = 0;
/// Selects sub-shape by the textual Name
- virtual void selectSubShape(const std::string& theType, const std::string& theSubShapeName) = 0;
+ virtual void selectSubShape(const std::string& theType, const std::
w
string& theSubShapeName) = 0;
/// Selects sub-shape by its inner point
virtual void selectSubShape(const std::string& theType,
/// Selects sub-shape by its inner point
virtual void selectSubShape(const std::string& theType,
@@
-106,7
+106,7
@@
class ModelAPI_AttributeSelection : public ModelAPI_Attribute
/// Selects sub-shape by weak naming index
virtual void selectSubShape(const std::string& theType,
/// Selects sub-shape by weak naming index
virtual void selectSubShape(const std::string& theType,
- const std::string& theContextName, const int theIndex) = 0;
+ const std::
w
string& theContextName, const int theIndex) = 0;
/// Returns true if recompute of selection become impossible
virtual bool isInvalid() = 0;
/// Returns true if recompute of selection become impossible
virtual bool isInvalid() = 0;
@@
-118,7
+118,7
@@
class ModelAPI_AttributeSelection : public ModelAPI_Attribute
MODELAPI_EXPORT virtual ~ModelAPI_AttributeSelection();
/// Returns the name by context. Adds the part name if the context is located in other document
MODELAPI_EXPORT virtual ~ModelAPI_AttributeSelection();
/// Returns the name by context. Adds the part name if the context is located in other document
- MODELAPI_EXPORT virtual std::string contextName(const ResultPtr& theContext) const = 0;
+ MODELAPI_EXPORT virtual std::
w
string contextName(const ResultPtr& theContext) const = 0;
/// Makes the current local selection becomes all sub-shapes with same base geometry.
MODELAPI_EXPORT virtual void combineGeometrical() = 0;
/// Makes the current local selection becomes all sub-shapes with same base geometry.
MODELAPI_EXPORT virtual void combineGeometrical() = 0;