OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
blacklist.hpp
Go to the documentation of this file.
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 {
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
ID blacklist sorted by UniversalId type.
Definition: blacklist.hpp:13
Type
Definition: universalid.hpp:40
bool isBlacklisted(const CSMWorld::UniversalId &id) const
Definition: blacklist.cpp:7
std::map< CSMWorld::UniversalId::Type, std::vector< std::string > > mIds
Definition: blacklist.hpp:15
void add(CSMWorld::UniversalId::Type type, const std::vector< std::string > &ids)
Definition: blacklist.cpp:19
Definition: universalid.hpp:12