MCPcopy Index your code
hub / github.com/MapServer/MapServer / msLayerInitItemInfo

Function msLayerInitItemInfo

maplayer.c:51–59  ·  view source on GitHub ↗

** Iteminfo is a layer parameter that holds information necessary to retrieve an individual item for ** a particular source. It is an array built from a list of items. The type of iteminfo will vary by ** source. For shapefiles and OGR it is simply an array of integers where each value is an index for ** the item. For SDE it's a ESRI specific type that contains index and column type information. T

Source from the content-addressed store, hash-verified

49** specific functions.
50*/
51int msLayerInitItemInfo(layerObj *layer)
52{
53 if ( ! layer->vtable) {
54 int rv = msInitializeVirtualTable(layer);
55 if (rv != MS_SUCCESS)
56 return rv;
57 }
58 return layer->vtable->LayerInitItemInfo(layer);
59}
60
61void msLayerFreeItemInfo(layerObj *layer)
62{

Callers 5

msSHPLayerGetItemsFunction · 0.85
msLayerGetItemsFunction · 0.85
msLayerWhichItemsFunction · 0.85
msLayerSetItemsFunction · 0.85

Calls 1

msInitializeVirtualTableFunction · 0.85

Tested by

no test coverage detected