X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Validator.cpp;h=41fa0f7014a03e24137734cbd4bc447925905271;hb=88be48ed1ea478b9d9d6ac2d965092418ef4dae6;hp=5bf41b28976b71d3a371eafcf31ad30f6b75d576;hpb=6bd91d6692dfbfa6462e4b6463ff113ad51b3782;p=modules%2Fshaper.git diff --git a/src/Model/Model_Validator.cpp b/src/Model/Model_Validator.cpp index 5bf41b289..41fa0f701 100644 --- a/src/Model/Model_Validator.cpp +++ b/src/Model/Model_Validator.cpp @@ -377,27 +377,3 @@ bool Model_ValidatorsFactory::isMainArgument(std::string theFeature, std::string std::map::iterator aFound = myMainArgument.find(theFeature); return aFound != myMainArgument.end() && aFound->second == theAttribute; } - -void Model_ValidatorsFactory::registerGeometricalSelection(std::string theFeature, - std::string theAttribute) -{ - std::map >::iterator aFind = - myGeometricalSelection.find(theFeature); - if (aFind == myGeometricalSelection.end()) { - std::set aNewSet; - aNewSet.insert(theAttribute); - myGeometricalSelection[theFeature] = aNewSet; - } - else { - aFind->second.insert(theAttribute); - } -} - -bool Model_ValidatorsFactory::isGeometricalSelection(std::string theFeature, - std::string theAttribute) -{ - std::map >::iterator aFind = - myGeometricalSelection.find(theFeature); - return aFind != myGeometricalSelection.end() - && aFind->second.find(theAttribute) != aFind->second.end(); -}