35 [[nodiscard]]
auto getPair(
const std::string &username)
36 -> std::vector<std::string>;
47 [[nodiscard]]
virtual auto getAllUsernames_() -> std::vector<std::string>;
54 [[nodiscard]]
virtual auto getUserTags_(
const std::string &username)
55 -> std::vector<std::string>;
63 [[nodiscard]]
virtual auto getSimilarity_(
const std::string &username1,
64 const std::string &username2)
A class to manage user pairs and their similarities.
Definition pair.hpp:12
auto getPair(const std::string &username) -> std::vector< std::string >
Gets a pair of usernames for the given username.
friend class MockPair
Allows MockPair to access private members.
Definition pair.hpp:39
void setStorage(const Storage &storage)
Sets the storage object.
virtual ~Pair()
Destructor for the Pair class.
Pair()
Constructor for the Pair class.
A class to manage user data.
Definition storage.hpp:14