Lines Matching full:modifier
17 #include "modifier.hpp"
94 struct MinusOperator : public Modifier::BaseOperator
132 "Bool not allowed as a 'minus' modifier value"}; in operator ()()
144 * "modifier": {
163 struct LessThanOperator : public Modifier::BaseOperator
174 throw std::invalid_argument("Invalid modifier JSON"); in LessThanOperator()
187 throw std::invalid_argument("Invalid modifier JSON"); in LessThanOperator()
196 "Invalid data type in arg_value key in modifier JSON " in LessThanOperator()
200 throw std::invalid_argument("Invalid modifier JSON"); in LessThanOperator()
212 "modifier json: {}", in LessThanOperator()
215 throw std::invalid_argument("Invalid modifier JSON"); in LessThanOperator()
277 "Bool not allowed as a 'less_than' modifier value"}; in operator ()()
285 Modifier::Modifier(const json& jsonObj) in Modifier() function in phosphor::fan::control::json::Modifier
290 void Modifier::setOperator(const json& jsonObj) in setOperator()
296 "Modifier entry in JSON missing 'operator' or 'value': {}", in setOperator()
299 throw std::invalid_argument("Invalid modifier JSON"); in setOperator()
314 log<level::ERR>(std::format("Invalid operator in the modifier JSON: {}", in setOperator()
317 throw std::invalid_argument("Invalid operator in the modifier JSON"); in setOperator()
321 PropertyVariantType Modifier::doOp(const PropertyVariantType& val) in doOp()