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

OptInteger4.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: OptInteger4.h,v 1.1 2004/11/02 01:23:13 thomson Exp $
00010  *
00011  * $Log: OptInteger4.h,v $
00012  * Revision 1.1  2004/11/02 01:23:13  thomson
00013  * Initial revision
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 

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