| 1355 | digits_("0123456789") {} |
| 1356 | |
| 1357 | void Parse() { |
| 1358 | application_version_.application_ = "unknown"; |
| 1359 | application_version_.version = {0, 0, 0, "", "", ""}; |
| 1360 | |
| 1361 | if (!ParseApplicationName()) { |
| 1362 | return; |
| 1363 | } |
| 1364 | if (!ParseVersion()) { |
| 1365 | return; |
| 1366 | } |
| 1367 | if (!ParseBuildName()) { |
| 1368 | return; |
| 1369 | } |
| 1370 | } |
| 1371 | |
| 1372 | private: |
| 1373 | bool IsSpace(const std::string& string, const size_t& offset) { |