X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers_I%2FStdMeshers_FixedPoints1D_i.cxx;h=fbaa715c6aabe4e899d7c840f3bef6478480ed14;hb=a5ebdbe87e2c7f21e10a0db66022e6ca0f9ad1c5;hp=73fd93755082c37d352b2cf2d189d8cf469fe99a;hpb=bd8f1aee7c78f7d2eb82bd4fec5e08c9e3d280ce;p=modules%2Fsmesh.git diff --git a/src/StdMeshers_I/StdMeshers_FixedPoints1D_i.cxx b/src/StdMeshers_I/StdMeshers_FixedPoints1D_i.cxx index 73fd93755..fbaa715c6 100644 --- a/src/StdMeshers_I/StdMeshers_FixedPoints1D_i.cxx +++ b/src/StdMeshers_I/StdMeshers_FixedPoints1D_i.cxx @@ -1,9 +1,9 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -49,7 +49,6 @@ StdMeshers_FixedPoints1D_i::StdMeshers_FixedPoints1D_i( PortableServer::POA_ptr : SALOME::GenericObj_i( thePOA ), SMESH_Hypothesis_i( thePOA ) { - MESSAGE( "StdMeshers_FixedPoints1D_i::StdMeshers_FixedPoints1D_i" ); myBaseImpl = new ::StdMeshers_FixedPoints1D(theGenImpl->GetANewId(), theStudyId, theGenImpl); @@ -65,7 +64,6 @@ StdMeshers_FixedPoints1D_i::StdMeshers_FixedPoints1D_i( PortableServer::POA_ptr StdMeshers_FixedPoints1D_i::~StdMeshers_FixedPoints1D_i() { - MESSAGE( "StdMeshers_FixedPoints1D_i::~StdMeshers_FixedPoints1D_i" ); } //============================================================================= @@ -77,7 +75,6 @@ StdMeshers_FixedPoints1D_i::~StdMeshers_FixedPoints1D_i() void StdMeshers_FixedPoints1D_i::SetNbSegments(const SMESH::long_array& listNbSeg) throw ( SALOME::SALOME_Exception ) { - MESSAGE( "StdMeshers_FixedPoints1D_i::SetNbSegments" ); ASSERT( myBaseImpl ); try { std::vector nbsegs( listNbSeg.length() ); @@ -104,7 +101,6 @@ void StdMeshers_FixedPoints1D_i::SetNbSegments(const SMESH::long_array& listNbSe void StdMeshers_FixedPoints1D_i::SetPoints(const SMESH::double_array& listParams) throw ( SALOME::SALOME_Exception ) { - MESSAGE( "StdMeshers_FixedPoints1D_i::SetPoints" ); ASSERT( myBaseImpl ); try { std::vector params( listParams.length() ); @@ -132,12 +128,11 @@ void StdMeshers_FixedPoints1D_i::SetPoints(const SMESH::double_array& listParams SMESH::double_array* StdMeshers_FixedPoints1D_i::GetPoints() { - MESSAGE( "StdMeshers_FixedPoints1D_i::GetPoints" ); ASSERT( myBaseImpl ); SMESH::double_array_var anArray = new SMESH::double_array; std::vector params = this->GetImpl()->GetPoints(); anArray->length( params.size() ); - for ( CORBA::Long i = 0; i < params.size(); i++) + for ( CORBA::ULong i = 0; i < params.size(); i++) anArray [ i ] = params [ i ]; return anArray._retn(); @@ -153,12 +148,11 @@ SMESH::double_array* StdMeshers_FixedPoints1D_i::GetPoints() SMESH::long_array* StdMeshers_FixedPoints1D_i::GetNbSegments() { - MESSAGE( "StdMeshers_FixedPoints1D_i::GetNbSegments" ); ASSERT( myBaseImpl ); SMESH::long_array_var anArray = new SMESH::long_array; std::vector nbsegs = this->GetImpl()->GetNbSegments(); anArray->length( nbsegs.size() ); - for ( CORBA::Long i = 0; i < nbsegs.size(); i++) + for ( CORBA::ULong i = 0; i < nbsegs.size(); i++) anArray [ i ] = nbsegs [ i ]; return anArray._retn(); @@ -224,7 +218,6 @@ void StdMeshers_FixedPoints1D_i::SetObjectEntry( const char* theEntry ) char* StdMeshers_FixedPoints1D_i::GetObjectEntry() { - MESSAGE( "StdMeshers_FixedPoints1D_i::SetObjectEntry" ); ASSERT( myBaseImpl ); const char* entry; try { @@ -247,12 +240,11 @@ char* StdMeshers_FixedPoints1D_i::GetObjectEntry() SMESH::long_array* StdMeshers_FixedPoints1D_i::GetReversedEdges() { - MESSAGE( "StdMeshers_FixedPoints1D_i::GetReversedEdges" ); ASSERT( myBaseImpl ); SMESH::long_array_var anArray = new SMESH::long_array; std::vector ids = this->GetImpl()->GetReversedEdges(); anArray->length( ids.size() ); - for ( CORBA::Long i = 0; i < ids.size(); i++) + for ( CORBA::ULong i = 0; i < ids.size(); i++) anArray [ i ] = ids [ i ]; return anArray._retn(); @@ -268,7 +260,6 @@ SMESH::long_array* StdMeshers_FixedPoints1D_i::GetReversedEdges() ::StdMeshers_FixedPoints1D* StdMeshers_FixedPoints1D_i::GetImpl() { - MESSAGE( "StdMeshers_FixedPoints1D_i::GetImpl" ); return ( ::StdMeshers_FixedPoints1D* )myBaseImpl; }