Salome HOME
Sketch with the Fixed constraints only should be processed as usual sketch
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Integer.cpp
index 047b31abb1e7502fa51bd72dce071ed076454e33..fc17205d6608ca440596b79ac9b8f06c2635438e 100644 (file)
@@ -1,6 +1,6 @@
 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
 // Name   : ModelHighAPI_Integer.cpp
-// Purpose: 
+// Purpose:
 //
 // History:
 // 29/03/16 - Sergey POKHODENKO - Creation of the file
@@ -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;
+}