MimeMagicRuleMatcher Class
(Utils::Internal::MimeMagicRuleMatcher)Public Functions
MimeMagicRuleMatcher(const int &mime, unsigned int priority = 65535) | |
void | addRule(const int &rule) |
void | addRules(const int &rules) |
int | magicRules() const |
bool | matches(const int &data) const |
int | mimetype() const |
unsigned int | priority() const |
bool | operator==(const Utils::Internal::MimeMagicRuleMatcher &other) const |
Member Function Documentation
MimeMagicRuleMatcher::MimeMagicRuleMatcher(const int &mime, unsigned int priority = 65535)
Default constructs an instance of MimeMagicRuleMatcher.