X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOM%2FGEOM_BaseDriver.cxx;h=c70b6bfd30044b0b646b694802fca13c0be39c1d;hb=d617faae6bc5aeb91b63796618a20c7c13037b6c;hp=2097da59306d017d74dcc558ad3d2f45beed8c4e;hpb=3cd92817cb4c5ee5911d6f40fe977b5e57b980e1;p=modules%2Fgeom.git diff --git a/src/GEOM/GEOM_BaseDriver.cxx b/src/GEOM/GEOM_BaseDriver.cxx old mode 100755 new mode 100644 index 2097da593..c70b6bfd3 --- a/src/GEOM/GEOM_BaseDriver.cxx +++ b/src/GEOM/GEOM_BaseDriver.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -28,13 +28,12 @@ #include "GEOM_Function.hxx" #include "GEOM_Object.hxx" +#include "GEOM_Engine.hxx" -#include #include +#include -IMPLEMENT_STANDARD_HANDLE (GEOM_BaseDriver,TFunction_Driver); -IMPLEMENT_STANDARD_RTTIEXT(GEOM_BaseDriver,TFunction_Driver); - +IMPLEMENT_STANDARD_RTTIEXT(GEOM_BaseDriver,TFunction_Driver) //================================================================================ /*! @@ -120,7 +119,8 @@ GEOM_Param & GEOM_Param::operator<<( const Handle(TColStd_HSequenceOfTransient)& { if ( funs->Length() > 1 ) (*this) << funs->Length() << " objects: "; - for ( int i = 1; i <= funs->Length(); ++i ) + int nb = Min( 100, funs->Length() ); // don't show huge lists + for ( int i = 1; i <= nb; ++i ) (*this) << funs->Value( i ) << " "; } return *this;