XmlParserTestWrapper.cpp 827 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-10-18
  6. * Changed: 2023-02-23
  7. *
  8. * */
  9. #include "XmlParserTestWrapper.hpp"
  10. using ls::std::core::type::byte_field;
  11. using ls::std::io::XmlParser;
  12. using std::list;
  13. using std::move;
  14. using std::pair;
  15. using std::string;
  16. using test::io::XmlParserTestWrapper;
  17. XmlParserTestWrapper::XmlParserTestWrapper() : XmlParser(nullptr)
  18. {}
  19. XmlParserTestWrapper::~XmlParserTestWrapper() noexcept = default;
  20. pair<string, string> XmlParserTestWrapper::readAttribute(const byte_field &_data)
  21. {
  22. return XmlParser::_readAttribute_(_data);
  23. }
  24. list<pair<string, string>> XmlParserTestWrapper::readAttributes(byte_field _data)
  25. {
  26. return XmlParser::_readAttributes_(::move(_data));
  27. }