Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

OptString.h

Go to the documentation of this file.
00001 /*
00002  * Dibbler - a portable DHCPv6
00003  *
00004  * authors: Tomasz Mrugalski <thomson@klub.com.pl>
00005  *          Marek Senderski <msend@o2.pl>
00006  *
00007  * released under GNU GPL v2 licence
00008  *
00009  * $Id: OptString.h,v 1.1 2004/11/02 01:23:13 thomson Exp $
00010  *
00011  * $Log: OptString.h,v $
00012  * Revision 1.1  2004/11/02 01:23:13  thomson
00013  * Initial revision
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 

Generated on Mon Dec 27 21:55:22 2004 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1