Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-02 08:51:48

0001 #ifndef DEFAULT_XML_VALIDATOR_H
0002 #define DEFAULT_XML_VALIDATOR_H
0003 
0004 /**
0005  * @file DefaultXMLValidator.h
0006  * @author Pawel Sznajder (NCBJ)
0007  * @date March 23, 2025
0008  * @version 1.0
0009  */
0010 
0011 #include <string>
0012 
0013 #include "XMLValidatorI.h"
0014 
0015 namespace PARTONS {
0016 
0017 /**
0018  * @class DefaultXMLValidator
0019  *
0020  * @brief Validator using libxml2 library.
0021  */
0022 class DefaultXMLValidator: public XMLValidatorI {
0023 
0024 public:
0025 
0026     DefaultXMLValidator();
0027     virtual ~DefaultXMLValidator();
0028 
0029     virtual bool isValidXMLDocument(const std::string &xmlSchemaStream,
0030             const std::string &xmlDocumentStream) const;
0031 };
0032 
0033 } /* namespace PARTONS */
0034 
0035 #endif /* DEFAULT_XML_VALIDATOR_H */