proper.h Source File

Main Page Class Hierarchy Compound List File List Compound Members

# proper.h

    00001 /*
    00002
    00003 Program ALIAS.H
    00004 Purpose Alias definition
    00005 Programmer      Raymond Heukers
    00006 Last Update     02-05-1997
    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                 // Constructor / Destructor
    00025                 Property();
    00026                 Property(char* property,char* value,char* type);
    00027                 ~Property();
    00028
    00029                 //      Memberfunctions
    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 //#include <wx/list.h>
    00058 //#include "wx/prop.h"
    00059 //WX_DECLARE_LIST(wxPropertyValue,wxPropertyValues);
    00060
    00061 //#include <wx/listimpl.cpp>
    00062 //WX_DEFINE_LIST(wxPropertyValues);
    00063
    00064 #endif

proper.h Source File -- Thu Nov 28 21:24:56 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . -- Main Page