Lines Matching full:operator
34 T operator()(const U& t) const in operator ()()
85 * @brief Implements the minus operator to subtract two values.
96 PropertyVariantType operator()(double val) override in operator ()()
101 PropertyVariantType operator()(int32_t val) override in operator ()()
106 PropertyVariantType operator()(int64_t val) override in operator ()()
111 PropertyVariantType operator()(const std::string& val) override in operator ()()
125 PropertyVariantType operator()(bool) override in operator ()()
135 * @brief Implements an operator to return a value specified in the JSON that is
136 * chosen based on if the value passed into the operator is less than the lowest
141 * "operator": "less_than",
213 PropertyVariantType operator()(double val) override in operator ()()
226 PropertyVariantType operator()(int32_t val) override in operator ()()
238 PropertyVariantType operator()(int64_t val) override in operator ()()
250 PropertyVariantType operator()(const std::string& val) override in operator ()()
263 PropertyVariantType operator()(bool) override in operator ()()
281 if (!jsonObj.contains("operator") || !jsonObj.contains("value")) in setOperator()
284 "Modifier entry in JSON missing 'operator' or 'value': {JSON_OBJECT}", in setOperator()
289 auto op = jsonObj["operator"].get<std::string>(); in setOperator()
301 lg2::error("Invalid operator in the modifier JSON: {JSON_OBJECT}", in setOperator()
303 throw std::invalid_argument("Invalid operator in the modifier JSON"); in setOperator()