| 71 | } |
| 72 | |
| 73 | static enum RetFormat ParseDataFormat(vector<string>& params, const string& strReq) |
| 74 | { |
| 75 | boost::split(params, strReq, boost::is_any_of(".")); |
| 76 | if (params.size() > 1) { |
| 77 | for (unsigned int i = 0; i < ARRAYLEN(rf_names); i++) |
| 78 | if (params[1] == rf_names[i].name) |
| 79 | return rf_names[i].rf; |
| 80 | } |
| 81 | |
| 82 | return rf_names[0].rf; |
| 83 | } |
| 84 | |
| 85 | static string AvailableDataFormatsString() |
| 86 | { |
no test coverage detected