Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
Database Class Reference

#include <Database.hpp>

Static Public Member Functions

static void initalize (const std::filesystem::path init_path)
 Initalizes the database with init_path. Does not have to be caonical.
 
static void deinit ()
 Deinitalizes the DB.
 
static sqlite3 & ref ()
 Returns a ref to the sqlite DB.
 

Static Private Member Functions

static internal::MtxTypelock ()
 Returns a ref to the global DB lock.
 

Friends

class Binder
 

Member Function Documentation

◆ deinit()

void Database::deinit ( )
static

Deinitalizes the DB.

◆ initalize()

void Database::initalize ( const std::filesystem::path init_path)
static

Initalizes the database with init_path. Does not have to be caonical.

◆ lock()

internal::MtxType & Database::lock ( )
staticnodiscardprivate

Returns a ref to the global DB lock.

◆ ref()

sqlite3 & Database::ref ( )
staticnodiscard

Returns a ref to the sqlite DB.

Friends And Related Symbol Documentation

◆ Binder

friend class Binder
friend

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