1 | /*! \file KML_Feature.h
|
---|
2 | * \brief: header file for kml_feature abstract object
|
---|
3 | */
|
---|
4 |
|
---|
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 "../../include/include.h"
|
---|
16 | #include "../../shared/Exceptions/exceptions.h"
|
---|
17 | #include "../../EnumDefinitions/EnumDefinitions.h"
|
---|
18 |
|
---|
19 | #include "./KML_Object.h"
|
---|
20 | class KML_Style;
|
---|
21 | class DataSet;
|
---|
22 | /*}}}*/
|
---|
23 |
|
---|
24 | class KML_Feature: public KML_Object {
|
---|
25 |
|
---|
26 | public:
|
---|
27 |
|
---|
28 | char name[KML_FEATURE_NAME_LENGTH+1];
|
---|
29 | bool visibility;
|
---|
30 | bool open;
|
---|
31 | char snippet[KML_FEATURE_SNIPPET_LENGTH+1];
|
---|
32 | char descript[KML_FEATURE_DESCRIPT_LENGTH+1];
|
---|
33 | char styleurl[KML_FEATURE_STYLEURL_LENGTH+1];
|
---|
34 | DataSet* style;
|
---|
35 |
|
---|
36 | /*KML_Feature constructors, destructors {{{*/
|
---|
37 | KML_Feature();
|
---|
38 | ~KML_Feature();
|
---|
39 | /*}}}*/
|
---|
40 | /*Object virtual functions definitions:{{{*/
|
---|
41 | void Echo();
|
---|
42 | void DeepEcho();
|
---|
43 | void DeepEcho(const char* indent);
|
---|
44 | void Write(FILE* fid,const char* indent);
|
---|
45 | void Read(FILE* fid,char* kstr);
|
---|
46 | int Id(){_error2_("Not implemented yet.");};
|
---|
47 | int MyRank(){_error2_("Not implemented yet.");};
|
---|
48 | void Marshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
|
---|
49 | int MarshallSize(){_error2_("Not implemented yet.");};
|
---|
50 | void Demarshall(char** pmarshalled_dataset){_error2_("Not implemented yet.");};
|
---|
51 | int ObjectEnum(){_error2_("Not implemented yet.");};
|
---|
52 | Object* copy(){_error2_("Not implemented yet.");};
|
---|
53 | /*}}}*/
|
---|
54 |
|
---|
55 | };
|
---|
56 | #endif /* _KML_FEATURE_H */
|
---|
57 |
|
---|