| 379 | { |
| 380 | |
| 381 | ExtractionContainers::ExtractionContainers() |
| 382 | { |
| 383 | // Insert four empty strings offsets for name, ref, destination, pronunciation, and exits |
| 384 | name_offsets.push_back(0); |
| 385 | name_offsets.push_back(0); |
| 386 | name_offsets.push_back(0); |
| 387 | name_offsets.push_back(0); |
| 388 | name_offsets.push_back(0); |
| 389 | // Insert the total length sentinel (corresponds to the next name string offset) |
| 390 | name_offsets.push_back(0); |
| 391 | // Sentinel for offset into used_nodes |
| 392 | way_node_id_offsets.push_back(0); |
| 393 | } |
| 394 | |
| 395 | /** |
| 396 | * Processes the collected data and serializes it. |