00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef OPTINTEGER4_H
00018 #define OPTINTEGER4_H
00019 #include <iostream>
00020 #include <string>
00021
00022 #include "Opt.h"
00023
00024 using namespace std;
00025
00026 class TOptInteger4 : public TOpt
00027 {
00028 public:
00029 TOptInteger4(int type, unsigned int value, TMsg* parent);
00030 TOptInteger4(int type, char *&buf, int &bufsize, TMsg* parent);
00031 char * storeSelf( char* buf);
00032 int getSize();
00033 unsigned int getValue();
00034 bool isValid();
00035 protected:
00036 unsigned int Value;
00037 bool Valid;
00038 };
00039
00040 #endif
00041