#include <KML_PolyStyle.h>
|
| KML_PolyStyle () |
|
| ~KML_PolyStyle () |
|
void | Echo () |
|
void | DeepEcho () |
|
void | DeepEcho (const char *indent) |
|
void | Write (FILE *fid, const char *indent) |
|
void | Read (FILE *fid, char *kstr) |
|
int | Id () |
|
int | ObjectEnum () |
|
Object * | copy () |
|
void | Marshall (char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction) |
|
| KML_ColorStyle () |
|
| ~KML_ColorStyle () |
|
void | Demarshall (char **pmarshalled_dataset) |
|
| KML_SubStyle () |
|
| ~KML_SubStyle () |
|
void | Echo () |
|
void | DeepEcho () |
|
void | DeepEcho (const char *indent) |
|
void | Write (FILE *fid, const char *indent) |
|
void | Read (FILE *fid, char *kstr) |
|
int | Id () |
|
int | ObjectEnum () |
|
Object * | copy () |
|
void | Marshall (char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction) |
|
| KML_Object () |
|
| ~KML_Object () |
|
virtual void | WriteExp (FILE *fid, const char *nstr, int sgn, double cm, double sp) |
|
virtual void | AddAttrib (const char *name, const char *value) |
|
virtual void | WriteAttrib (FILE *fid, const char *indent) |
|
virtual void | AddCommnt (int ncom, char **pcom) |
|
virtual void | AddCommnt (char *value) |
|
virtual void | WriteCommnt (FILE *fid, const char *indent) |
|
virtual | ~Object () |
|
Definition at line 14 of file KML_PolyStyle.h.
◆ KML_PolyStyle()
KML_PolyStyle::KML_PolyStyle |
( |
| ) |
|
◆ ~KML_PolyStyle()
KML_PolyStyle::~KML_PolyStyle |
( |
| ) |
|
◆ Echo()
void KML_PolyStyle::Echo |
( |
void |
| ) |
|
|
virtual |
◆ DeepEcho() [1/2]
void KML_PolyStyle::DeepEcho |
( |
void |
| ) |
|
|
virtual |
◆ DeepEcho() [2/2]
void KML_PolyStyle::DeepEcho |
( |
const char * |
indent | ) |
|
|
virtual |
◆ Write()
void KML_PolyStyle::Write |
( |
FILE * |
fid, |
|
|
const char * |
indent |
|
) |
| |
|
virtual |
Reimplemented from KML_ColorStyle.
Definition at line 71 of file KML_PolyStyle.cpp.
73 fprintf(filout,
"%s<PolyStyle",indent);
75 fprintf(filout,
">\n");
80 fprintf(filout,
"%s <fill>%d</fill>\n",indent,
fill);
81 fprintf(filout,
"%s <outline>%d</outline>\n",indent,
outline);
83 fprintf(filout,
"%s</PolyStyle>\n",indent);
◆ Read()
void KML_PolyStyle::Read |
( |
FILE * |
fid, |
|
|
char * |
kstr |
|
) |
| |
|
virtual |
Reimplemented from KML_ColorStyle.
Definition at line 88 of file KML_PolyStyle.cpp.
103 if (!strncmp(kstri,
"</PolyStyle",11)) {
104 xDelete<char>(kstri);
107 else if (!strncmp(kstri,
"</",2))
108 {
_error_(
"KML_PolyStyle::Read -- Unexpected closing tag " << kstri <<
".\n");}
109 else if (strncmp(kstri,
"<",1))
110 {
_error_(
"KML_PolyStyle::Read -- Unexpected field \"" << kstri <<
"\".\n");}
112 else if (!strcmp(kstri,
"<fill>"))
116 else if (!strcmp(kstri,
"<outline>"))
121 else if (!strncmp(kstri,
"<",1))
124 xDelete<char>(kstri);
129 for(ncom=ncom; ncom>0; ncom--)
130 xDelete<char>(pcom[ncom-1]);
131 xDelete<char*>(pcom);
◆ Id()
int KML_PolyStyle::Id |
( |
void |
| ) |
|
|
inlinevirtual |
◆ ObjectEnum()
int KML_PolyStyle::ObjectEnum |
( |
void |
| ) |
|
|
inlinevirtual |
◆ copy()
Object* KML_PolyStyle::copy |
( |
void |
| ) |
|
|
inlinevirtual |
◆ Marshall()
void KML_PolyStyle::Marshall |
( |
char ** |
pmarshalled_data, |
|
|
int * |
pmarshalled_data_size, |
|
|
int |
marshall_direction |
|
) |
| |
|
inlinevirtual |
◆ fill
◆ outline
int KML_PolyStyle::outline |
The documentation for this class was generated from the following files: