droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
IRepository< DTO > Class Template Referenceabstract

#include <IRepository.hpp>

Inheritance diagram for IRepository< DTO >:
Collaboration diagram for IRepository< DTO >:

Public Member Functions

virtual bool create (const DTO &object) noexcept=0
virtual bool remove (size_t index) noexcept=0
virtual DTO get (size_t index) noexcept=0
virtual bool update (const DTO &object) noexcept=0

Member Function Documentation

◆ create()

template<typename DTO>
virtual bool IRepository< DTO >::create ( const DTO & object)
nodiscardpure virtualnoexcept

◆ get()

template<typename DTO>
virtual DTO IRepository< DTO >::get ( size_t index)
nodiscardpure virtualnoexcept

◆ remove()

template<typename DTO>
virtual bool IRepository< DTO >::remove ( size_t index)
nodiscardpure virtualnoexcept

◆ update()

template<typename DTO>
virtual bool IRepository< DTO >::update ( const DTO & object)
nodiscardpure virtualnoexcept

The documentation for this class was generated from the following file: