⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 accesslist.h

📁 C++高级编程这本书所附的源代码
💻 H
字号:
#include <set>#include <string>#include <list>using std::set;using std::string;using std::list;class AccessList{ public:  AccessList() {}  //  // Adds the user to the permissions list.  //  void addUser(const string& user);  //  // Removes the user from the permissions list.  //  void removeUser(const string& user);  //  // Returns true if user is in the permissionns list.  //  bool isAllowed(const string& user) const;  //  // Returns a list of all the users who have permissions.  //  list<string> getAllUsers() const; protected:  set<string> mAllowed;};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -