blob: f90b062957f930fabb48e916a33db258adfe1ec0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include <string>
#include <set>
class CTagKeeper {
public:
bool isTagged(const std::string& tag, bool strict = false) const;
bool applyTag(const std::string& tag, bool dynamic = false);
bool removeDynamicTag(const std::string& tag);
bool clearTags();
const auto& getTags() const {
return m_tags;
};
private:
std::set<std::string> m_tags;
};
|