MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / ExtractionContainers

Method ExtractionContainers

src/extractor/extraction_containers.cpp:381–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379{
380
381ExtractionContainers::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.

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected