| 266 | } |
| 267 | |
| 268 | void append(const BePlusTree& from) |
| 269 | { |
| 270 | // This is slow approach especially when used for assignment. |
| 271 | // Optimize it when need arises. |
| 272 | ConstAccessor accessor(&from); |
| 273 | if (accessor.getFirst()) |
| 274 | { |
| 275 | do { |
| 276 | add(accessor.current()); |
| 277 | } while (accessor.getNext()); |
| 278 | } |
| 279 | } |
| 280 | |
| 281 | private: |
| 282 | class NodeList; |