const SMDS_MeshNode** GetNodes() const { return (const SMDS_MeshNode**) &myVolumeNodes[0]; }
// Return array of volume nodes
- int NbNodes() const { return myVolumeNodes.size(); }
+ int NbNodes() const { return (int) myVolumeNodes.size(); }
// Return array of volume nodes
double GetSize() const;
void SetObjects(SMESH::string_array_var& objEntries);
template<class TInterface>
- typename TInterface::_var_type GetObject(unsigned i=0) const {
+ typename TInterface::_var_type GetObject(size_t i=0) const {
if ( IsObjectSelected(i) ) return TInterface::_narrow(myObjects[i]);
return TInterface::_nil();
}
QString GetValue() const { return myParamValue; }
- bool IsObjectSelected(unsigned i=0) const
+ bool IsObjectSelected(size_t i=0) const
{ return i < myObjects.size() && !CORBA::is_nil(myObjects[i]); }
/*!