X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelHighAPI%2FModelHighAPI_Integer.cpp;h=fc17205d6608ca440596b79ac9b8f06c2635438e;hb=2054879244f3323c305222c79c57d2db6a487538;hp=e59f605f13bdbb420e7df0fac6d0b31c707e64f7;hpb=631e526ea63fc394c8fcbafe4af9a21cb84ddd4e;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/ModelHighAPI_Integer.cpp b/src/ModelHighAPI/ModelHighAPI_Integer.cpp index e59f605f1..fc17205d6 100644 --- a/src/ModelHighAPI/ModelHighAPI_Integer.cpp +++ b/src/ModelHighAPI/ModelHighAPI_Integer.cpp @@ -1,5 +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 @@ -42,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; +}