Limo
A simple mod manager
Loading...
Searching...
No Matches
TagCondition Struct Reference

Contains data relevant to describing a single condition used for the application of auto tags. This is used to construct a TagConditionNode. More...

#include <tagcondition.h>

Public Types

enum class  Type { path , file_name }
 Represents what should be compared to the search string. More...
 

Public Attributes

bool invert
 If true: Matches only if condition is NOT met.
 
Type condition_type
 Describes against what the search string should be matched.
 
bool use_regex
 If true: Use regex matching, else use case insensitive matching with wildcards.
 
std::string search_string
 This string will be matched against a given path.
 

Detailed Description

Contains data relevant to describing a single condition used for the application of auto tags. This is used to construct a TagConditionNode.

Member Enumeration Documentation

◆ Type

enum class TagCondition::Type
strong

Represents what should be compared to the search string.

Enumerator
path 

Match against relative path, including file name.

file_name 

Match against file name only.


The documentation for this struct was generated from the following file: