 |
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!"
16 #include "../shared/shared.h"
22 strcpy(
color ,
"ffffffff");
23 memcpy(
color,
"ffffffff",(strlen(
"ffffffff")+1)*
sizeof(
char));
63 memcpy(indent2,indent,(strlen(indent)+1)*
sizeof(
char));
80 memcpy(indent2,indent,(strlen(indent)+1)*
sizeof(
char));
85 fprintf(filout,
"%s <color>%s</color>\n",indent,
color);
86 fprintf(filout,
"%s <drawOrder>%d</drawOrder>\n",indent,
draword);
97 if (!strncmp(kstr,
"</Overlay", 9)) {
101 else if (!strncmp(kstr,
"</",2))
102 {
_error_(
"KML_Overlay::Read -- Unexpected closing tag " << kstr <<
".\n");}
103 else if (strncmp(kstr,
"<",1))
104 {
_error_(
"KML_Overlay::Read -- Unexpected field \"" << kstr <<
"\".\n");}
106 else if (!strcmp(kstr,
"<color>"))
110 else if (!strcmp(kstr,
"<drawOrder>"))
115 else if (!strncmp(kstr,
"<Icon", 5)) {
120 else if (!strncmp(kstr,
"<",1))
char color[KML_OVERLAY_COLOR_LENGTH+1]
#define _printf0_(StreamArgs)
#define KML_OVERLAY_COLOR_LENGTH
void Write(FILE *fid, const char *indent)
: header file for kml file reading utilities.
: header file for kml_overlay abstract object
: header file for kml_icon object
void Read(FILE *fid, char *kstr)
void Read(FILE *fid, char *kstr)
int KMLFileTokenParse(int *pival, char *ktag, FILE *fid)
void Write(FILE *fid, const char *indent)
#define _error_(StreamArgs)
void Write(FILE *fid, const char *indent)
void Read(FILE *fid, char *kstr)