IStorable.hpp 515 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-19
  6. * Changed: 2020-08-23
  7. *
  8. * */
  9. #ifndef I_STORABLE_HPP
  10. #define I_STORABLE_HPP
  11. #include "../base/Types.hpp"
  12. namespace ls_std {
  13. class IStorable {
  14. public:
  15. IStorable() = default;
  16. ~IStorable() = default;
  17. virtual ls_std::byte_field load() = 0;
  18. virtual void save(const ls_std::byte_field& _data) = 0;
  19. };
  20. }
  21. #endif