Lines Matching refs:strValue
50 bool CBooleanParameterType::toBlackboard(const std::string& strValue, uint32_t& uiValue, CParameterAccessContext& parameterAccessContext) const
52 if (strValue == "1" || strValue == "0x1") {
55 } else if (strValue == "0" || strValue == "0x0") {
59 parameterAccessContext.setError(strValue + " value not part of numerical space {");
62 bool bValueProvidedAsHexa = !strValue.compare(0, 2, "0x");
79 bool CBooleanParameterType::fromBlackboard(std::string& strValue, const uint32_t& uiValue, CParameterAccessContext& parameterAccessContext) const
81 strValue = uiValue ? "1" : "0";
85 strValue = "0x" + strValue;