summaryrefslogtreecommitdiff
path: root/src/helpers/TagKeeper.hpp
blob: d18a0d29a187a8a563ef56bc2a59f09c42968d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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);

    const auto& getTags() const {
        return m_tags;
    };

  private:
    std::set<std::string> m_tags;
};