4#include <unordered_set>
22 Player(std::string
const& playerName, std::unordered_set<std::string>
const& controlledModules, std::unordered_set<std::string>
const& controlledActions,
23 std::string
const& filename =
"", uint_fast32_t lineNumber = 0);
37 std::string
const&
getName()
const;
44 std::unordered_set<std::string>
const&
getModules()
const;
51 std::unordered_set<std::string>
const&
getActions()
const;
57 std::string playerName;
60 std::unordered_set<std::string> controlledModules;
63 std::unordered_set<std::string> controlledActions;
std::unordered_set< std::string > const & getModules() const
Retrieves all controlled Modules of the player.
friend std::ostream & operator<<(std::ostream &stream, Player const &player)
Player(Player &&other)=default
Player & operator=(Player &&other)=default
Player & operator=(Player const &other)=default
std::unordered_set< std::string > const & getActions() const
Retrieves all controlled Actions of the player.
std::string const & getName() const
Retrieves the name of the player.
Player(Player const &other)=default