EHS Embedded HTTP Server  1.5.0.132
formvalue.h
00001 /* $Id: formvalue.h 66 2011-11-16 10:54:13Z felfert $
00002  *
00003  * EHS is a library for embedding HTTP(S) support into a C++ application
00004  *
00005  * Copyright (C) 2004 Zachary J. Hansen
00006  *
00007  * Code cleanup, new features and bugfixes: Copyright (C) 2010 Fritz Elfert
00008  *
00009  *    This library is free software; you can redistribute it and/or
00010  *    modify it under the terms of the GNU Lesser General Public
00011  *    License version 2.1 as published by the Free Software Foundation;
00012  *
00013  *    This library is distributed in the hope that it will be useful,
00014  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  *    Lesser General Public License for more details.
00017  *
00018  *    You should have received a copy of the GNU Lesser General Public
00019  *    License along with this library; if not, write to the Free Software
00020  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021  *
00022  *    This can be found in the 'COPYING' file.
00023  *
00024  */
00025 
00026 #ifndef FORMVALUE_H
00027 #define FORMVALUE_H
00028 
00029 #include <string>
00030 
00031 #include <ehstypes.h>
00032 #include <contentdisposition.h>
00033 
00039 class FormValue {
00040 
00041     public:
00042 
00044         StringMap m_oFormHeaders;
00045 
00047         ContentDisposition m_oContentDisposition; 
00048 
00050         std::string m_sBody; 
00051 
00053         FormValue();
00054 
00060         FormValue(std::string & irsBody, ContentDisposition & ioContentDisposition);
00061 
00063         FormValue(const FormValue & iroFormValue);
00064 
00066         virtual ~FormValue();
00067 };
00068 
00069 #endif // FORMVALUE_H