SectionPairRowSingleValue.hpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-10
  6. * Changed: 2023-02-11
  7. *
  8. * */
  9. #ifndef LS_STD_SECTION_PAIR_ROW_SINGLE_VALUE_HPP
  10. #define LS_STD_SECTION_PAIR_ROW_SINGLE_VALUE_HPP
  11. #include "SectionPairRowValue.hpp"
  12. #include <ls-std/core/Class.hpp>
  13. #include <ls-std/io/section-pair/SectionPairTypes.hpp>
  14. #include <ls-std/os/dynamic-goal.hpp>
  15. namespace ls::std::io
  16. {
  17. class LS_STD_DYNAMIC_GOAL SectionPairRowSingleValue : public ls::std::core::Class, public ls::std::io::SectionPairRowValue
  18. {
  19. public:
  20. explicit SectionPairRowSingleValue(const ls::std::io::section_pair_row_value &_value);
  21. ~SectionPairRowSingleValue() override;
  22. [[nodiscard]] ls::std::io::section_pair_row_value get();
  23. [[nodiscard]] ls::std::io::SectionPairRowEnumType getType() override;
  24. void set(const ls::std::io::section_pair_row_value &_value);
  25. private:
  26. ls::std::io::section_pair_row_value value{};
  27. void _set(const ls::std::io::section_pair_row_value &_value);
  28. };
  29. }
  30. #endif