| 7 | |
| 8 | namespace { |
| 9 | std::string FormatArray(const mdf::IChannelArray& array, uint16_t dimension) { |
| 10 | const auto dimensions = array.Dimensions(); |
| 11 | std::ostringstream output; |
| 12 | output << "["; |
| 13 | output << array.DimensionSize(dimension); |
| 14 | output << "]"; |
| 15 | ++dimension; |
| 16 | if (dimension < dimensions) { |
| 17 | output << FormatArray(array, dimension); |
| 18 | } |
| 19 | return output.str(); |
| 20 | } |
| 21 | |
| 22 | } // empty namespace |
| 23 |
nothing calls this directly
no test coverage detected