| 107 | |
| 108 | public: |
| 109 | inline std::string str() { |
| 110 | const size_t max_buflen = 16; |
| 111 | char buf[max_buflen]; |
| 112 | std::sprintf(buf, "%c%c%u", c_endian, c_type, len); |
| 113 | return std::string(buf); |
| 114 | } |
| 115 | |
| 116 | Typestring(const std::vector<float>&) |
| 117 | : c_endian{host_endian_char}, c_type{'f'}, len{sizeof(float)} {} |
no outgoing calls
no test coverage detected