droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
 
Loading...
Searching...
No Matches
LatestEventsRepository Class Reference

#include <LatestEventsRepository.hpp>

Collaboration diagram for LatestEventsRepository:

Static Public Member Functions

static auto insert (const std::string &key, const std::string &value) -> bool
 
static auto remove (const std::string &key) -> bool
 
static auto exists (const std::string &key, const std::string &value) -> bool
 
static auto load () -> bool
 
static auto set_active (const std::string &key, bool active) -> void
 
static auto is_active (const std::string &key) -> bool
 

Member Function Documentation

◆ exists()

auto LatestEventsRepository::exists ( const std::string & key,
const std::string & value ) -> bool
staticnodiscard

◆ insert()

auto LatestEventsRepository::insert ( const std::string & key,
const std::string & value ) -> bool
staticnodiscard

◆ is_active()

auto LatestEventsRepository::is_active ( const std::string & key) -> bool
staticnodiscard

◆ load()

auto LatestEventsRepository::load ( ) -> bool
staticnodiscard

◆ remove()

auto LatestEventsRepository::remove ( const std::string & key) -> bool
staticnodiscard

◆ set_active()

auto LatestEventsRepository::set_active ( const std::string & key,
bool active ) -> void
static

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