namespace PluginUtils
{
PLUGINUTILS_EXPORT QString PrintDoubleValue( double, int = 16 );
-};
+}
#endif // _GEOMSELECTIONTOOLS_H_
// purpose :
//=================================================================================
-void SMESHGUI_AddQuadraticElementDlg::onReverse (int state)
+void SMESHGUI_AddQuadraticElementDlg::onReverse (int /*state*/)
{
mySimulation->SetVisibility(false);
displaySimulation();
// purpose :
//=================================================================================
-void SMESHGUI_AddQuadraticElementDlg::onCellDoubleClicked( int theRow, int theCol )
+void SMESHGUI_AddQuadraticElementDlg::onCellDoubleClicked( int /*theRow*/, int /*theCol*/ )
{
myCurrentLineEdit = 0;
displaySimulation();
// purpose :
//=================================================================================
-void SMESHGUI_AddQuadraticElementDlg::onCellTextChange(int theRow, int theCol)
+void SMESHGUI_AddQuadraticElementDlg::onCellTextChange(int /*theRow*/, int /*theCol*/)
{
myCurrentLineEdit = 0;
displaySimulation();
/*!
* \brief SLOT called when a tree item is checked
*/
-void SMESHGUI_FieldSelectorWdg::onItemCheck(QTreeWidgetItem * item, int column)
+void SMESHGUI_FieldSelectorWdg::onItemCheck(QTreeWidgetItem * item, int /*column*/)
{
myTree->blockSignals( true );
if ( !item->parent() ) // mesh item
private slots:
- void onItemCheck(QTreeWidgetItem * item, int column);
+ void onItemCheck(QTreeWidgetItem * item, int /*column*/);
private:
FirstEntityTypeFilter = FirstGeometryTypeFilter + SMDSGeom_NONE,
LastFilter = FirstEntityTypeFilter + SMDSEntity_Last
};
-};
+}
/*
Class : SMESHGUI_Filter
void SMESHGUI_FilterTable::ComboDelegate::updateEditorGeometry( QWidget* editor,
const QStyleOptionViewItem& option,
- const QModelIndex& index ) const
+ const QModelIndex& /*index*/ ) const
{
editor->setGeometry( option.rect );
}
// Purpose : Provides reaction on change of criterion
//=======================================================================
-void SMESHGUI_FilterTable::onCriterionChanged (const int row, const int col, const int entityType)
+void SMESHGUI_FilterTable::onCriterionChanged (const int row, const int /*col*/, const int entityType)
{
int aType = entityType == -1 ? GetType() : entityType;
Table* aTable = myTables[ aType ];
// Purpose : Create table
//=======================================================================
SMESHGUI_FilterTable::Table* SMESHGUI_FilterTable::createTable (QWidget* theParent,
- const int theType)
+ const int /*theType*/)
{
// create table
Table* aTable= new Table(0, 6, theParent);
SMESH::SMESH_Hypothesis_ptr CreateHypothesis(const QString& aHypType,
const QString& aHypName,
- const bool isAlgo)
+ const bool /*isAlgo*/)
{
if(MYDEBUG) MESSAGE("Create " << aHypType.toLatin1().data() <<
" with name " << aHypName.toLatin1().data());
}
}
-SUIT_SelectionFilter* SMESHGUI_Make2DFrom3DOp::createFilter( const int theId ) const
+SUIT_SelectionFilter* SMESHGUI_Make2DFrom3DOp::createFilter( const int /*theId*/ ) const
{
SMESHGUI_Make2DFrom3DOp* me = (SMESHGUI_Make2DFrom3DOp*) this;
class SMESHGUI_EXPORT SMESHGUI_MinDistance : public QWidget
{
- Q_OBJECT;
+ Q_OBJECT
enum { NoTgt, FirstTgt, SecondTgt };
enum { OriginTgt, NodeTgt, ElementTgt, ObjectTgt };
class SMESHGUI_EXPORT SMESHGUI_BoundingBox : public QWidget
{
- Q_OBJECT;
+ Q_OBJECT
enum { ObjectsSrc, NodesSrc, ElementsSrc };
class SMESHGUI_EXPORT SMESHGUI_BasicProperties : public QWidget
{
- Q_OBJECT;
+ Q_OBJECT
public:
//! Property type
class SMESHGUI_EXPORT SMESHGUI_Angle : public QWidget
{
- Q_OBJECT;
+ Q_OBJECT
public:
class SMESHGUI_EXPORT SMESHGUI_MeasureDlg : public QDialog
{
- Q_OBJECT;
+ Q_OBJECT
enum { NodeMode, ElemMode };
//=================================================================================
class SMESHGUI_EXPORT SMESHGUI_MergeDlg : public QDialog
{
- Q_OBJECT;
+ Q_OBJECT
public:
SMESHGUI_MergeDlg( SMESHGUI*, int );
class SMESHGUI_EXPORT SMESHGUI_BaseInfo : public SMESHGUI_Info
{
- Q_OBJECT;
+ Q_OBJECT
enum
{
class SMESHGUI_EXPORT SMESHGUI_ElemInfo : public SMESHGUI_Info
{
- Q_OBJECT;
+ Q_OBJECT
public:
SMESHGUI_ElemInfo( QWidget* = 0 );
class SMESHGUI_EXPORT SMESHGUI_SimpleElemInfo : public SMESHGUI_ElemInfo
{
- Q_OBJECT;
+ Q_OBJECT
public:
SMESHGUI_SimpleElemInfo( QWidget* = 0 );
class SMESHGUI_EXPORT SMESHGUI_TreeElemInfo : public SMESHGUI_ElemInfo
{
- Q_OBJECT;
+ Q_OBJECT
class ItemDelegate;
class ItemCreator;
class InfoComputor: public QObject
{
- Q_OBJECT;
+ Q_OBJECT
public:
enum { GrpSize, GrpNbNodes };
class SMESHGUI_EXPORT SMESHGUI_AddInfo : public SMESHGUI_Info
{
- Q_OBJECT;
+ Q_OBJECT
public:
SMESHGUI_AddInfo( QWidget* = 0 );
class SMESHGUI_EXPORT SMESHGUI_CtrlInfo : public SMESHGUI_Info
{
- Q_OBJECT;
+ Q_OBJECT
public:
SMESHGUI_CtrlInfo( QWidget* = 0 );
class SMESHGUI_EXPORT SMESHGUI_MeshInfoDlg : public QDialog
{
- Q_OBJECT;
+ Q_OBJECT
enum { NodeMode, ElemMode, GroupMode };
class SMESHGUI_EXPORT SMESHGUI_CtrlInfoDlg : public QDialog
{
- Q_OBJECT;
+ Q_OBJECT
public:
SMESHGUI_CtrlInfoDlg( QWidget* = 0 );
THypDataList& theDataList,
HypothesisData* thePrevAlgoData,
HypothesisData* theNextAlgoData,
- const QString& theMeshType)
+ const QString& /*theMeshType*/)
{
theDataList.clear();
theHyps.clear();
* 1 = accepted
*/
//================================================================================
-void SMESHGUI_MeshOp::onHypoEdited( int result )
+void SMESHGUI_MeshOp::onHypoEdited( int /*result*/ )
{
int obj = myDlg->getActiveObject();
onActivateObject( obj ); // Issue 0020170. Restore filters
* \param theIndex - Index of current type of mesh
*/
//================================================================================
-void SMESHGUI_MeshOp::onAlgoSetByMeshType( const int theTabIndex, const int theIndex )
+void SMESHGUI_MeshOp::onAlgoSetByMeshType( const int /*theTabIndex*/, const int /*theIndex*/ )
{
setFilteredAlgoData();
}
aNF = aFilterMgr->CreateMultiConnection2D();
else if (myComboBoxFunctor->currentText() == tr("MIN_DIAG_ELEMENTS"))
aNF = aFilterMgr->CreateMaxElementLength2D();
- else;
+ //else;
return aNF._retn();
}
// function : enterEvent()
// purpose :
//=================================================================================
-void SMESHGUI_RenumberingDlg::enterEvent(QEvent* e)
+void SMESHGUI_RenumberingDlg::enterEvent(QEvent* /*e*/)
{
if (GroupConstructors->isEnabled())
return;
// function : enterEvent()
// purpose :
//=================================================================================
-void SMESHGUI_SewingDlg::enterEvent (QEvent* e)
+void SMESHGUI_SewingDlg::enterEvent (QEvent* /*e*/)
{
if (!ConstructorsBox->isEnabled()) {
SVTK_ViewWindow* aViewWindow = SMESH::GetViewWindow( mySMESHGUI );
// Treat events
void ProcessEvent(const int event,
const int eventType,
- SMESH_subMesh* subMesh,
+ SMESH_subMesh* /*subMesh*/,
EventListenerData* data,
const SMESH_Hypothesis* /*hyp*/)
{
//================================================================================
QWidget* LineDelegate::createEditor( QWidget* parent,
- const QStyleOptionViewItem& opt,
+ const QStyleOptionViewItem& /*opt*/,
const QModelIndex& index) const
{
QWidget* w = 0;
}
QWidget* StdMeshersGUI_FixedPointsParamWdg::LineDelegate::createEditor( QWidget* parent,
- const QStyleOptionViewItem& option,
+ const QStyleOptionViewItem& /*option*/,
const QModelIndex& index ) const
{
QWidget* w = 0;
}
}
-void StdMeshersGUI_LayerDistributionParamWdg::onEdited( int result )
+void StdMeshersGUI_LayerDistributionParamWdg::onEdited( int /*result*/ )
{
if ( myDlg )
{
*/
QWidget* StdMeshersGUI_QuadrangleParamCreator::
ItemDelegate::createEditor( QWidget* parent,
- const QStyleOptionViewItem& option,
- const QModelIndex& index ) const
+ const QStyleOptionViewItem& /*option*/,
+ const QModelIndex& /*index*/ ) const
{
SMESHGUI_SpinBox* sb = new SMESHGUI_SpinBox( parent );
sb->RangeStepAndValidator( COORD_MIN, COORD_MAX, 10 );
//purpose : is called from buildStdFrame()
//=======================================================================
-QWidget* StdMeshersGUI_StdHypothesisCreator::getCustomWidget( const StdParam & param,
+QWidget* StdMeshersGUI_StdHypothesisCreator::getCustomWidget( const StdParam & /*param*/,
QWidget* parent,
const int index) const
{
*/
//================================================================================
-bool StdMeshersGUI_StdHypothesisCreator::initVariableName(SMESH::SMESH_Hypothesis_var theHyp,
+bool StdMeshersGUI_StdHypothesisCreator::initVariableName(SMESH::SMESH_Hypothesis_var /*theHyp*/,
StdParam & theParams,
const char* theMethod) const
{
virtual void onReject();
virtual void valueChanged( QWidget* );
- bool initVariableName(SMESH::SMESH_Hypothesis_var theHyp, StdParam& theParams, const char* theMethod) const;
+ bool initVariableName(SMESH::SMESH_Hypothesis_var /*theHyp*/, StdParam& theParams, const char* theMethod) const;
QWidget* makeReverseEdgesWdg( SMESH::long_array_var edgeIDs,
CORBA::String_var shapeEntry) const;
void removeOldGroup(const char* oldName,
//================================================================================
std::string StdMeshers_Arithmetic1D_i::getMethodOfParameter(const int paramIndex,
- int nbVars) const
+ int /*nbVars*/) const
{
return paramIndex == 0 ? "SetStartLength" : "SetEndLength";
}
std::vector< int > & subIDArray );
protected:
- virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const;
+ virtual std::string getMethodOfParameter(const int paramIndex, int /*nbVars*/) const;
};
#endif
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
// Methods for copying mesh definition to other geometry
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return false; }
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return false; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
};
#endif
// Methods for copying mesh definition to other geometry
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return false; }
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return false; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
};
#endif
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
// Methods for copying mesh definition to other geometry
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return false; }
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return false; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
protected:
virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const;
};
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
private:
SMESH::string_array_var _groupEntries;
std::vector< std::string > _groupIDs;
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
private:
SMESH::string_array_var _groupEntries;
std::vector< std::string > _groupIDs;
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
};
#endif
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
protected:
// restore myMethod2VarParams by parameters stored in an old study
virtual void setOldParameters (const char* theParameters);
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
};
#endif
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
protected:
virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const;
};
*/
//================================================================================
-std::string StdMeshers_MaxElementArea_i::getMethodOfParameter(const int paramIndex,
+std::string StdMeshers_MaxElementArea_i::getMethodOfParameter(const int /*paramIndex*/,
int /*nbVars*/) const
{
return "SetMaxElementArea";
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
protected:
virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const;
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
protected:
virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const;
};
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
protected:
virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const;
};
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
protected:
::StdMeshers_NotConformAllowed* _impl;
};
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
};
#endif
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
protected:
virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const;
};
}
//-----------------------------------------------------------------------------
-bool StdMeshers_Prism_3D_i::IsApplicable( const TopoDS_Shape &S, bool toCheckAll, int algoDim )
+bool StdMeshers_Prism_3D_i::IsApplicable( const TopoDS_Shape &S, bool toCheckAll, int /*algoDim*/ )
{
return ::StdMeshers_Prism_3D::IsApplicable( S, toCheckAll );
}
::StdMeshers_RadialPrism_3D* GetImpl();
// Return true if the algorithm is applicable to a shape
- static bool IsApplicable(const TopoDS_Shape &S, bool toCheckAll, int dim);
+ static bool IsApplicable(const TopoDS_Shape &S, bool toCheckAll, int /*dim*/);
};
bool
StdMeshers_ProjectionSource1D_i::getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const
+ std::vector< int > & /*subIDArray*/ ) const
{
for ( int i = 0; i < NB_SHAPES; ++i )
entryArray.push_back( myShapeEntries[ i ]);
bool
StdMeshers_ProjectionSource1D_i::setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray )
+ std::vector< int > & /*subIDArray*/ )
{
TopoDS_Shape shapes[ NB_SHAPES ];
for ( int i = 0; i < NB_SHAPES; ++i )
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const;
+ std::vector< int > & /*subIDArray*/ ) const;
// Set new geometry instead of that returned by getObjectsDependOn()
virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray );
+ std::vector< int > & /*subIDArray*/ );
private:
// keep entries because the same shape can be published several times with
// different names and in this case a correct name can't be restored by a TopoDS_Shape
bool
StdMeshers_ProjectionSource2D_i::getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const
+ std::vector< int > & /*subIDArray*/ ) const
{
for ( int i = 0; i < NB_SHAPES; ++i )
entryArray.push_back( myShapeEntries[ i ]);
bool
StdMeshers_ProjectionSource2D_i::setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray )
+ std::vector< int > & /*subIDArray*/ )
{
TopoDS_Shape shapes[ NB_SHAPES ];
for ( int i = 0; i < NB_SHAPES; ++i )
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const;
+ std::vector< int > & /*subIDArray*/ ) const;
// Set new geometry instead of that returned by getObjectsDependOn()
virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray );
+ std::vector< int > & /*subIDArray*/ );
private:
// keep entries because the same shape can be published several times with
// different names and in this case a correct name can't be restored by a TopoDS_Shape
bool
StdMeshers_ProjectionSource3D_i::getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const
+ std::vector< int > & /*subIDArray*/ ) const
{
for ( int i = 0; i < NB_SHAPES; ++i )
entryArray.push_back( myShapeEntries[ i ]);
bool
StdMeshers_ProjectionSource3D_i::setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray )
+ std::vector< int > & /*subIDArray*/ )
{
TopoDS_Shape shapes[ NB_SHAPES ];
for ( int i = 0; i < NB_SHAPES; ++i )
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const;
+ std::vector< int > & /*subIDArray*/ ) const;
// Set new geometry instead of that returned by getObjectsDependOn()
virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray );
+ std::vector< int > & /*subIDArray*/ );
private:
// keep entries because the same shape can be published several times with
*/
//================================================================================
-bool StdMeshers_Projection_3D_i::IsApplicable( const TopoDS_Shape &S, bool toCheckAll, int algoDim )
+bool StdMeshers_Projection_3D_i::IsApplicable( const TopoDS_Shape &S, bool toCheckAll, int /*algoDim*/ )
{
return ::StdMeshers_Projection_3D::IsApplicable( S, toCheckAll );
}
::StdMeshers_Projection_3D* GetImpl();
// Return true if the algorithm is applicable to a shape
- static bool IsApplicable(const TopoDS_Shape &S, bool toCheckAll, int dim);
+ static bool IsApplicable(const TopoDS_Shape &S, bool toCheckAll, int /*dim*/);
};
// ======================================================
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
// Methods for copying mesh definition to other geometry
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return false; }
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return false; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
};
// ======================================================
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
// Methods for copying mesh definition to other geometry
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return false; }
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return false; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
};
#endif
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
// Methods for copying mesh definition to other geometry
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return false; }
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return false; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
};
#endif
*/
//=============================================================================
-bool StdMeshers_Quadrangle_2D_i::IsApplicable( const TopoDS_Shape &S, bool toCheckAll, int algoDim )
+bool StdMeshers_Quadrangle_2D_i::IsApplicable( const TopoDS_Shape &S, bool toCheckAll, int /*algoDim*/ )
{
return ::StdMeshers_Quadrangle_2D::IsApplicable( S, toCheckAll );
}
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
// Methods for copying mesh definition to other geometry
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return false; }
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return false; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
};
#endif
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return 0; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return 0; }
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
protected:
virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const;
};
//================================================================================
bool
-StdMeshers_ViscousLayers2D_i::getObjectsDependOn( std::vector< std::string > & entryArray,
+StdMeshers_ViscousLayers2D_i::getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
std::vector< int > & subIDArray ) const
{
const ::StdMeshers_ViscousLayers2D* impl =
//================================================================================
bool
-StdMeshers_ViscousLayers2D_i::setObjectsDependOn( std::vector< std::string > & entryArray,
+StdMeshers_ViscousLayers2D_i::setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
std::vector< int > & subIDArray )
{
std::vector< int > newIDs;
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
std::vector< int > & subIDArray ) const;
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
std::vector< int > & subIDArray );
};
//================================================================================
bool
-StdMeshers_ViscousLayers_i::getObjectsDependOn( std::vector< std::string > & entryArray,
+StdMeshers_ViscousLayers_i::getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
std::vector< int > & subIDArray ) const
{
const ::StdMeshers_ViscousLayers* impl =
//================================================================================
bool
-StdMeshers_ViscousLayers_i::setObjectsDependOn( std::vector< std::string > & entryArray,
+StdMeshers_ViscousLayers_i::setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
std::vector< int > & subIDArray )
{
std::vector< int > newIDs;
// Methods for copying mesh definition to other geometry
// Return geometry this hypothesis depends on. Return false if there is no geometry parameter
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
std::vector< int > & subIDArray ) const;
// Set new geometry instead of that returned by getObjectsDependOn()
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
std::vector< int > & subIDArray );
protected:
virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const;
class ApplicableToAny
{
public:
- static bool IsApplicable( const TopoDS_Shape &S, bool toCheckAll, int algoDim )
+ static bool IsApplicable( const TopoDS_Shape &S, bool /*toCheckAll*/, int algoDim )
{
return GenericHypothesisCreator_i::IsShapeOfDim( S, algoDim );
}
};
-};
+}
template <class T, class TIsApplicable = SMESH::ApplicableToAny>
class StdHypothesisCreator_i : public HypothesisCreator_i< T >
aCreator = new StdHypothesisCreator_i<StdMeshers_PolygonPerFace_2D_i>;
else if (strcmp(aHypName, "PolyhedronPerSolid_3D") == 0)
aCreator = new StdHypothesisCreator_i<StdMeshers_PolyhedronPerSolid_3D_i>;
- else ;
+ //else ;
return aCreator;
}