X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelHighAPI%2FModelHighAPI_Integer.cpp;h=fc17205d6608ca440596b79ac9b8f06c2635438e;hb=e20a4ec83c24222f7a3b159111f15e87bce6370f;hp=047b31abb1e7502fa51bd72dce071ed076454e33;hpb=0bada2df7b7948c756effe42fe860cc1b93b77af;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/ModelHighAPI_Integer.cpp b/src/ModelHighAPI/ModelHighAPI_Integer.cpp index 047b31abb..fc17205d6 100644 --- a/src/ModelHighAPI/ModelHighAPI_Integer.cpp +++ b/src/ModelHighAPI/ModelHighAPI_Integer.cpp @@ -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; +}