Class sh::scripting::api::ApiSearchCriterion¶
-
class
sh::scripting::api
::
ApiSearchCriterion
: public sh::search::criteria::AbstractActionDrivenSearchCriterion¶ Public Functions
-
QList<QString>
getsearchspec
()¶
Checks if a given file (by eurl) matches this criterion. .
-
QString
valuedescription
()¶ Returns a human readable text describing the current criterion shortly and precisely. .
-
QString
serialize
()¶ Serializes this criterion to a string. See also SearchCriterion::deserialize.
-
std::shared_ptr<sh::search::SearchCriterionFactory>
factory
()¶ Returns the factory this criterion has created (provides some more metadata).
Public Members
-
std::function<void(sh::actions::ActionExecutionInfo*)>
_configure
¶
-
std::function<bool(sh::filesystem::Operation *op, std::shared_ptr<sh::filesystem::Eurl> eurl)>
_match
¶
-
QStringList
searchspec
¶
Public Static Functions
-
std::shared_ptr<sh::search::SearchCriterion>
deserialize
(QString s)¶ Deserializes this criterion from a string. See also SearchCriterion::serialize.
-
QList<QString>