Lines Matching full:probe
118 /// \param probe the probe statement to match against
119 /// \param value the property value being matched to a probe
120 /// \return true if the dbusValue matched the probe otherwise false
121 static bool match(const nlohmann::json& probe, const T& value) in match()
123 return probe == value; in match()
133 /// \param probe the probe statement to match against
134 /// \param value the string value being matched to a probe
135 /// \return true if the dbusValue matched the probe otherwise false
136 static bool match(const nlohmann::json& probe, const std::string& value) in match()
138 if (probe.is_string()) in match()
142 std::regex search(probe); in match()
149 "Syntax error in regular expression: {PROBE} will never match", in match()
150 "PROBE", probe); in match()
165 explicit MatchProbeForwarder(const nlohmann::json& probe) : probeRef(probe) in MatchProbeForwarder()
176 bool matchProbe(const nlohmann::json& probe, const DBusValueVariant& dbusValue) in matchProbe() argument
178 return std::visit(MatchProbeForwarder(probe), dbusValue); in matchProbe()