| 128 | |
| 129 | |
| 130 | void ColumnPointTable::setFieldInternal(Dimension::Id dim, |
| 131 | PointId idx, const void *src) |
| 132 | { |
| 133 | const Dimension::Detail *d = m_layoutRef.dimDetail(dim); |
| 134 | const DimBlockList& dimBlocks = m_blocks[d->order()]; |
| 135 | char *buf = dimBlocks[idx / m_blockPtCnt]; |
| 136 | char *dst = buf + (Dimension::size(d->type()) * (idx % m_blockPtCnt)); |
| 137 | |
| 138 | copy (reinterpret_cast<const char *>(src), dst, d->type()); |
| 139 | } |
| 140 | |
| 141 | |
| 142 | void ColumnPointTable::getFieldInternal(Dimension::Id dim, |