Main Page Class Hierarchy Compound List File List Compound Members

# alias.h

    00001 /*
    00002 Program ALIAS.H
    00003 Purpose Alias definition
    00004 Programmer      Raymond Heukers
    00005 Last Update     02-05-1997
    00006 */
    00007
    00008 #ifndef ALIAS_H
    00009 #define ALIAS_H
    00010
    00011 #ifdef __GNUG__
    00012     #pragma interface "alias.h"
    00013 #endif
    00014
    00015 #include <string.h>
    00016 #include <stdlib.h>
    00017
    00018 #include "_lnk_itr.h"
    00019 #include "wx/string.h"
    00020
    00021 class Alias
    00022 {
    00023         public:
    00024                 // Constructor / Destructor
    00025                 Alias();
    00026                 Alias(const wxString& name,const wxString& value);
    00027                 ~Alias();
    00028
    00029                 //      Memberfunctions
    00030                 const wxString&  GetAlias();
    00031                 const wxString&  GetValue();
    00032                 void                     SetAlias(const wxString& name);
    00033                 void                     SetValue(const wxString& name);
    00034
    00035                 Alias*           operator=(Alias*);
    00036
    00037         protected:
    00038                 wxString         _alias;
    00039                 wxString         _value;
    00040 };
    00041
    00042
    00043 class AliasList:        public DL_List<void*>
    00044 {
    00045         public:
    00046                                 AliasList();
    00047                                 ~AliasList();
    00048         bool             GetAliasNr(int i,wxString& name,wxString& value);
    00049    bool         GetAlias(const wxString& name,wxString& value);
    00050    bool         SetAlias(const wxString& name,const wxString& value);
    00051 };
    00052 #endif
    00053

alias.h Source File -- Thu Nov 28 21:24:55 2002 -- 28 Nov 2002 -- 1.2.18 -- -- . -- Main Page