A class to manage user pairs and their similarities.
More...
#include <pair.hpp>
|
|
| Pair () |
| | Constructor for the Pair class.
|
| |
|
virtual | ~Pair () |
| | Destructor for the Pair class.
|
| |
| void | setStorage (const Storage &storage) |
| | Sets the storage object.
|
| |
| auto | getPair (const std::string &username) -> std::vector< std::string > |
| | Gets a pair of usernames for the given username.
|
| |
|
|
class | MockPair |
| | Allows MockPair to access private members.
|
| |
A class to manage user pairs and their similarities.
◆ getPair()
| auto Pair::getPair |
( |
const std::string & | username | ) |
-> std::vector< std::string > |
|
nodiscard |
Gets a pair of usernames for the given username.
- Parameters
-
| username | The username for which to get the pair. |
- Returns
- A vector of paired usernames.
◆ setStorage()
| void Pair::setStorage |
( |
const Storage & | storage | ) |
|
Sets the storage object.
- Parameters
-
| storage | The storage object to be set. |
The documentation for this class was generated from the following file: