X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOM%2FGEOM_Field.cxx;h=164fc8aab4e92085451e7d58b9645e3f4e4e0af1;hb=d617faae6bc5aeb91b63796618a20c7c13037b6c;hp=124e16c586729560cc6558a4f35ba387850348b2;hpb=bd2042b4d19d69deaf182edda40bbff83e53490a;p=modules%2Fgeom.git diff --git a/src/GEOM/GEOM_Field.cxx b/src/GEOM/GEOM_Field.cxx index 124e16c58..164fc8aab 100644 --- a/src/GEOM/GEOM_Field.cxx +++ b/src/GEOM/GEOM_Field.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 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 @@ -46,7 +46,7 @@ namespace { //================================================================================ /*! - * \brief Returns a funtion with a given type OR the 1st function + * \brief Returns a function with a given type OR the 1st function */ //================================================================================ @@ -101,7 +101,7 @@ void GEOM_Field::Init(const Handle(GEOM_Object)& theShape, { Handle(GEOM_Function) fun = GetFunction(1); if ( !fun.IsNull() ) - Standard_MultiplyDefined::Raise( "Reinitialization of GEOM_Field is forbiden" ); + Standard_MultiplyDefined::Raise( "Reinitialization of GEOM_Field is forbidden" ); fun = AddFunction( GetFieldID(), FUN_ADD_FIELD ); GEOM_IField data( fun ); @@ -318,8 +318,8 @@ Handle(TColStd_HArray1OfExtendedString) GEOM_Field::GetComponents() //function : getFunctionToSetValues //purpose : dump any HArray into a string //======================================================================= -template< class Handle_HARRAY1 > -TCollection_AsciiString arrayToSting( const Handle_HARRAY1& ar, +template< class HandleArray1 > +TCollection_AsciiString arrayToSting( const HandleArray1& ar, const char* quote="") { TCollection_AsciiString s; @@ -364,7 +364,7 @@ Handle(GEOM_FieldStep) GEOM_Field::AddStep(const int stepID, const int stamp) if(anEngine == NULL) return NULL; step = Handle(GEOM_FieldStep)::DownCast - ( anEngine->AddBaseObject( GetDocID(),GEOM_FIELD_STEP_OBJTYPE )); + ( anEngine->AddBaseObject( GEOM_FIELD_STEP_OBJTYPE )); if ( step.IsNull()) return step; @@ -498,7 +498,7 @@ void GEOM_FieldStep::Init(const Handle(GEOM_Field)& theField, { Handle(GEOM_Function) fun = GetFunction(1); if ( !fun.IsNull() ) - Standard_MultiplyDefined::Raise( "Reinitialization of GEOM_FieldStep is forbiden" ); + Standard_MultiplyDefined::Raise( "Reinitialization of GEOM_FieldStep is forbidden" ); fun = AddFunction( GEOM_Field::GetFieldID(), GEOM_Field::FUN_ADD_STEP ); GEOM_IField data( fun ); @@ -756,7 +756,5 @@ const Standard_GUID& GEOM_FieldStep::GetDataID() return TDataStd_ExtStringArray::GetID(); } -IMPLEMENT_STANDARD_HANDLE (GEOM_Field, GEOM_BaseObject ); -IMPLEMENT_STANDARD_RTTIEXT(GEOM_Field, GEOM_BaseObject ); -IMPLEMENT_STANDARD_HANDLE (GEOM_FieldStep, GEOM_BaseObject ); -IMPLEMENT_STANDARD_RTTIEXT(GEOM_FieldStep, GEOM_BaseObject ); +IMPLEMENT_STANDARD_RTTIEXT(GEOM_Field, GEOM_BaseObject ) +IMPLEMENT_STANDARD_RTTIEXT(GEOM_FieldStep, GEOM_BaseObject )