Limo
A simple mod manager
Loading...
Searching...
No Matches
tagcondition.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include <string>
9
10
16{
18 enum class Type
19 {
24 };
25
27 bool invert;
33 std::string search_string;
34};
Contains data relevant to describing a single condition used for the application of auto tags....
Definition tagcondition.h:16
Type
Represents what should be compared to the search string.
Definition tagcondition.h:19
@ file_name
Match against file name only.
Definition tagcondition.h:23
@ path
Match against relative path, including file name.
Definition tagcondition.h:21
bool use_regex
If true: Use regex matching, else use case insensitive matching with wildcards.
Definition tagcondition.h:31
std::string search_string
This string will be matched against a given path.
Definition tagcondition.h:33
bool invert
If true: Matches only if condition is NOT met.
Definition tagcondition.h:27
Type condition_type
Describes against what the search string should be matched.
Definition tagcondition.h:29