The Battle for Wesnoth  1.19.7+dev
Public Member Functions | Private Attributes | List of all members
ban_check Class Reference

#include <ban_check.hpp>

Inheritance diagram for ban_check:

Public Member Functions

 ban_check ()
 
 ban_check (const mariadb::result_set &rslt)
 
void read (mariadb::result_set_ref rslt) override
 
long get_ban_type ()
 
std::chrono::seconds get_ban_duration ()
 
int get_user_id ()
 
std::string get_email ()
 
- Public Member Functions inherited from rs_base
 rs_base ()
 
virtual ~rs_base ()
 

Private Attributes

long ban_type
 
std::chrono::seconds ban_duration
 
int user_id
 
std::string email
 

Detailed Description

Definition at line 23 of file ban_check.hpp.

Constructor & Destructor Documentation

◆ ban_check() [1/2]

ban_check::ban_check ( )

◆ ban_check() [2/2]

ban_check::ban_check ( const mariadb::result_set &  rslt)
explicit

Member Function Documentation

◆ get_ban_duration()

std::chrono::seconds ban_check::get_ban_duration ( )

◆ get_ban_type()

long ban_check::get_ban_type ( )

◆ get_email()

std::string ban_check::get_email ( )

◆ get_user_id()

int ban_check::get_user_id ( )

◆ read()

void ban_check::read ( mariadb::result_set_ref  rslt)
overridevirtual

Implements rs_base.

Member Data Documentation

◆ ban_duration

std::chrono::seconds ban_check::ban_duration
private

Definition at line 36 of file ban_check.hpp.

◆ ban_type

long ban_check::ban_type
private

Definition at line 35 of file ban_check.hpp.

◆ email

std::string ban_check::email
private

Definition at line 38 of file ban_check.hpp.

◆ user_id

int ban_check::user_id
private

Definition at line 37 of file ban_check.hpp.


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