![]() |
LeechCraft 0.6.70-19214-g121e5318a7
Modular cross-platform feature rich live environment.
|
Typedefs | |
| using | SVM = LC::AN::StringValueMatcher |
Functions | |
| QMap< QString, QString > | GetCategoryNameMap () |
| Returns the map from the category ID to its name. | |
| QStringList | GetKnownEventTypes (const QString &category) |
| Returns the known events types for the given category. | |
| QString | GetCategoryName (const QString &category) |
| Returns the human-readable name of the event category. | |
| QString | GetTypeName (const QString &type) |
| Returns the human-readable name of the event type. | |
| QVariant | ToVariant (const SVM::Pattern &matcher) |
| std::optional< SVM::Pattern > | StringPatternFromVariant (const QVariant &var) |
| bool | Matches (const QString &string, const LC::AN::StringValueMatcher &matcher) |
| bool | Matches (const QStringList &strings, const LC::AN::StringValueMatcher &matcher) |
| bool | Matches (const QUrl &url, const LC::AN::StringValueMatcher &matcher) |
| bool | Matches (bool value, const LC::AN::BoolValueMatcher &matcher) |
| bool | Matches (int value, const LC::AN::IntValueMatcher &matcher) |
| bool | Matches (const QVariant &var, QMetaType::Type expected, const LC::AN::ValueMatcher &matcher) |
Definition at line 160 of file anutil.cpp.
| UTIL_XPC_API QString LC::Util::AN::GetCategoryName | ( | const QString & | category | ) |
Returns the human-readable name of the event category.
If the category is not known, this function just returns the category string.
| [in] | category | The ID of the event category. |
Definition at line 113 of file anutil.cpp.
References GetCategoryName(), and GetCategoryNameMap().
Referenced by GetCategoryName().
| UTIL_XPC_API QMap< QString, QString > LC::Util::AN::GetCategoryNameMap | ( | ) |
Returns the map from the category ID to its name.
Definition at line 22 of file anutil.cpp.
References GetCategoryNameMap().
Referenced by GetCategoryName(), and GetCategoryNameMap().
| UTIL_XPC_API QStringList LC::Util::AN::GetKnownEventTypes | ( | const QString & | category | ) |
Returns the known events types for the given category.
This function returns the list of known standard event types for the category, or an empty list if the category is not known.
Definition at line 38 of file anutil.cpp.
References GetKnownEventTypes().
Referenced by GetKnownEventTypes().
| UTIL_XPC_API QString LC::Util::AN::GetTypeName | ( | const QString & | type | ) |
Returns the human-readable name of the event type.
If the type is not known, this function just returns the type string.
| [in] | type | The ID of the event type. |
Definition at line 118 of file anutil.cpp.
References GetTypeName().
Referenced by GetTypeName().
| UTIL_XPC_API bool LC::Util::AN::Matches | ( | bool | value, |
| const LC::AN::BoolValueMatcher & | matcher ) |
Definition at line 223 of file anutil.cpp.
References Matches(), and LC::AN::BoolValueMatcher::Value_.
| UTIL_XPC_API bool LC::Util::AN::Matches | ( | const QString & | string, |
| const LC::AN::StringValueMatcher & | matcher ) |
Definition at line 206 of file anutil.cpp.
References Matches(), LC::AN::StringValueMatcher::Pattern_, and LC::AN::StringValueMatcher::Positive_.
Referenced by Matches(), Matches(), Matches(), Matches(), Matches(), and Matches().
| UTIL_XPC_API bool LC::Util::AN::Matches | ( | const QStringList & | strings, |
| const LC::AN::StringValueMatcher & | matcher ) |
Definition at line 211 of file anutil.cpp.
References Matches(), LC::AN::StringValueMatcher::Pattern_, and LC::AN::StringValueMatcher::Positive_.
| UTIL_XPC_API bool LC::Util::AN::Matches | ( | const QUrl & | url, |
| const LC::AN::StringValueMatcher & | matcher ) |
Definition at line 216 of file anutil.cpp.
References Matches(), LC::AN::StringValueMatcher::Pattern_, and LC::AN::StringValueMatcher::Positive_.
| UTIL_XPC_API bool LC::Util::AN::Matches | ( | const QVariant & | var, |
| QMetaType::Type | expected, | ||
| const LC::AN::ValueMatcher & | matcher ) |
Definition at line 242 of file anutil.cpp.
References Matches(), and LC::Util::Visit().
| UTIL_XPC_API bool LC::Util::AN::Matches | ( | int | value, |
| const LC::AN::IntValueMatcher & | matcher ) |
Definition at line 228 of file anutil.cpp.
References LC::AN::IntValueMatcher::Boundary_, Matches(), and LC::AN::IntValueMatcher::Ops_.
| UTIL_XPC_API std::optional< LC::AN::StringValueMatcher::Pattern > LC::Util::AN::StringPatternFromVariant | ( | const QVariant & | var | ) |
Definition at line 174 of file anutil.cpp.
References StringPatternFromVariant().
Referenced by StringPatternFromVariant().
| UTIL_XPC_API QVariant LC::Util::AN::ToVariant | ( | const SVM::Pattern & | matcher | ) |
Definition at line 162 of file anutil.cpp.
References ToVariant(), and LC::Util::Visit().
Referenced by ToVariant().