Home | History | Annotate | Download | only in parameter

Lines Matching refs:strValue

95 bool CEnumParameterType::toBlackboard(const string& strValue, uint32_t& uiValue, CParameterAccessContext& parameterAccessContext) const
99 if (isNumber(strValue)) {
104 bool bValueProvidedAsHexa = !strValue.compare(0, 2, "0x");
110 iData = strtoll(strValue.c_str(), &pcStrEnd, 0);
113 bool bConversionSucceeded = !errno && (strValue.c_str() != pcStrEnd);
116 if (!checkValueAgainstRange(strValue, iData, parameterAccessContext, bValueProvidedAsHexa, bConversionSucceeded)) {
140 if (!getNumerical(strValue, iNumerical)) {
149 if (!checkValueAgainstRange(strValue, iData, parameterAccessContext, false, isEncodable((uint64_t)iData, true))) {
162 bool CEnumParameterType::checkValueAgainstRange(const string& strValue, int64_t value, CParameterAccessContext& parameterAccessContext, bool bHexaValue, bool bConversionSucceeded) const
172 strStream << "Value " << strValue << " standing out of admitted range [";
195 bool CEnumParameterType::fromBlackboard(string& strValue, const uint32_t& uiValue, CParameterAccessContext& parameterAccessContext) const
209 strValue = strStream.str();
220 strValue = strStream.str();
231 getLiteral(iValue, strValue);
275 bool CEnumParameterType::isNumber(const string& strValue)
277 char cFirst = strValue[0];