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