Get query from dictionary as float.
| 58 | |
| 59 | // Get query from dictionary as float. |
| 60 | bool getQuery(const std::string key, float* pValOut) const |
| 61 | { |
| 62 | std::string strVal; |
| 63 | |
| 64 | if (!getQuery(key, &strVal)) |
| 65 | return false; |
| 66 | |
| 67 | *pValOut = (float)std::atof(strVal.c_str()); |
| 68 | return true; |
| 69 | } |
| 70 | |
| 71 | // Get query from dictionary as int. |
| 72 | bool getQuery(const std::string key, int* pValOut) const |
no test coverage detected