String output
| 85 | |
| 86 | // String output |
| 87 | std::string Array1::asString() const |
| 88 | { |
| 89 | std::stringstream result; |
| 90 | result << "["; |
| 91 | for (int i=0; i < _length; ++i) |
| 92 | { |
| 93 | result << " " << _buffer[i]; |
| 94 | if (i < _length-1) result << ","; |
| 95 | } |
| 96 | result << " ]"; |
| 97 | return result.str(); |
| 98 | } |
| 99 | |
| 100 | // Get view |
| 101 | void Array1::view(long** data, int* length) const |
no outgoing calls
no test coverage detected