Main Page Class Hierarchy Compound List File List Compound Members

# Info.h

    00001 #ifndef INFO_H
    00002 #define INFO_H
    00003
    00004 #include "global.h"
    00005
    00012 //Date created - 27 May 2002
    00013 class Info {
    00014
    00015         public:
    00019                 Info();
    00020
    00024                 ~Info();
    00025
    00029                 Info operator=(const Info &i);
    00030
    00034                 Info(const Info &i);
    00035
    00036                 int setValue(char * infoValue, int * status);
    00037                 int setID(char * infoID, int * status);
    00038                 int setName(char * infoName, int * status);
    00039                 int setPCData(char * pcdata, int * status);
    00040
    00044                 int getValue(char * &infovalue, int * status);
    00045
    00049                 int getID(char * &infoID, int * status);
    00050
    00054                 int getName(char * &infoName, int * status);
    00055
    00056                 /*
    00057                 * Gets the 'PCDATA'.
    00058                 */
    00059                 int getPCData(char * &pcdata, int * status);
    00060
    00061
    00062         private:
    00063                 char * m_ID;
    00064                 char * m_name;
    00065                 char * m_infoValue;
    00066                 char * m_pcdata;
    00067
    00068
    00069                 void cleanup();
    00070                 void makecopy(const Info &r);
    00071                 void init(void);
    00072
    00073 };
    00074
    00075 #endif