Lines Matching defs: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)
123 return probe == value;
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)
138 if (probe.is_string())
142 std::regex search(probe);
150 "PROBE", probe);
165 explicit MatchProbeForwarder(const nlohmann::json& probe) : probeRef(probe)
176 bool matchProbe(const nlohmann::json& probe, const DBusValueVariant& dbusValue)
178 return std::visit(MatchProbeForwarder(probe), dbusValue);