#include <ApiDatabase.h>
|
template<typename Resource > |
static std::size_t | addResource (std::unique_ptr< Resource > resource) |
|
template<typename Resource > |
static Resource * | getResource (std::size_t id) |
|
template<typename Resource > |
static bool | removeResource (std::size_t id) |
|
template<typename Resource > |
static std::weak_ptr< Resource > | useResource (std::size_t id) |
|
static void | clear () |
|
◆ addResource()
template<typename Resource >
std::size_t ph::ApiDatabase::addResource |
( |
std::unique_ptr< Resource > | resource | ) |
|
|
inlinestatic |
◆ clear()
void ph::ApiDatabase::clear |
( |
| ) |
|
|
static |
◆ getResource()
template<typename Resource >
Resource * ph::ApiDatabase::getResource |
( |
std::size_t | id | ) |
|
|
inlinestatic |
◆ removeResource()
template<typename Resource >
bool ph::ApiDatabase::removeResource |
( |
std::size_t | id | ) |
|
|
inlinestatic |
◆ useResource()
template<typename Resource >
std::weak_ptr< Resource > ph::ApiDatabase::useResource |
( |
std::size_t | id | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following files: