#include <groupdb.hpp>
◆ GroupDB()
◆ createGroup()
bool GroupDB::createGroup |
( |
std::string const & | group_id, |
|
|
std::shared_ptr< User > | owner ) |
- Returns
- true if group was created, false if group already exists
◆ deleteGroup()
bool GroupDB::deleteGroup |
( |
std::string const & | group_id | ) |
|
- Returns
- true if group was deleted, false if group does not exist
◆ getGroup()
std::shared_ptr< Group > GroupDB::getGroup |
( |
std::string const & | group_id | ) |
|
- Returns
- nullptr if group does not exist
◆ getGroups()
std::vector< std::string > GroupDB::getGroups |
( |
| ) |
const |
The documentation for this class was generated from the following files: