 |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Go to the documentation of this file.
22 #ifndef CTKCMDLINEMODULEXMLVALIDATOR_H
23 #define CTKCMDLINEMODULEXMLVALIDATOR_H
25 #include <ctkCommandLineModulesCoreExport.h>
27 #include <QScopedPointer>
29 class ctkCmdLineModuleXmlValidatorPrivate;
85 QScopedPointer<ctkCmdLineModuleXmlValidatorPrivate> d;
89 #endif // CTKCMDLINEMODULEXMLVALIDATOR_H
virtual QString errorString() const
Get the error string.
QIODevice * input() const
Get the XML input device.
virtual bool validateInput()
Validate the XML input against the XML schema set via setInputSchema().
~ctkCmdLineModuleXmlValidator()
Provides validation of an XML document against an XML schema.
void setInputSchema(QIODevice *input)
Set the XML schema to be used during validation.
virtual bool error() const
Get the error flag.
ctkCmdLineModuleXmlValidator(QIODevice *input=0)
void setInput(QIODevice *input)
Set the XML input.