42 bool isValid(
const std::string& filename,
const std::string& schema, std::ostream& os = std::cerr);
54 void logError_(
const std::string& kind,
const std::string& message,
unsigned long line,
unsigned long column);
57 friend class XMLValidatorErrorHandler_;
Validator for XML files.
Definition XMLValidator.h:25
std::ostream * os_
Definition XMLValidator.h:50
std::string filename_
File name of validated file (for error messages)
Definition XMLValidator.h:48
bool valid_
Flag if the validated file is valid.
Definition XMLValidator.h:46
bool isValid(const std::string &filename, const std::string &schema, std::ostream &os=std::cerr)
Returns if an XML file is valid for given a schema file.
XMLValidator()
Constructor.
void logError_(const std::string &kind, const std::string &message, unsigned long line, unsigned long column)
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19