 |
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"
56 if(flag)
_printf0_(indent <<
"KML_Folder:\n");
64 fprintf(filout,
"%s<Folder",indent);
66 fprintf(filout,
">\n");
71 fprintf(filout,
"%s</Folder>\n",indent);
91 if (!strncmp(kstri,
"</Folder", 8)) {
95 else if (!strncmp(kstri,
"</",2))
96 {
_error_(
"KML_Folder::Read -- Unexpected closing tag " << kstri <<
".\n");}
97 else if (strncmp(kstri,
"<",1))
98 {
_error_(
"KML_Folder::Read -- Unexpected field \"" << kstri <<
"\".\n");}
100 else if (!strncmp(kstri,
"<",1))
103 xDelete<char>(kstri);
108 for (ncom=ncom; ncom>0; ncom--) xDelete<char>(pcom[ncom-1]);
109 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)
: header file for kml_folder object
void Read(FILE *fid, char *kstr)
char * KMLFileToken(FILE *fid, int *pncom=NULL, char ***ppcom=NULL)
void Write(FILE *fid, const char *indent)
void Read(FILE *fid, char *kstr)
#define _error_(StreamArgs)
virtual void AddCommnt(int ncom, char **pcom)
virtual void WriteCommnt(FILE *fid, const char *indent)
void Write(FILE *fid, const char *indent)