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