1 #ifndef CSM_DOC_BLACKLIST_H 2 #define CSM_DOC_BLACKLIST_H 3 4 #include <map> 5 #include <vector> 6 #include <string> 7 8 #include "../world/universalid.hpp" 9 10 namespace CSMDoc 11 { 12 /// \brief ID blacklist sorted by UniversalId type 13 class Blacklist 14 { 15 std::map<CSMWorld::UniversalId::Type, std::vector<std::string> > mIds; 16 17 public: 18 19 bool isBlacklisted (const CSMWorld::UniversalId& id) const; 20 21 void add (CSMWorld::UniversalId::Type type, const std::vector<std::string>& ids); 22 }; 23 } 24 25 #endif 26