Ice Sheet System Model  4.18
Code documentation
KML_Comment.h
Go to the documentation of this file.
1 
5 #ifndef _KML_COMMENT_H_
6 #define _KML_COMMENT_H_
7 
8 /*Headers:{{{*/
9 #include "../shared/shared.h"
10 #include "../datastructures/datastructures.h"
11 class DataSet;
12 /*}}}*/
13 
14 class KML_Comment: public Object {
15 
16  public:
17 
18  char* name;
19  char* value;
20 
21  /*KML_Comment constructors, destructors {{{*/
22  KML_Comment();
23  ~KML_Comment();
24  /*}}}*/
25  /*Object virtual functions definitions:{{{*/
26  virtual void Echo();
27  virtual void DeepEcho();
28  virtual void DeepEcho(const char* indent);
29  int Id(){_error_("Not implemented yet.");};
30  int ObjectEnum(){_error_("Not implemented yet.");};
31  Object* copy(){_error_("Not implemented yet.");};
32  void Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction){ _error_("not implemented yet!");};
33  /*}}}*/
34 
35  /*virtual functions: */
36  void Write(FILE* fid,const char* indent);
37  void Read(FILE* fid,char* kstr);
38  void Alloc(const char* valuei);
39  void Add(DataSet* commnt);
40  void Get(char** pvalueo);
41 
42 };
43 #endif /* _KML_COMMENT_H */
KML_Comment::ObjectEnum
int ObjectEnum()
Definition: KML_Comment.h:30
KML_Comment::Get
void Get(char **pvalueo)
Definition: KML_Comment.cpp:96
KML_Comment::name
char * name
Definition: KML_Comment.h:18
KML_Comment::Write
void Write(FILE *fid, const char *indent)
Definition: KML_Comment.cpp:61
KML_Comment::Marshall
void Marshall(char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
Definition: KML_Comment.h:32
KML_Comment::DeepEcho
virtual void DeepEcho()
Definition: KML_Comment.cpp:42
KML_Comment::value
char * value
Definition: KML_Comment.h:19
KML_Comment::KML_Comment
KML_Comment()
Definition: KML_Comment.cpp:18
KML_Comment::Alloc
void Alloc(const char *valuei)
Definition: KML_Comment.cpp:81
Object
Definition: Object.h:13
KML_Comment::Echo
virtual void Echo()
Definition: KML_Comment.cpp:32
KML_Comment::Add
void Add(DataSet *commnt)
Definition: KML_Comment.cpp:89
KML_Comment::Read
void Read(FILE *fid, char *kstr)
Definition: KML_Comment.cpp:72
KML_Comment::copy
Object * copy()
Definition: KML_Comment.h:31
_error_
#define _error_(StreamArgs)
Definition: exceptions.h:49
DataSet
Declaration of DataSet class.
Definition: DataSet.h:14
KML_Comment
Definition: KML_Comment.h:14
KML_Comment::Id
int Id()
Definition: KML_Comment.h:29
KML_Comment::~KML_Comment
~KML_Comment()
Definition: KML_Comment.cpp:24