12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2020-10-17
- * Changed: 2024-09-13
- *
- * */
- #ifndef LS_STD_XML_PARSE_PARAMETER_HPP
- #define LS_STD_XML_PARSE_PARAMETER_HPP
- #include "XmlNode.hpp"
- #include <cstdint>
- #include <ls-std/os/dynamic-goal.hpp>
- #include <memory>
- /*
- * @doc: class(name: 'XmlParseParameter', package: 'io')
- * @doc: io.XmlParseParameter.description('This class holds information regarding parsing an XML tree.')
- * */
- namespace ls::std::io
- {
- class LS_STD_DYNAMIC_GOAL XmlParseParameter
- {
- public:
- XmlParseParameter();
- ~XmlParseParameter();
- [[nodiscard]] uint8_t getLevel() const;
- [[nodiscard]] ::std::shared_ptr<ls::std::io::XmlNode> getNode() const;
- void setLevel(const uint8_t &_level);
- void setNode(const ::std::shared_ptr<ls::std::io::XmlNode> &_node);
- private:
- uint8_t level{};
- ::std::shared_ptr<ls::std::io::XmlNode> node{};
- void _setNode(const ::std::shared_ptr<ls::std::io::XmlNode> &_node);
- };
- }
- #endif
|