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 #1865 : initial implementation of fields results and high level API
[modules/shaper.git]
/
src
/
ModelHighAPI
/
ModelHighAPI_Integer.cpp
diff --git
a/src/ModelHighAPI/ModelHighAPI_Integer.cpp
b/src/ModelHighAPI/ModelHighAPI_Integer.cpp
index 3742dc5fad7487d457225106c3ff0b6bc123f724..fc17205d6608ca440596b79ac9b8f06c2635438e 100644
(file)
--- a/
src/ModelHighAPI/ModelHighAPI_Integer.cpp
+++ b/
src/ModelHighAPI/ModelHighAPI_Integer.cpp
@@
-43,3
+43,9
@@
void ModelHighAPI_Integer::fillAttribute(
case VT_STRING: theAttribute->setText(myString); return;
}
}
+
+int ModelHighAPI_Integer::intValue() const
+{
+ // needed for array of integer, which supports no text
+ return myInt;
+}