Ice Sheet System Model  4.18
Code documentation
KML_Point.h
Go to the documentation of this file.
1 
5 #ifndef _KML_POINT_H_
6 #define _KML_POINT_H_
7 
8 #define KML_POINT_ALTMODE_LENGTH 18
9 
10 /*Headers:*/
11 /*{{{*/
12 #include "../shared/shared.h"
13 #include "./KML_Geometry.h"
14 /*}}}*/
15 
16 class KML_Point: public KML_Geometry {
17 
18  public:
19 
20  bool extrude;
22  double coords[3];
23 
24  /*KML_Point constructors, destructors {{{*/
25  KML_Point();
26  ~KML_Point();
27  /*}}}*/
28  /*Object virtual functions definitions:{{{*/
29  void Echo();
30  void DeepEcho();
31  void DeepEcho(const char* indent);
32  void Write(FILE* fid,const char* indent);
33  void Read(FILE* fid,char* kstr);
34  void WriteExp(FILE* fid,const char* nstr,int sgn,double cm,double sp);
35  int Id(){_error_("Not implemented yet.");};
36  int ObjectEnum(){_error_("Not implemented yet.");};
37  Object* copy(){_error_("Not implemented yet.");};
38  void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction){ _error_("not implemented yet!");};
39  /*}}}*/
40 
41 };
42 #endif /* _KML_POINT_H */
KML_Point::KML_Point
KML_Point()
Definition: KML_Point.cpp:19
KML_Point::Marshall
void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
Definition: KML_Point.h:38
KML_Point::Echo
void Echo()
Definition: KML_Point.cpp:38
KML_Point::copy
Object * copy()
Definition: KML_Point.h:37
KML_Point::extrude
bool extrude
Definition: KML_Point.h:20
KML_Point::coords
double coords[3]
Definition: KML_Point.h:22
KML_POINT_ALTMODE_LENGTH
#define KML_POINT_ALTMODE_LENGTH
Definition: KML_Point.h:8
KML_Point::DeepEcho
void DeepEcho()
Definition: KML_Point.cpp:52
KML_Point::ObjectEnum
int ObjectEnum()
Definition: KML_Point.h:36
KML_Point::altmode
char altmode[KML_POINT_ALTMODE_LENGTH+1]
Definition: KML_Point.h:21
Object
Definition: Object.h:13
KML_Point::Id
int Id()
Definition: KML_Point.h:35
KML_Geometry
Definition: KML_Geometry.h:14
KML_Point
Definition: KML_Point.h:16
KML_Point::Read
void Read(FILE *fid, char *kstr)
Definition: KML_Point.cpp:94
KML_Point::Write
void Write(FILE *fid, const char *indent)
Definition: KML_Point.cpp:75
_error_
#define _error_(StreamArgs)
Definition: exceptions.h:49
KML_Geometry.h
: header file for kml_geometry abstract object
KML_Point::~KML_Point
~KML_Point()
Definition: KML_Point.cpp:30
KML_Point::WriteExp
void WriteExp(FILE *fid, const char *nstr, int sgn, double cm, double sp)
Definition: KML_Point.cpp:141