| 3288 | |
| 3289 | template<typename T> |
| 3290 | void StreamIndexedIO::rawWrite(const IndexedIO::EntryID &name, const T *x, size_t arrayLength) |
| 3291 | { |
| 3292 | writable(name); |
| 3293 | remove(name, false); |
| 3294 | |
| 3295 | size_t size = IndexedIO::DataSizeTraits<T*>::size(x, arrayLength); |
| 3296 | IndexedIO::DataType dataType = IndexedIO::DataTypeTraits<T*>::type(); |
| 3297 | |
| 3298 | Index::WriteInfo info = m_node->m_idx->writeUniqueDataCompressed( (char *) x, size ); |
| 3299 | m_node->addDataChild( name, dataType, arrayLength, info.offset, info.size, size, info.numCompressedBlocks ); |
| 3300 | } |
| 3301 | |
| 3302 | template<typename T> |
| 3303 | void StreamIndexedIO::write(const IndexedIO::EntryID &name, const T &x) |
nothing calls this directly
no test coverage detected