Class sh::actions::ByRegExpPredicate

class sh::actions::ByRegExpPredicate : public sh::actions::Predicate

Shows actions only when the selection paths matches a regular expression.

Public Functions

ByRegExpPredicate(QString regexp)
bool evaluate(ActionInstantiation *instantiation)

Evaluates if the predicate is solved.

If it returns true, the evaluation proceeds and eventually succeeds. If false, it stops at this place.

void prepare(ActionInstantiation *instantiation)

Prepares the evaluation.

Private Members

QRegExp filterRegExp