24 #ifndef INC_XCKSFILEREADER_HPP_21738D0B_5681_443B_87CE_B151AC285AB7
25 #define INC_XCKSFILEREADER_HPP_21738D0B_5681_443B_87CE_B151AC285AB7
61 void endElement(
const std::string& name) noexcept(
false)
override;
64 void characters(
const std::string& chars) noexcept(
false)
override;
67 void fatalError(XML_Error errorCode,
const std::string& errorMessage,
int line,
int column) noexcept
override;
void characters(const std::string &chars) noexcept(false) override
Receives notification of character data.
void endElement(const std::string &name) noexcept(false) override
Receives notification of the end of an element.
void setVersionHandler(XMLParserDefaultHandler *handler)
Sets the handler to parse the sums' file.
XCKSReaderHandler & readerHandler
The XCKS file reader handler.
XMLParserDefaultHandler * getVersionHandler() const
Gets the handler to parse the sums' file.
void startElement(const std::string &name, const XMLParserAttributes &atts) noexcept(false) override
Receives notification of the beginning of an element.
const std::filesystem::path baseDirectory
The base directory of the checksums' file.
void fatalError(XML_Error errorCode, const std::string &errorMessage, int line, int column) noexcept override
Receive notification of a non-recoverable error.
XCKSFileReader()=delete
Deleted default constructor.
std::shared_ptr< XMLParserDefaultHandler > versionHandler
The handler for the version of the file.
Handler for reading XCKS files.
Manages elements' attributes.
Default XML parser handler.
A very simple XML parser.
Handlers for reading and writing XCKS files.
A very simple XML Parser.