Ice Sheet System Model  4.18
Code documentation
KML_Feature.h
Go to the documentation of this file.
1 
5 #ifndef _KML_FEATURE_H_
6 #define _KML_FEATURE_H_
7 
8 #define KML_FEATURE_NAME_LENGTH 80
9 #define KML_FEATURE_SNIPPET_LENGTH 160
10 #define KML_FEATURE_DESCRIPT_LENGTH 3200
11 #define KML_FEATURE_STYLEURL_LENGTH 80
12 
13 /*Headers:*/
14 /*{{{*/
15 #include "../shared/shared.h"
16 #include "./KML_Object.h"
17 class KML_Style;
18 class DataSet;
19 /*}}}*/
20 
21 class KML_Feature: public KML_Object {
22 
23  public:
24 
26  bool visibility;
27  bool open;
32 
33  /*KML_Feature constructors, destructors {{{*/
34  KML_Feature();
35  ~KML_Feature();
36  /*}}}*/
37  /*Object virtual functions definitions:{{{*/
38  void Echo();
39  void DeepEcho();
40  void DeepEcho(const char* indent);
41  void Write(FILE* fid,const char* indent);
42  void Read(FILE* fid,char* kstr);
43  int Id(){_error_("Not implemented yet.");};
44  int ObjectEnum(){_error_("Not implemented yet.");};
45  Object* copy(){_error_("Not implemented yet.");};
46  void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction){ _error_("not implemented yet!");};
47  /*}}}*/
48 
49 };
50 #endif /* _KML_FEATURE_H */
KML_Object
Definition: KML_Object.h:13
KML_Object.h
: header file for kml_object abstract object
KML_Feature::name
char name[KML_FEATURE_NAME_LENGTH+1]
Definition: KML_Feature.h:25
KML_Feature::~KML_Feature
~KML_Feature()
Definition: KML_Feature.cpp:42
KML_Feature::ObjectEnum
int ObjectEnum()
Definition: KML_Feature.h:44
KML_Feature::style
DataSet * style
Definition: KML_Feature.h:31
KML_Feature::open
bool open
Definition: KML_Feature.h:27
KML_Feature
Definition: KML_Feature.h:21
KML_Feature::Id
int Id()
Definition: KML_Feature.h:43
Object
Definition: Object.h:13
KML_Feature::styleurl
char styleurl[KML_FEATURE_STYLEURL_LENGTH+1]
Definition: KML_Feature.h:30
KML_Feature::copy
Object * copy()
Definition: KML_Feature.h:45
KML_Style
Definition: KML_Style.h:16
KML_FEATURE_STYLEURL_LENGTH
#define KML_FEATURE_STYLEURL_LENGTH
Definition: KML_Feature.h:11
KML_Feature::snippet
char snippet[KML_FEATURE_SNIPPET_LENGTH+1]
Definition: KML_Feature.h:28
KML_Feature::DeepEcho
void DeepEcho()
Definition: KML_Feature.cpp:70
KML_Feature::Write
void Write(FILE *fid, const char *indent)
Definition: KML_Feature.cpp:111
KML_Feature::descript
char descript[KML_FEATURE_DESCRIPT_LENGTH+1]
Definition: KML_Feature.h:29
KML_FEATURE_NAME_LENGTH
#define KML_FEATURE_NAME_LENGTH
Definition: KML_Feature.h:8
KML_Feature::visibility
bool visibility
Definition: KML_Feature.h:26
_error_
#define _error_(StreamArgs)
Definition: exceptions.h:49
KML_FEATURE_DESCRIPT_LENGTH
#define KML_FEATURE_DESCRIPT_LENGTH
Definition: KML_Feature.h:10
KML_Feature::Marshall
void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
Definition: KML_Feature.h:46
KML_Feature::Echo
void Echo()
Definition: KML_Feature.cpp:53
DataSet
Declaration of DataSet class.
Definition: DataSet.h:14
KML_Feature::KML_Feature
KML_Feature()
Definition: KML_Feature.cpp:29
KML_FEATURE_SNIPPET_LENGTH
#define KML_FEATURE_SNIPPET_LENGTH
Definition: KML_Feature.h:9
KML_Feature::Read
void Read(FILE *fid, char *kstr)
Definition: KML_Feature.cpp:141