droplet 1.1.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)=0
 
virtual bool remove (size_t index)=0
 
virtual DTO get (size_t index)=0
 
virtual bool update (const DTO &object)=0
 

Member Function Documentation

◆ create()

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

◆ get()

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

◆ remove()

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

◆ update()

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

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