51 const std::string& expression,
52 const std::vector<TagCondition>& conditions);
std::string expression_
Expression used to generate a new evaluator.
Definition editautotagaction.h:89
std::string getName() const
Getter for the target tags name.
Definition editautotagaction.cpp:26
ActionType type_
The type of action to be performed.
Definition editautotagaction.h:87
std::string getNewName() const
Getter for the new name.
Definition editautotagaction.cpp:31
std::string name_
The target tags name.
Definition editautotagaction.h:83
std::string getExpression() const
Getter for the expression of the updated evaluator.
Definition editautotagaction.cpp:41
ActionType getType() const
Getter for the ActionType to be performed.
Definition editautotagaction.cpp:36
ActionType
Represents the type of action performed.
Definition editautotagaction.h:21
@ remove
Remove an existing tag.
Definition editautotagaction.h:25
@ add
Add a new tag.
Definition editautotagaction.h:23
@ change_evaluator
Create a new evaluator.
Definition editautotagaction.h:29
@ rename
Rename a tag.
Definition editautotagaction.h:27
std::vector< TagCondition > conditions_
Conditions used to generate a new evaluator.
Definition editautotagaction.h:91
EditAutoTagAction(const std::string &name, ActionType type)
Constructor for an add or remove action.
Definition editautotagaction.cpp:3
std::vector< TagCondition > getConditions() const
Getter for the conditions of the updated evaluator.
Definition editautotagaction.cpp:46
std::string new_name_
The target tags new name, if ActionType == rename.
Definition editautotagaction.h:85
Contains the TagCondition struct.