22 #ifndef CTKCMDLINEMODULEXMLVALIDATOR_H 23 #define CTKCMDLINEMODULEXMLVALIDATOR_H 25 #include <ctkCommandLineModulesCoreExport.h> 27 #include <QScopedPointer> 29 class ctkCmdLineModuleXmlValidatorPrivate;
51 void setInput(QIODevice* input);
57 QIODevice* input()
const;
63 void setInputSchema(QIODevice* input);
69 virtual bool validateInput();
75 virtual bool error()
const;
81 virtual QString errorString()
const;
85 QScopedPointer<ctkCmdLineModuleXmlValidatorPrivate> d;
89 #endif // CTKCMDLINEMODULEXMLVALIDATOR_H Provides validation of an XML document against an XML schema.