SHAPER
9.12.0
|
Validator for the imported formats checking. More...
Public Member Functions | |
virtual bool | isValid (const AttributePtr &theAttribute, const std::list< std::string > &theArguments, Events_InfoMessage &theError) const |
Returns true is the file-name attribute correctly corresponds to the set of allowed formats. More... | |
Validator for the imported formats checking.
The configuration file of import/export features contains the information about which formats are supported and the extension of the associated files. This validator filters out files that are out of this description.
|
virtual |
Returns true is the file-name attribute correctly corresponds to the set of allowed formats.
Implements ModelAPI_AttributeValidator.