CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CgiReader.h
Go to the documentation of this file.
1 #ifndef _CgiInterface_h
2 #define _CgiReader_h
3 
4 #include <string>
5 
6 #include "xgi/Utils.h"
7 #include "xgi/Method.h"
8 
9 #include "cgicc/CgiDefs.h"
10 #include "cgicc/Cgicc.h"
11 #include "cgicc/FormEntry.h"
12 #include "cgicc/HTTPHTMLHeader.h"
13 #include "cgicc/HTTPRedirectHeader.h"
14 #include "cgicc/HTMLClasses.h"
15 
16 
17 class CgiReader
18 {
19  protected:
20 
21  std::string url;
22 
25 
26  public:
27 
29  {
30  in = the_in;
31  }
32 
34 
35  void read_form(std::multimap<std::string, std::string> &form_info);
36  std::string read_cookie(std::string name);
37 
38 };
39 
40 
41 #endif
#define Input(cl)
Definition: vmac.h:189
void read_form(std::multimap< std::string, std::string > &form_info)
Definition: CgiReader.cc:6
CgiReader(xgi::Input *the_in)
Definition: CgiReader.h:28
std::string read_cookie(std::string name)
Definition: CgiReader.cc:28
~CgiReader()
Definition: CgiReader.h:33
xgi::Input * in
Definition: CgiReader.h:23
#define Output(cl)
Definition: vmac.h:193
xgi::Output * out
Definition: CgiReader.h:24
std::string url
Definition: CgiReader.h:21