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

Function getDouble

mapfile.c:222–230  ·  view source on GitHub ↗

** Load a floating point number from the map file. (see lexer.l) */

Source from the content-addressed store, hash-verified

220** Load a floating point number from the map file. (see lexer.l)
221*/
222int getDouble(double *d) {
223 if(msyylex() == MS_NUMBER) {
224 *d = msyynumber;
225 return(0); /* success */
226 }
227
228 msSetError(MS_SYMERR, "Parsing error near (%s):(line %d)", "getDouble()", msyystring_buffer, msyylineno);
229 return(-1);
230}
231
232/*
233** Load a integer from the map file. (see lexer.l)

Callers 12

loadFeaturePointsFunction · 0.85
loadGridFunction · 0.85
loadLabelFunction · 0.85
loadClusterFunction · 0.85
loadStyleFunction · 0.85
loadClassFunction · 0.85
loadLayerFunction · 0.85
loadReferenceMapFunction · 0.85
loadWebFunction · 0.85
loadMapInternalFunction · 0.85
msUpdateMapFromURLFunction · 0.85
loadSymbolFunction · 0.85

Calls 1

msSetErrorFunction · 0.85

Tested by

no test coverage detected