Salome HOME
The code comment
[modules/shaper.git] / src / ExchangePlugin / ExchangePlugin_Validators.cpp
index 2582ca76e115063bcb941e10ab4d0e586e9e69b4..c001a0c3f41585bd42416e2b7ca68ec4822807d3 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        SketchPlugin_Validators.cpp
 // Created:     01 Aug 2014
 // Author:      Vitaly SMETANNIKOV
@@ -31,23 +33,6 @@ bool ExchangePlugin_ImportFormatValidator::parseFormats(const std::list<std::str
   return result;
 }
 
-bool ExchangePlugin_ImportFormatValidator::parsePlugins(const std::list<std::string>& theArguments,
-                                                        std::list<std::string>& outPlugins)
-{
-  std::list<std::string>::const_iterator it = theArguments.begin();
-  bool result = true;
-  for (; it != theArguments.end(); ++it) {
-    std::string anArg = *it;
-    int aSepPos = anArg.find(":");
-    if (aSepPos == std::string::npos) {
-      result = false;
-      continue;
-    }
-    outPlugins.push_back(anArg.substr(aSepPos + 1));
-  }
-  return result;
-}
-
 bool ExchangePlugin_ImportFormatValidator::isValid(const AttributePtr& theAttribute,
                                                    const std::list<std::string>& theArguments) const
 {