MCPcopy Create free account
hub / github.com/MapServer/MapServer / writeOutputformat

Function writeOutputformat

mapfile.c:4401–4411  ·  view source on GitHub ↗

** Write the output formats to file */

Source from the content-addressed store, hash-verified

4399** Write the output formats to file
4400*/
4401static void writeOutputformat(FILE *stream, int indent, mapObj *map)
4402{
4403 int i=0;
4404 if(!map->outputformat) return;
4405
4406 writeOutputformatobject(stream, indent, map->outputformat);
4407 for(i=0; i<map->numoutputformats; i++) {
4408 if(map->outputformatlist[i]->inmapfile == MS_TRUE && strcmp(map->outputformatlist[i]->driver, map->outputformat->driver) != 0)
4409 writeOutputformatobject(stream, indent, map->outputformatlist[i]);
4410 }
4411}
4412
4413/*
4414** Initialize, load and free a legendObj structure

Callers 1

msSaveMapFunction · 0.85

Calls 1

writeOutputformatobjectFunction · 0.85

Tested by

no test coverage detected