 |
Ice Sheet System Model
4.18
Code documentation
|
Go to the documentation of this file.
10 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
15 #include "../shared/shared.h"
58 if(flag)
_printf0_(indent <<
"KML_LineStyle:\n");
68 fprintf(filout,
"%s<LineStyle",indent);
70 fprintf(filout,
">\n");
75 fprintf(filout,
"%s <width>%g</width>\n",indent,
width);
77 fprintf(filout,
"%s</LineStyle>\n",indent);
97 if (!strncmp(kstri,
"</LineStyle",11)) {
101 else if (!strncmp(kstri,
"</",2))
102 {
_error_(
"KML_LineStyle::Read -- Unexpected closing tag " << kstri <<
".\n");}
103 else if (strncmp(kstri,
"<",1))
104 {
_error_(
"KML_LineStyle::Read -- Unexpected field \"" << kstri <<
"\".\n");}
106 else if (!strcmp(kstri,
"<width>"))
111 else if (!strncmp(kstri,
"<",1))
114 xDelete<char>(kstri);
119 for(ncom=ncom; ncom>0; ncom--)
120 xDelete<char>(pcom[ncom-1]);
121 xDelete<char*>(pcom);
#define _printf0_(StreamArgs)
virtual void WriteAttrib(FILE *fid, const char *indent)
void Write(FILE *fid, const char *indent)
: header file for kml file reading utilities.
int KMLFileTagAttrib(KML_Object *kobj, char *ktag)
void Read(FILE *fid, char *kstr)
char * KMLFileToken(FILE *fid, int *pncom=NULL, char ***ppcom=NULL)
: header file for kml_linestyle object
int KMLFileTokenParse(int *pival, char *ktag, FILE *fid)
void Read(FILE *fid, char *kstr)
#define _error_(StreamArgs)
void Write(FILE *fid, const char *indent)
virtual void AddCommnt(int ncom, char **pcom)
virtual void WriteCommnt(FILE *fid, const char *indent)