 |
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!"
17 #include "../shared/shared.h"
94 if(flag)
_printf0_(indent <<
"KML_Style:\n");
97 memcpy(indent2,indent,(strlen(indent)+1)*
sizeof(
char));
132 fprintf(filout,
"%s<Style",indent);
134 fprintf(filout,
">\n");
139 memcpy(indent2,indent,(strlen(indent)+1)*
sizeof(
char));
156 fprintf(filout,
"%s</Style>\n",indent);
176 if (!strncmp(kstri,
"</Style", 7)) {
177 xDelete<char>(kstri);
180 else if (!strncmp(kstri,
"</",2))
181 {
_error_(
"KML_Style::Read -- Unexpected closing tag " << kstri <<
".\n");}
182 else if (strncmp(kstri,
"<",1))
183 {
_error_(
"KML_Style::Read -- Unexpected field \"" << kstri <<
"\".\n");}
195 else if (!strncmp(kstri,
"<LineStyle",10)) {
200 else if (!strncmp(kstri,
"<PolyStyle",10)) {
215 else if (!strncmp(kstri,
"<",1))
218 xDelete<char>(kstri);
223 for(ncom=ncom; ncom>0; ncom--)
224 xDelete<char>(pcom[ncom-1]);
225 xDelete<char*>(pcom);
#define _printf0_(StreamArgs)
virtual void WriteAttrib(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)
void Read(FILE *fid, char *kstr)
: header file for kml_linestyle object
: header file for kml_style object
: header file for kml_polystyle object
void Read(FILE *fid, char *kstr)
void Write(FILE *fid, const char *indent)
#define _error_(StreamArgs)
void Write(FILE *fid, const char *indent)
void Read(FILE *fid, char *kstr)
void Write(FILE *fid, const char *indent)
void Write(FILE *fid, const char *indent)
virtual void AddCommnt(int ncom, char **pcom)
virtual void WriteCommnt(FILE *fid, const char *indent)