CORBA::Short BLSURFPlugin_Hypothesis_i::GetNbSurfaceProximityLayers()
{
- return this->GetImpl()->GetNbSurfaceProximityLayers();
+ return (CORBA::Short) this->GetImpl()->GetNbSurfaceProximityLayers();
}
//=============================================================================
CORBA::Short BLSURFPlugin_Hypothesis_i::GetNbVolumeProximityLayers()
{
- return this->GetImpl()->GetNbVolumeProximityLayers();
+ return (CORBA::Short) this->GetImpl()->GetNbVolumeProximityLayers();
}
//=============================================================================
::BLSURFPlugin_Hypothesis::THyperPatchList patchList( hpl.length() );
SMESH_Comment hplDump;
hplDump << "[";
- for ( size_t i = 0; i < patchList.size(); ++i )
+ for ( CORBA::ULong i = 0; i < patchList.size(); ++i )
{
hplDump << "[ ";
BLSURFPlugin::THyperPatch tags = hpl[ i ];
::BLSURFPlugin_Hypothesis::THyperPatchEntriesList patchList( hpe.length() );
SMESH_Comment hpeDump;
hpeDump << "[";
- for ( size_t i = 0; i < patchList.size(); ++i )
+ for ( CORBA::ULong i = 0; i < patchList.size(); ++i )
{
hpeDump << "[ ";
const BLSURFPlugin::THyperPatchEntries& entryList = hpe[ i ];
{
BLSURFPlugin::THyperPatchEntriesList patchList;
patchList.length( hpsl.length() );
- for ( size_t i = 0; i < hpsl.length(); ++i )
+ for ( CORBA::ULong i = 0; i < hpsl.length(); ++i )
{
const GEOM::ListOfGO& shapeList = hpsl[ i ];
BLSURFPlugin::THyperPatchEntries& entryList = patchList[ i ];
GetImpl()->SetHyperPatchIDsByEntry( S, entryToShape );
}
}
- resHpl->length( hpl.size() );
+ resHpl->length((CORBA::ULong) hpl.size() );
::BLSURFPlugin_Hypothesis::THyperPatchList::const_iterator hpIt = hpl.begin();
for ( int i = 0; hpIt != hpl.end(); ++hpIt, ++i )
{
const ::BLSURFPlugin_Hypothesis::THyperPatchTags& hp = *hpIt;
BLSURFPlugin::THyperPatch& resHp = (*resHpl)[ i ];
- resHp.length( hp.size() );
+ resHp.length((CORBA::ULong) hp.size() );
::BLSURFPlugin_Hypothesis::THyperPatchTags::const_iterator tag = hp.begin();
for ( int j = 0; tag != hp.end(); ++tag, ++j )
{
const ::BLSURFPlugin_Hypothesis::THyperPatchEntriesList& hpel = GetImpl()->GetHyperPatchEntries();
BLSURFPlugin::THyperPatchEntriesList* resHpl = new BLSURFPlugin::THyperPatchEntriesList();
- resHpl->length( hpel.size() );
+ resHpl->length((CORBA::ULong) hpel.size() );
::BLSURFPlugin_Hypothesis::THyperPatchEntriesList::const_iterator hpIt = hpel.begin();
for ( int i = 0; hpIt != hpel.end(); ++hpIt, ++i )
{
const ::BLSURFPlugin_Hypothesis::THyperPatchEntries& hp = *hpIt;
BLSURFPlugin::THyperPatchEntries& resHp = (*resHpl)[ i ];
- resHp.length( hp.size() );
+ resHp.length((CORBA::ULong) hp.size() );
::BLSURFPlugin_Hypothesis::THyperPatchEntries::const_iterator entry = hp.begin();
for ( int j = 0; entry != hp.end(); ++entry, ++j )
SetVolumeProximityRatio( GetImpl()->ToDbl( optionValue ));
else if ( name == "prox_nb_layer" )
- SetNbVolumeProximityLayers( GetImpl()->ToInt( optionValue ));
+ SetNbVolumeProximityLayers((CORBA::Short) GetImpl()->ToInt( optionValue ));
// advanced options (for backward compatibility)
BLSURFPlugin::string_array_var result = new BLSURFPlugin::string_array();
const ::BLSURFPlugin_Hypothesis::TOptionValues & opts = this->GetImpl()->GetOptionValues();
- result->length(opts.size());
+ result->length((CORBA::ULong) opts.size());
int i=0;
bool isDefault;
BLSURFPlugin::string_array_var result = new BLSURFPlugin::string_array();
const ::BLSURFPlugin_Hypothesis::TOptionValues & opts = this->GetImpl()->GetPreCADOptionValues();
- result->length(opts.size());
+ result->length((CORBA::ULong) opts.size());
int i=0;
bool isDefault;
BLSURFPlugin::string_array_var result = new BLSURFPlugin::string_array();
const ::BLSURFPlugin_Hypothesis::TOptionValues & custom_opts = this->GetImpl()->GetCustomOptionValues();
- result->length(custom_opts.size());
+ result->length((CORBA::ULong) custom_opts.size());
int i=0;
::BLSURFPlugin_Hypothesis::TOptionValues::const_iterator opIt = custom_opts.begin();
SetVolumeProximityRatio( GetImpl()->ToDbl( optionValue ));
else if ( name == "prox_nb_layer" )
- SetNbVolumeProximityLayers( GetImpl()->ToInt( optionValue ));
+ SetNbVolumeProximityLayers( (CORBA::Short) GetImpl()->ToInt( optionValue ));
}
bool valueChanged = (this->GetImpl()->GetOption(optionName) != optionValue);
if (valueChanged) {
BLSURFPlugin::string_array_var result = new BLSURFPlugin::string_array();
const ::BLSURFPlugin_Hypothesis::TSizeMap sizeMaps = this->GetImpl()->_GetSizeMapEntries();
- result->length(sizeMaps.size());
+ result->length((CORBA::ULong) sizeMaps.size());
::BLSURFPlugin_Hypothesis::TSizeMap::const_iterator smIt = sizeMaps.begin();
for (int i = 0; smIt != sizeMaps.end(); ++smIt, ++i) {
BLSURFPlugin::string_array_var result = new BLSURFPlugin::string_array();
const ::BLSURFPlugin_Hypothesis::TSizeMap attractors = this->GetImpl()->_GetAttractorEntries();
- result->length(attractors.size());
+ result->length((CORBA::ULong) attractors.size());
::BLSURFPlugin_Hypothesis::TSizeMap::const_iterator atIt = attractors.begin();
for (int i = 0; atIt != attractors.end(); ++atIt, ++i) {
BLSURFPlugin::TAttParamsMap_var result = new BLSURFPlugin::TAttParamsMap();
const ::BLSURFPlugin_Hypothesis::TAttractorMap attractors= this->GetImpl()->_GetClassAttractorEntries();
- result->length( attractors.size() );
+ result->length((CORBA::ULong) attractors.size() );
::BLSURFPlugin_Hypothesis::TAttractorMap::const_iterator atIt = attractors.begin();
for ( int i = 0 ; atIt != attractors.end(); ++atIt, ++i ) {
const ::BLSURFPlugin_Hypothesis::TFaceEntryEnfVertexListMap faceEntryEnfVertexListMap =
this->GetImpl()->_GetAllEnforcedVerticesByFace();
- resultMap->length(faceEntryEnfVertexListMap.size());
+ resultMap->length((CORBA::ULong) faceEntryEnfVertexListMap.size());
::BLSURFPlugin_Hypothesis::TEnfVertexList _enfVertexList;
::BLSURFPlugin_Hypothesis::TFaceEntryEnfVertexListMap::const_iterator it_entry = faceEntryEnfVertexListMap.begin();
_enfVertexList = it_entry->second;
BLSURFPlugin::TEnfVertexList_var enfVertexList = new BLSURFPlugin::TEnfVertexList();
- enfVertexList->length(_enfVertexList.size());
+ enfVertexList->length((CORBA::ULong) _enfVertexList.size());
::BLSURFPlugin_Hypothesis::TEnfVertexList::const_iterator it_enfVertex = _enfVertexList.begin();
::BLSURFPlugin_Hypothesis::TEnfVertex *currentEnfVertex;
// Coords
BLSURFPlugin::TEnfVertexCoords_var coords = new BLSURFPlugin::TEnfVertexCoords();
- coords->length(currentEnfVertex->coords.size());
+ coords->length((CORBA::ULong) currentEnfVertex->coords.size());
for (CORBA::ULong i=0;i<coords->length();i++)
coords[i] = currentEnfVertex->coords[i];
enfVertex->coords = coords;
// Face entry list
BLSURFPlugin::TEntryList_var faceEntryList = new BLSURFPlugin::TEntryList();
- faceEntryList->length(currentEnfVertex->faceEntries.size());
+ faceEntryList->length((CORBA::ULong) currentEnfVertex->faceEntries.size());
::BLSURFPlugin_Hypothesis::TEntryList::const_iterator it_entry = currentEnfVertex->faceEntries.begin();
for (int ind = 0; it_entry != currentEnfVertex->faceEntries.end();++it_entry, ++ind)
faceEntryList[ind] = CORBA::string_dup((*it_entry).c_str());
ASSERT(myBaseImpl);
BLSURFPlugin::TEnfVertexList_var resultMap = new BLSURFPlugin::TEnfVertexList();
const ::BLSURFPlugin_Hypothesis::TEnfVertexList enfVertexList = this->GetImpl()->_GetAllEnforcedVertices();
- resultMap->length(enfVertexList.size());
+ resultMap->length((CORBA::ULong) enfVertexList.size());
::BLSURFPlugin_Hypothesis::TEnfVertexList::const_iterator evlIt = enfVertexList.begin();
::BLSURFPlugin_Hypothesis::TEnfVertex *currentEnfVertex;
enfVertex->geomEntry = CORBA::string_dup(currentEnfVertex->geomEntry.c_str());
// Coords
BLSURFPlugin::TEnfVertexCoords_var coords = new BLSURFPlugin::TEnfVertexCoords();
- coords->length(currentEnfVertex->coords.size());
+ coords->length((CORBA::ULong) currentEnfVertex->coords.size());
for (CORBA::ULong ind = 0; ind < coords->length(); ind++)
coords[ind] = currentEnfVertex->coords[ind];
enfVertex->coords = coords;
enfVertex->grpName = CORBA::string_dup(currentEnfVertex->grpName.c_str());
// Face entry list
BLSURFPlugin::TEntryList_var faceEntryList = new BLSURFPlugin::TEntryList();
- faceEntryList->length(currentEnfVertex->faceEntries.size());
+ faceEntryList->length((CORBA::ULong) currentEnfVertex->faceEntries.size());
::BLSURFPlugin_Hypothesis::TEntryList::const_iterator it_entry = currentEnfVertex->faceEntries.begin();
for (int ind = 0; it_entry != currentEnfVertex->faceEntries.end();++it_entry, ++ind)
faceEntryList[ind] = CORBA::string_dup((*it_entry).c_str());
BLSURFPlugin::TFaceEntryCoordsListMap_var resultMap = new BLSURFPlugin::TFaceEntryCoordsListMap();
const ::BLSURFPlugin_Hypothesis::TFaceEntryCoordsListMap entryCoordsListMap = this->GetImpl()->_GetAllCoordsByFace();
- resultMap->length(entryCoordsListMap.size());
+ resultMap->length((CORBA::ULong) entryCoordsListMap.size());
::BLSURFPlugin_Hypothesis::TEnfVertexCoordsList _coordsList;
::BLSURFPlugin_Hypothesis::TFaceEntryCoordsListMap::const_iterator it_entry = entryCoordsListMap.begin();
_coordsList = it_entry->second;
BLSURFPlugin::TEnfVertexCoordsList_var coordsList = new BLSURFPlugin::TEnfVertexCoordsList();
- coordsList->length(_coordsList.size());
+ coordsList->length((CORBA::ULong) _coordsList.size());
::BLSURFPlugin_Hypothesis::TEnfVertexCoordsList::const_iterator it_coords = _coordsList.begin();
for (int j = 0; it_coords != _coordsList.end(); ++it_coords, ++j) {
BLSURFPlugin::TEnfVertexCoords_var coords = new BLSURFPlugin::TEnfVertexCoords();
- coords->length((*it_coords).size());
+ coords->length((CORBA::ULong) (*it_coords).size());
for (CORBA::ULong i=0;i<coords->length();i++)
coords[i] = (*it_coords)[i];
coordsList[j] = coords;
BLSURFPlugin::TCoordsEnfVertexMap_var resultMap = new BLSURFPlugin::TCoordsEnfVertexMap();
const ::BLSURFPlugin_Hypothesis::TCoordsEnfVertexMap coordsEnfVertexMap =
this->GetImpl()->_GetAllEnforcedVerticesByCoords();
- resultMap->length(coordsEnfVertexMap.size());
+ resultMap->length((CORBA::ULong) coordsEnfVertexMap.size());
::BLSURFPlugin_Hypothesis::TCoordsEnfVertexMap::const_iterator it_coords = coordsEnfVertexMap.begin();
::BLSURFPlugin_Hypothesis::TEnfVertex *currentEnfVertex;
currentEnfVertex = (it_coords->second);
BLSURFPlugin::TCoordsEnfVertexElement_var mapElement = new BLSURFPlugin::TCoordsEnfVertexElement();
BLSURFPlugin::TEnfVertexCoords_var coords = new BLSURFPlugin::TEnfVertexCoords();
- coords->length(it_coords->first.size());
+ coords->length((CORBA::ULong) it_coords->first.size());
for (CORBA::ULong ind=0;ind<coords->length();ind++)
coords[ind] = it_coords->first[ind];
mapElement->coords = coords;
enfVertex->geomEntry = CORBA::string_dup(currentEnfVertex->geomEntry.c_str());
// Coords
BLSURFPlugin::TEnfVertexCoords_var coords2 = new BLSURFPlugin::TEnfVertexCoords();
- coords2->length(currentEnfVertex->coords.size());
+ coords2->length((CORBA::ULong) currentEnfVertex->coords.size());
for (CORBA::ULong ind=0;ind<coords2->length();ind++)
coords2[ind] = currentEnfVertex->coords[ind];
enfVertex->coords = coords2;
enfVertex->grpName = CORBA::string_dup(currentEnfVertex->grpName.c_str());
// Face entry list
BLSURFPlugin::TEntryList_var faceEntryList = new BLSURFPlugin::TEntryList();
- faceEntryList->length(currentEnfVertex->faceEntries.size());
+ faceEntryList->length((CORBA::ULong) currentEnfVertex->faceEntries.size());
::BLSURFPlugin_Hypothesis::TEntryList::const_iterator it_entry = currentEnfVertex->faceEntries.begin();
for (int ind = 0; it_entry != currentEnfVertex->faceEntries.end();++it_entry, ++ind)
faceEntryList[ind] = CORBA::string_dup((*it_entry).c_str());
const ::BLSURFPlugin_Hypothesis::TFaceEntryEnfVertexEntryListMap entryEnfVertexEntryListMap =
this->GetImpl()->_GetAllEnfVertexEntriesByFace();
- resultMap->length(entryEnfVertexEntryListMap.size());
+ resultMap->length((CORBA::ULong) entryEnfVertexEntryListMap.size());
::BLSURFPlugin_Hypothesis::TEntryList _enfVertexEntryList;
::BLSURFPlugin_Hypothesis::TFaceEntryEnfVertexEntryListMap::const_iterator it_entry =
_enfVertexEntryList = it_entry->second;
BLSURFPlugin::TEntryList_var enfVertexEntryList = new BLSURFPlugin::TEntryList();
- enfVertexEntryList->length(_enfVertexEntryList.size());
+ enfVertexEntryList->length((CORBA::ULong) _enfVertexEntryList.size());
::BLSURFPlugin_Hypothesis::TEntryList::const_iterator it_enfVertexEntry = _enfVertexEntryList.begin();
for (int j = 0; it_enfVertexEntry != _enfVertexEntryList.end(); ++it_enfVertexEntry, ++j) {
BLSURFPlugin::TEnfVertexEntryEnfVertexMap_var resultMap = new BLSURFPlugin::TEnfVertexEntryEnfVertexMap();
const ::BLSURFPlugin_Hypothesis::TEnfVertexEntryEnfVertexMap enfVertexEntryEnfVertexMap =
this->GetImpl()->_GetAllEnforcedVerticesByEnfVertexEntry();
- resultMap->length(enfVertexEntryEnfVertexMap.size());
+ resultMap->length((CORBA::ULong) enfVertexEntryEnfVertexMap.size());
::BLSURFPlugin_Hypothesis::TEnfVertexEntryEnfVertexMap::const_iterator it_enfVertexEntry = enfVertexEntryEnfVertexMap.begin();
::BLSURFPlugin_Hypothesis::TEnfVertex *currentEnfVertex;
enfVertex->geomEntry = CORBA::string_dup(currentEnfVertex->geomEntry.c_str());
// Coords
BLSURFPlugin::TEnfVertexCoords_var coords = new BLSURFPlugin::TEnfVertexCoords();
- coords->length(currentEnfVertex->coords.size());
+ coords->length((CORBA::ULong) currentEnfVertex->coords.size());
for (CORBA::ULong ind=0;ind<coords->length();ind++)
coords[ind] = currentEnfVertex->coords[ind];
enfVertex->coords = coords;
enfVertex->grpName = CORBA::string_dup(currentEnfVertex->grpName.c_str());
// Face entry list
BLSURFPlugin::TEntryList_var faceEntryList = new BLSURFPlugin::TEntryList();
- faceEntryList->length(currentEnfVertex->faceEntries.size());
+ faceEntryList->length((CORBA::ULong) currentEnfVertex->faceEntries.size());
::BLSURFPlugin_Hypothesis::TEntryList::const_iterator it_entry = currentEnfVertex->faceEntries.begin();
for (int ind = 0; it_entry != currentEnfVertex->faceEntries.end();++it_entry, ++ind)
faceEntryList[ind] = CORBA::string_dup((*it_entry).c_str());
try {
BLSURFPlugin::TEnfVertexList_var vertexList = new BLSURFPlugin::TEnfVertexList();
::BLSURFPlugin_Hypothesis::TEnfVertexList _vList = this->GetImpl()->GetEnfVertexList(entry);
- vertexList->length(_vList.size());
+ vertexList->length((CORBA::ULong) _vList.size());
::BLSURFPlugin_Hypothesis::TEnfVertexList::const_iterator evlIt = _vList.begin();
for (int i = 0; evlIt != _vList.end(); ++evlIt, ++i) {
::BLSURFPlugin_Hypothesis::TEnfVertex *_enfVertex = (*evlIt);
enfVertex->geomEntry = CORBA::string_dup(_enfVertex->geomEntry.c_str());
// Coords
BLSURFPlugin::TEnfVertexCoords_var coords = new BLSURFPlugin::TEnfVertexCoords();
- coords->length(_enfVertex->coords.size());
+ coords->length((CORBA::ULong) _enfVertex->coords.size());
for ( CORBA::ULong ind = 0; ind < coords->length(); ind++ )
coords[ind] = _enfVertex->coords[ind];
enfVertex->coords = coords;
enfVertex->grpName = CORBA::string_dup(_enfVertex->grpName.c_str());
// Face entry list
BLSURFPlugin::TEntryList_var faceEntryList = new BLSURFPlugin::TEntryList();
- faceEntryList->length(_enfVertex->faceEntries.size());
+ faceEntryList->length((CORBA::ULong) _enfVertex->faceEntries.size());
::BLSURFPlugin_Hypothesis::TEntryList::const_iterator it_entry = _enfVertex->faceEntries.begin();
for (int ind = 0; it_entry != _enfVertex->faceEntries.end();++it_entry, ++ind)
faceEntryList[ind] = CORBA::string_dup((*it_entry).c_str());
if (i < theShapeTypes.size()-1 )
typesTxt << ", ";
}
- if (!ok){
+ if (!ok)
+ {
std::stringstream msg;
msg << "shape type is not in" << typesTxt.str();
THROW_SALOME_CORBA_EXCEPTION(msg.str().c_str(), SALOME::BAD_PARAM);
{
BLSURFPlugin::TPeriodicityList_var periodicityList = new BLSURFPlugin::TPeriodicityList();
- periodicityList->length(preCadPeriodicityVector.size());
+ periodicityList->length((CORBA::ULong) preCadPeriodicityVector.size());
- for (size_t i = 0; i<preCadPeriodicityVector.size(); i++)
+ for ( CORBA::ULong i = 0; i<preCadPeriodicityVector.size(); i++)
{
::BLSURFPlugin_Hypothesis::TPreCadPeriodicity preCadPeriodicityVector_i = preCadPeriodicityVector[i];
BLSURFPlugin::TEntryList_var sourceVertices = new BLSURFPlugin::TEntryList();
if (! preCadPeriodicityVector_i.theSourceVerticesEntries.empty())
{
- sourceVertices->length(preCadPeriodicityVector_i.theSourceVerticesEntries.size());
- for (size_t j=0; j<preCadPeriodicityVector_i.theSourceVerticesEntries.size(); j++)
+ sourceVertices->length((CORBA::ULong) preCadPeriodicityVector_i.theSourceVerticesEntries.size());
+ for (CORBA::ULong j=0; j<preCadPeriodicityVector_i.theSourceVerticesEntries.size(); j++)
sourceVertices[j]=CORBA::string_dup(preCadPeriodicityVector_i.theSourceVerticesEntries[j].c_str());
}
BLSURFPlugin::TEntryList_var targetVertices = new BLSURFPlugin::TEntryList();
if (! preCadPeriodicityVector_i.theTargetVerticesEntries.empty())
{
- targetVertices->length(preCadPeriodicityVector_i.theTargetVerticesEntries.size());
- for (size_t j=0; j<preCadPeriodicityVector_i.theTargetVerticesEntries.size(); j++)
+ targetVertices->length((CORBA::ULong) preCadPeriodicityVector_i.theTargetVerticesEntries.size());
+ for (CORBA::ULong j=0; j<preCadPeriodicityVector_i.theTargetVerticesEntries.size(); j++)
targetVertices[j]=CORBA::string_dup(preCadPeriodicityVector_i.theTargetVerticesEntries[j].c_str());
}
string prefix3 = "Source_vertex_";
BLSURFPlugin::TEntryList_var theSourceVerticesEntries = new BLSURFPlugin::TEntryList();
- theSourceVerticesEntries->length(theLength);
+ theSourceVerticesEntries->length((CORBA::ULong) theLength);
GEOM::GEOM_Object_ptr theVtx_i;
string theEntry_i;
- for (size_t ind = 0; ind < theLength; ind++) {
+ for (CORBA::ULong ind = 0; ind < theLength; ind++) {
theVtx_i = theSourceVertices[ind];
theEntry_i = PublishIfNeeded(theVtx_i, GEOM::VERTEX, prefix3);
theSourceVerticesEntries[ind] = CORBA::string_dup(theEntry_i.c_str());
string prefix4 = "Target_vertex_";
BLSURFPlugin::TEntryList_var theTargetVerticesEntries = new BLSURFPlugin::TEntryList();
- theTargetVerticesEntries->length(theLength);
- for (size_t ind = 0; ind < theLength; ind++) {
+ theTargetVerticesEntries->length((CORBA::ULong) theLength);
+ for ( CORBA::ULong ind = 0; ind < theLength; ind++) {
theVtx_i = theTargetVertices[ind];
theEntry_i = PublishIfNeeded(theVtx_i, GEOM::VERTEX, prefix4);
theTargetVerticesEntries[ind] = CORBA::string_dup(theEntry_i.c_str());
// Convert BLSURFPlugin::TEntryList to vector<string>
vector<string> theSourceVerticesEntries, theTargetVerticesEntries;
- for (size_t ind = 0; ind < theSourceVerticesEntriesCorba.length(); ind++) {
+ for ( CORBA::ULong ind = 0; ind < theSourceVerticesEntriesCorba.length(); ind++) {
theSourceVerticesEntries.push_back(theSourceVerticesEntriesCorba[ind].in());
theTargetVerticesEntries.push_back(theTargetVerticesEntriesCorba[ind].in());
}
string prefix3 = "Source_vertex_";
BLSURFPlugin::TEntryList_var theSourceVerticesEntries = new BLSURFPlugin::TEntryList();
- theSourceVerticesEntries->length(theLength);
+ theSourceVerticesEntries->length((CORBA::ULong) theLength);
GEOM::GEOM_Object_ptr theVtx_i;
string theEntry_i;
- for (size_t ind = 0; ind < theLength; ind++) {
+ for (CORBA::ULong ind = 0; ind < theLength; ind++) {
theVtx_i = theSourceVertices[ind];
theEntry_i = PublishIfNeeded(theVtx_i, GEOM::VERTEX, prefix3);
theSourceVerticesEntries[ind] = CORBA::string_dup(theEntry_i.c_str());
string prefix4 = "Target_vertex_";
BLSURFPlugin::TEntryList_var theTargetVerticesEntries = new BLSURFPlugin::TEntryList();
- theTargetVerticesEntries->length(theLength);
- for (size_t ind = 0; ind < theLength; ind++) {
+ theTargetVerticesEntries->length((CORBA::ULong) theLength);
+ for (CORBA::ULong ind = 0; ind < theLength; ind++) {
theVtx_i = theTargetVertices[ind];
theEntry_i = PublishIfNeeded(theVtx_i, GEOM::VERTEX, prefix4);
theTargetVerticesEntries[ind] = CORBA::string_dup(theEntry_i.c_str());
// Convert BLSURFPlugin::TEntryList to vector<string>
vector<string> theSourceVerticesEntries, theTargetVerticesEntries;
- for (size_t ind = 0; ind < theSourceVerticesEntriesCorba.length(); ind++) {
+ for (CORBA::ULong ind = 0; ind < theSourceVerticesEntriesCorba.length(); ind++) {
theSourceVerticesEntries.push_back(theSourceVerticesEntriesCorba[ind].in());
theTargetVerticesEntries.push_back(theTargetVerticesEntriesCorba[ind].in());
}