12template <
typename DTO>
17 [[nodiscard]]
virtual DTO
get(
size_t id)
const noexcept = 0;
20template <
typename DTO>
25 [[nodiscard]]
virtual bool create(
const DTO&
object)
noexcept = 0;
27 [[nodiscard]]
virtual bool remove(
size_t index)
noexcept = 0;
29 [[nodiscard]]
virtual bool update(
const DTO&
object)
noexcept = 0;
35template <
typename DTO>
Definition IRepository.hpp:13
virtual DTO get(size_t id) const noexcept=0
virtual ~IRepositoryReader()=default
Definition IRepository.hpp:21
virtual bool create(const DTO &object) noexcept=0
virtual bool remove(size_t index) noexcept=0
virtual ~IRepositoryWriter()=default
virtual bool update(const DTO &object) noexcept=0
Definition IRepository.hpp:36