123456789101112131415161718192021222324252627282930313233343536373839404142 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2023-02-11
- * Changed: 2024-05-25
- *
- * */
- #ifndef LS_STD_SERIALIZABLE_SECTION_PAIR_ROW_SINGLE_VALUE_HPP
- #define LS_STD_SERIALIZABLE_SECTION_PAIR_ROW_SINGLE_VALUE_HPP
- #include "SerializableSectionPairParameter.hpp"
- #include <ls-std/core/Class.hpp>
- #include <ls-std/core/interface/ISerializable.hpp>
- #include <ls-std/os/dynamic-goal.hpp>
- #include <memory>
- /*
- * @class(name: 'SerializableSectionPairRowSingleValue', package: 'io')
- * */
- namespace ls::std::io
- {
- class LS_STD_DYNAMIC_GOAL SerializableSectionPairRowSingleValue : public ls::std::core::interface_type::ISerializable, public ls::std::core::Class
- {
- public:
- explicit SerializableSectionPairRowSingleValue(const ls::std::io::SerializableSectionPairParameter &_parameter);
- ~SerializableSectionPairRowSingleValue() noexcept override;
- [[nodiscard]] ::std::shared_ptr<ls::std::core::Class> getValue() const;
- [[nodiscard]] ls::std::core::type::byte_field marshal() override;
- void unmarshal(const ls::std::core::type::byte_field &_data) override;
- private:
- ls::std::io::SerializableSectionPairParameter parameter{};
- };
- }
- #endif
|