Main Page Class Hierarchy Compound List File List Compound Members

# Range.h

    00001 #ifndef RANGE_H
    00002 #define RANGE_H
    00003
    00004 #include "global.h"
    00005
    00011 //Date created - 05 May 2002
    00012
    00013 class Range {
    00014
    00015         public:
    00019                 Range();
    00020
    00021                 //Range(char * rangevalue, bool inclusive);
    00022
    00026                 ~Range();
    00027
    00031                 Range operator=(const Range &o);
    00032
    00036                 Range(const Range &o);
    00037
    00038                 int setValue(char * rangeValue, int * status);
    00039                 int setPCData(char * pcdata, int * status);
    00040                 int setInclusiveFlag(bool inclusive, int * status);
    00041
    00045                 int getValue(char * &rangevalue, int * status);
    00046
    00050                 int isInclusive(bool &inclusive, int * status);
    00051
    00055                 int Range::getPCData(char * &pcdata, int * status);
    00056
    00057         private:
    00058                 char * m_rangeValue;
    00059                 bool m_inclusive;
    00060                 char * m_pcdata;
    00061
    00062                 void cleanup();
    00063                 void makecopy(const Range &r);
    00064                 void init(void);
    00065
    00066 };
    00067
    00068 #endif