| 140 | |
| 141 | |
| 142 | void ColumnPointTable::getFieldInternal(Dimension::Id dim, |
| 143 | PointId idx, void *dst) const |
| 144 | { |
| 145 | const Dimension::Detail *d = m_layoutRef.dimDetail(dim); |
| 146 | const DimBlockList& dimBlocks = m_blocks[d->order()]; |
| 147 | const char *buf = dimBlocks[idx / m_blockPtCnt]; |
| 148 | const char *src = buf + (Dimension::size(d->type()) * (idx % m_blockPtCnt)); |
| 149 | |
| 150 | copy(src, reinterpret_cast<char *>(dst), d->type()); |
| 151 | } |
| 152 | |
| 153 | char *ColumnPointTable::getDimension(const Dimension::Detail *d, PointId idx) |
| 154 | { |