XMLReaderMock.hpp 649 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-10-18
  6. * Changed: 2020-11-06
  7. *
  8. * */
  9. #ifndef LS_STD_XML_READER_MOCK_HPP
  10. #define LS_STD_XML_READER_MOCK_HPP
  11. #include "XMLReader.hpp"
  12. namespace ls_std {
  13. class XMLReaderMock : public XMLReader {
  14. public:
  15. XMLReaderMock();
  16. ~XMLReaderMock() = default;
  17. static std::pair<std::string, std::string> readAttribute(const ls_std::byte_field &_data);
  18. static std::list<std::pair<std::string, std::string>> readAttributes(ls_std::byte_field _data);
  19. };
  20. }
  21. #endif