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

Function msSDELayerIsOpen

mapsde.c:95–104  ·  view source on GitHub ↗

-------------------------------------------------------------------- */ msSDELayerIsOpen */ -------------------------------------------------------------------- */ Returns MS_TRUE if layer is already opened, MS_FALSE otherwise */ -------------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

93/* Returns MS_TRUE if layer is already opened, MS_FALSE otherwise */
94/* -------------------------------------------------------------------- */
95int msSDELayerIsOpen(layerObj *layer) {
96#ifdef USE_SDE
97 if(layer->layerinfo)
98 return(MS_TRUE);
99 return MS_FALSE;
100#else
101 msSetError(MS_MISCERR, "SDE support is not available.", "msSDELayerIsOpen()");
102 return(MS_FALSE);
103#endif
104}
105
106#ifdef USE_SDE
107

Callers 12

msSDELayerGetRowIDColumnFunction · 0.85
sdeGetRecordFunction · 0.85
getSDEQueryInfoFunction · 0.85
getSDESQLConstructInfoFunction · 0.85
msSDELayerCloseFunction · 0.85
msSDELayerWhichShapesFunction · 0.85
msSDELayerNextShapeFunction · 0.85
msSDELayerGetExtentFunction · 0.85
msSDELayerGetShapeFunction · 0.85
msSDELayerInitItemInfoFunction · 0.85

Calls 1

msSetErrorFunction · 0.85

Tested by

no test coverage detected