 |
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"
57 if(flag)
_printf0_(indent <<
"KML_File:\n");
65 fprintf(filout,
"%s<kml",indent);
67 fprintf(filout,
">\n");
72 fprintf(filout,
"%s</kml>\n",indent);
92 if (!strncmp(kstri,
"</kml", 5)) {
96 else if (!strncmp(kstri,
"</",2))
97 {
_error_(
"KML_File::Read -- Unexpected closing tag " << kstri <<
".");}
98 else if (strncmp(kstri,
"<",1))
99 {
_error_(
"KML_File::Read -- Unexpected field \"" << kstri <<
"\"");}
101 else if (!strncmp(kstri,
"<",1))
104 xDelete<char>(kstri);
109 for(; ncom>0; ncom--) xDelete<char>(pcom[ncom-1]);
110 xDelete<char*>(pcom);
void WriteExp(FILE *fid, const char *nstr, int sgn, double cm, double sp)
: header file for kml_object abstract object
#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 Write(FILE *fid, const char *indent)
virtual void Read(FILE *fid, char *kstr)=0
char * KMLFileToken(FILE *fid, int *pncom=NULL, char ***ppcom=NULL)
: header file for kml_file object
virtual void Write(FILE *fid, const char *indent)=0
void Read(FILE *fid, char *kstr)
#define _error_(StreamArgs)
Object * GetObjectByOffset(int offset)
virtual void AddCommnt(int ncom, char **pcom)
virtual void WriteCommnt(FILE *fid, const char *indent)