fight warnings c++17 error throw(). Build NETGENPLUGIN finished
This commit is contained in:
parent
ecb8c8eee1
commit
e3644a44d0
@ -337,7 +337,6 @@ CORBA::Double NETGENPlugin_Hypothesis_i::GetChordalError()
|
|||||||
|
|
||||||
void NETGENPlugin_Hypothesis_i::SetLocalSizeOnShape(GEOM::GEOM_Object_ptr GeomObj,
|
void NETGENPlugin_Hypothesis_i::SetLocalSizeOnShape(GEOM::GEOM_Object_ptr GeomObj,
|
||||||
CORBA::Double localSize)
|
CORBA::Double localSize)
|
||||||
throw (SALOME::SALOME_Exception)
|
|
||||||
{
|
{
|
||||||
string entry;
|
string entry;
|
||||||
entry = GeomObj->GetStudyEntry();
|
entry = GeomObj->GetStudyEntry();
|
||||||
|
@ -83,8 +83,7 @@ class NETGENPLUGIN_EXPORT NETGENPlugin_Hypothesis_i:
|
|||||||
void SetChordalError(CORBA::Double value);
|
void SetChordalError(CORBA::Double value);
|
||||||
CORBA::Double GetChordalError();
|
CORBA::Double GetChordalError();
|
||||||
|
|
||||||
void SetLocalSizeOnShape(GEOM::GEOM_Object_ptr GeomObj, CORBA::Double localSize)
|
void SetLocalSizeOnShape(GEOM::GEOM_Object_ptr GeomObj, CORBA::Double localSize);
|
||||||
throw (SALOME::SALOME_Exception);
|
|
||||||
void SetLocalSizeOnEntry(const char* entry, CORBA::Double localSize);
|
void SetLocalSizeOnEntry(const char* entry, CORBA::Double localSize);
|
||||||
CORBA::Double GetLocalSizeOnEntry(const char* entry);
|
CORBA::Double GetLocalSizeOnEntry(const char* entry);
|
||||||
NETGENPlugin::string_array* GetLocalSizeEntries();
|
NETGENPlugin::string_array* GetLocalSizeEntries();
|
||||||
|
@ -59,7 +59,7 @@ NETGENPlugin_SimpleHypothesis_2D::NETGENPlugin_SimpleHypothesis_2D (int
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
void NETGENPlugin_SimpleHypothesis_2D::SetNumberOfSegments(int nb) throw (SALOME_Exception)
|
void NETGENPlugin_SimpleHypothesis_2D::SetNumberOfSegments(int nb)
|
||||||
{
|
{
|
||||||
if ( nb < 1 )
|
if ( nb < 1 )
|
||||||
throw SALOME_Exception("Number of segments must be positive");
|
throw SALOME_Exception("Number of segments must be positive");
|
||||||
@ -77,7 +77,6 @@ void NETGENPlugin_SimpleHypothesis_2D::SetNumberOfSegments(int nb) throw (SALOME
|
|||||||
*/
|
*/
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
void NETGENPlugin_SimpleHypothesis_2D::SetLocalLength(double segmentLength)
|
void NETGENPlugin_SimpleHypothesis_2D::SetLocalLength(double segmentLength)
|
||||||
throw (SALOME_Exception)
|
|
||||||
{
|
{
|
||||||
if ( segmentLength < DBL_MIN )
|
if ( segmentLength < DBL_MIN )
|
||||||
throw SALOME_Exception("segment length must be more than zero");
|
throw SALOME_Exception("segment length must be more than zero");
|
||||||
|
@ -43,7 +43,7 @@ public:
|
|||||||
/*!
|
/*!
|
||||||
* Sets <number of segments> value
|
* Sets <number of segments> value
|
||||||
*/
|
*/
|
||||||
void SetNumberOfSegments(int nb) throw (SALOME_Exception);
|
void SetNumberOfSegments(int nb);
|
||||||
/*!
|
/*!
|
||||||
* Returns <number of segments> value.
|
* Returns <number of segments> value.
|
||||||
* Can be zero in case if LocalLength() has been set
|
* Can be zero in case if LocalLength() has been set
|
||||||
@ -53,7 +53,7 @@ public:
|
|||||||
/*!
|
/*!
|
||||||
* Sets <segment length> value
|
* Sets <segment length> value
|
||||||
*/
|
*/
|
||||||
void SetLocalLength(double segmentLength) throw (SALOME_Exception);
|
void SetLocalLength(double segmentLength);
|
||||||
/*!
|
/*!
|
||||||
* Returns <segment length> value.
|
* Returns <segment length> value.
|
||||||
* Can be zero in case if NumberOfSegments() has been set
|
* Can be zero in case if NumberOfSegments() has been set
|
||||||
|
@ -72,7 +72,6 @@ NETGENPlugin_SimpleHypothesis_2D_i::~NETGENPlugin_SimpleHypothesis_2D_i()
|
|||||||
*/
|
*/
|
||||||
//=============================================================================
|
//=============================================================================
|
||||||
void NETGENPlugin_SimpleHypothesis_2D_i::SetNumberOfSegments(CORBA::Short nb)
|
void NETGENPlugin_SimpleHypothesis_2D_i::SetNumberOfSegments(CORBA::Short nb)
|
||||||
throw ( SALOME::SALOME_Exception )
|
|
||||||
{
|
{
|
||||||
ASSERT(myBaseImpl);
|
ASSERT(myBaseImpl);
|
||||||
try {
|
try {
|
||||||
|
@ -49,7 +49,7 @@ class NETGENPLUGIN_EXPORT NETGENPlugin_SimpleHypothesis_2D_i:
|
|||||||
// Destructor
|
// Destructor
|
||||||
virtual ~NETGENPlugin_SimpleHypothesis_2D_i();
|
virtual ~NETGENPlugin_SimpleHypothesis_2D_i();
|
||||||
|
|
||||||
void SetNumberOfSegments(CORBA::Short nb) throw ( SALOME::SALOME_Exception );
|
void SetNumberOfSegments(CORBA::Short nb) ;
|
||||||
CORBA::Short GetNumberOfSegments();
|
CORBA::Short GetNumberOfSegments();
|
||||||
|
|
||||||
void SetLocalLength(CORBA::Double segmentLength);
|
void SetLocalLength(CORBA::Double segmentLength);
|
||||||
|
Loading…
Reference in New Issue
Block a user