CORBA::Short GHS3DPlugin_Hypothesis_i::GetNbVolumeProximityLayers()
{
- return this->GetImpl()->GetNbVolumeProximityLayers();
+ return (CORBA::Short) this->GetImpl()->GetNbVolumeProximityLayers();
}
//=======================================================================
// basic options (visible in Advanced table)
else if ( name == "verbose" )
- SetVerboseLevel( GetImpl()->ToInt( optionValue ));
+ SetVerboseLevel((CORBA::Short) GetImpl()->ToInt( optionValue ));
else if ( name == "max_memory" )
- SetMaximumMemory( GetImpl()->ToInt( optionValue ));
+ SetMaximumMemory((CORBA::Short) GetImpl()->ToInt( optionValue ));
else if ( name == "automatic_memory" )
- SetInitialMemory( GetImpl()->ToInt( optionValue ));
+ SetInitialMemory((CORBA::Short) GetImpl()->ToInt( optionValue ));
else if ( name == "no_initial_central_point" && // optimizer
strcmp( GetImpl()->GetName(), ::GHS3DPlugin_Hypothesis::GetHypType() ) != 0 )
SetGradation( GetImpl()->ToDbl( optionValue ));
else if ( name == "volume_proximity_layers" )
- SetNbVolumeProximityLayers( GetImpl()->ToInt( optionValue ));
+ SetNbVolumeProximityLayers((CORBA::Short) GetImpl()->ToInt( optionValue ));
else if ( name == "components" )
SetToMeshHoles( strncmp( "all", optionValue, 3 ) == 0 );
GHS3DPlugin::string_array_var result = new GHS3DPlugin::string_array();
const ::GHS3DPlugin_Hypothesis::TOptionValues & opts = this->GetImpl()->GetOptionValues();
- result->length(opts.size());
+ result->length((CORBA::ULong) opts.size());
int i=0;
bool isDefault;
GHS3DPlugin::string_array_var result = new GHS3DPlugin::string_array();
const ::GHS3DPlugin_Hypothesis::TOptionValues & custom_opts = this->GetImpl()->GetCustomOptionValues();
- result->length(custom_opts.size());
+ result->length((CORBA::ULong) custom_opts.size());
int i=0;
::GHS3DPlugin_Hypothesis::TOptionValues::const_iterator opIt = custom_opts.begin();
GHS3DPlugin::GHS3DEnforcedVertexList_var result = new GHS3DPlugin::GHS3DEnforcedVertexList();
const ::GHS3DPlugin_Hypothesis::TGHS3DEnforcedVertexList enfVertexList = this->GetImpl()->_GetEnforcedVertices();
- result->length( enfVertexList.size() );
+ result->length((CORBA::ULong) enfVertexList.size() );
::GHS3DPlugin_Hypothesis::TGHS3DEnforcedVertexList::const_iterator it = enfVertexList.begin();
enfVertex->geomEntry = CORBA::string_dup(currentVertex->geomEntry.c_str());
// Coords
GHS3DPlugin::TCoords_var coords = new GHS3DPlugin::TCoords();
- coords->length(currentVertex->coords.size());
- for ( size_t ind = 0; ind < currentVertex->coords.size(); ind++)
+ coords->length((CORBA::ULong) currentVertex->coords.size());
+ for ( CORBA::ULong ind = 0; ind < currentVertex->coords.size(); ind++)
coords[ind] = currentVertex->coords[ind];
enfVertex->coords = coords;
// Group Name
GHS3DPlugin::GHS3DEnforcedMeshList_var result = new GHS3DPlugin::GHS3DEnforcedMeshList();
const ::GHS3DPlugin_Hypothesis::TGHS3DEnforcedMeshList enfMeshList = this->GetImpl()->_GetEnforcedMeshes();
- result->length( enfMeshList.size() );
+ result->length((CORBA::ULong) enfMeshList.size() );
::GHS3DPlugin_Hypothesis::TGHS3DEnforcedMeshList::const_iterator it = enfMeshList.begin();