00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef PROP_H
00010 #define PROP_H
00011
00012 #ifdef __GNUG__
00013 #pragma interface
00014 #endif
00015
00016 #include <string.h>
00017 #include <stdlib.h>
00018
00019 #include "_lnk_itr.h"
00020
00021 class Property
00022 {
00023 public:
00024
00025 Property();
00026 Property(char* property,char* value,char* type);
00027 ~Property();
00028
00029
00030 char* GetName();
00031 char* GetValue();
00032 char* GetType();
00033 void SetName(char*);
00034 void SetValue(char*);
00035 void SetType(char*);
00036
00037 Property& operator=(Property&);
00038
00039 protected:
00040 char* _property;
00041 char* _value;
00042 char* _type;
00043 };
00044
00045
00046 class PropertyList: public DL_List<void*>
00047 {
00048 public:
00049 PropertyList();
00050 ~PropertyList();
00051 bool GetProperty(char* property, char** value,char** type);
00052 bool SetProperty(char* property, char* value,char* type);
00053 bool DeleteProperty(char* Propertyname);
00054 PropertyList& operator=(PropertyList&);
00055 };
00056
00057
00058
00059
00060
00061
00062
00063
00064 #endif
proper.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . --