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
Issue #2130: arc is done not as desired
[modules/shaper.git]
/
src
/
ModelHighAPI
/
ModelHighAPI_Integer.h
diff --git
a/src/ModelHighAPI/ModelHighAPI_Integer.h
b/src/ModelHighAPI/ModelHighAPI_Integer.h
index 36be4ca20b705f5fea5acaa7d629ef45535eea4e..111e8fbf459164db412396e86743bbdb0f446e22 100644
(file)
--- a/
src/ModelHighAPI/ModelHighAPI_Integer.h
+++ b/
src/ModelHighAPI/ModelHighAPI_Integer.h
@@
-1,6
+1,6
@@
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
// Name : ModelHighAPI_Integer.h
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
// Name : ModelHighAPI_Integer.h
-// Purpose:
+// Purpose:
//
// History:
// 29/03/16 - Sergey POKHODENKO - Creation of the file
//
// History:
// 29/03/16 - Sergey POKHODENKO - Creation of the file
@@
-25,7
+25,7
@@
class ModelHighAPI_Integer
public:
/// Constructor for int
MODELHIGHAPI_EXPORT
public:
/// Constructor for int
MODELHIGHAPI_EXPORT
- ModelHighAPI_Integer(int theValue = 0
.
);
+ ModelHighAPI_Integer(int theValue = 0);
/// Constructor for std::string
MODELHIGHAPI_EXPORT
ModelHighAPI_Integer(const std::string & theValue);
/// Constructor for std::string
MODELHIGHAPI_EXPORT
ModelHighAPI_Integer(const std::string & theValue);
@@
-40,6
+40,9
@@
public:
MODELHIGHAPI_EXPORT
virtual void fillAttribute(const std::shared_ptr<ModelAPI_AttributeInteger> & theAttribute) const;
MODELHIGHAPI_EXPORT
virtual void fillAttribute(const std::shared_ptr<ModelAPI_AttributeInteger> & theAttribute) const;
+ /// Returns a value (must be used only for attributes which support no text)
+ MODELHIGHAPI_EXPORT virtual int intValue() const;
+
private:
enum VariantType { VT_INT, VT_STRING } myVariantType;
int myInt;
private:
enum VariantType { VT_INT, VT_STRING } myVariantType;
int myInt;