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

Function writeWeb

mapfile.c:4835–4860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4833}
4834
4835static void writeWeb(FILE *stream, int indent, webObj *web)
4836{
4837 indent++;
4838 writeBlockBegin(stream, indent, "WEB");
4839 writeString(stream, indent, "BROWSEFORMAT", "text/html", web->browseformat);
4840 writeString(stream, indent, "EMPTY", NULL, web->empty);
4841 writeString(stream, indent, "ERROR", NULL, web->error);
4842 writeExtent(stream, indent, "EXTENT", web->extent);
4843 writeString(stream, indent, "FOOTER", NULL, web->footer);
4844 writeString(stream, indent, "HEADER", NULL, web->header);
4845 writeString(stream, indent, "IMAGEPATH", "", web->imagepath);
4846 writeString(stream, indent, "TEMPPATH", NULL, web->temppath);
4847 writeString(stream, indent, "IMAGEURL", "", web->imageurl);
4848 writeString(stream, indent, "LEGENDFORMAT", "text/html", web->legendformat);
4849 writeString(stream, indent, "LOG", NULL, web->log);
4850 writeNumber(stream, indent, "MAXSCALEDENOM", -1, web->maxscaledenom);
4851 writeString(stream, indent, "MAXTEMPLATE", NULL, web->maxtemplate);
4852 writeHashTable(stream, indent, "METADATA", &(web->metadata));
4853 writeNumber(stream, indent, "MINSCALEDENOM", -1, web->minscaledenom);
4854 writeString(stream, indent, "MINTEMPLATE", NULL, web->mintemplate);
4855 writeString(stream, indent, "QUERYFORMAT", "text/html", web->queryformat);
4856 writeString(stream, indent, "TEMPLATE", NULL, web->template);
4857 writeHashTable(stream, indent, "VALIDATION", &(web->validation));
4858 writeBlockEnd(stream, indent, "WEB");
4859 writeLineFeed(stream);
4860}
4861
4862int loadWeb(webObj *web, mapObj *map)
4863{

Callers 1

msSaveMapFunction · 0.85

Calls 7

writeBlockBeginFunction · 0.85
writeStringFunction · 0.85
writeExtentFunction · 0.85
writeNumberFunction · 0.85
writeHashTableFunction · 0.85
writeBlockEndFunction · 0.85
writeLineFeedFunction · 0.85

Tested by

no test coverage detected