X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FExchangePlugin%2FExchangePlugin_Validators.h;h=f390f57586309cfdf9353bd2d041688ec3956479;hb=acebef0bc5fb22dc9672e0046085b896e957af56;hp=21d72765b0bce158c26a991448a79145a6151844;hpb=cb7a02e2d7e5f4c675571888b8119a8c58069a0d;p=modules%2Fshaper.git diff --git a/src/ExchangePlugin/ExchangePlugin_Validators.h b/src/ExchangePlugin/ExchangePlugin_Validators.h index 21d72765b..f390f5758 100644 --- a/src/ExchangePlugin/ExchangePlugin_Validators.h +++ b/src/ExchangePlugin/ExchangePlugin_Validators.h @@ -10,9 +10,20 @@ class ExchangePlugin_ImportFormatValidator : public ModelAPI_AttributeValidator { + /* + * Parses input arguments "BREP:BREPImport", "STEP:STEPImport" + * into list of file formats "BREP","STEP" + * and list of corresponding plugins: "BREPImport", "STEPImport" + */ + static bool parseFormats(const std::list& theArguments, + std::list& outFormats); + static bool parsePlugins(const std::list& theArguments, + std::list& outPlugins); public: - virtual bool isValid( - const AttributePtr& theAttribute, const std::list& theArguments) const; + virtual bool isValid(const AttributePtr& theAttribute, + const std::list& theArguments) const; + + };