#include <cgi.h>
Public Types | |
| typedef std::vector< std::string > | identifierlist |
Public Member Functions | |
| cgi () | |
| ~cgi () | |
| const std::string & | libver () |
| Get the cgixx library version string. | |
| unsigned | count (const std::string &id) const |
| Get count of a variable. | |
| bool | exists (const std::string &id) |
| Check if a variable exists. | |
| bool | get (const std::string &id, std::string &value) |
| Get next available value of a variable. | |
| void | getvariablelist (identifierlist &idlist) const |
| Get list of variable identifiers. | |
| unsigned | countcookie (const std::string &id) const |
| Get count of a cookie. | |
| bool | cookieexists (const std::string &id) |
| Check if a cookie exists. | |
| bool | getcookie (const std::string &id, std::string &value) |
| Get next available value of a cookie. | |
| void | getcookielist (identifierlist &idlist) const |
| Get list of cookie identifiers. | |
| bool | getheader (headers hid, std::string ©) const |
| Get the specified header. | |
| methods | getmethod () const |
| Get the request method. | |
|
|
Construct an instance of cgi. |
|
|
Destruct *this instance of cgi. |
|
|
Check if a cookie exists. Check whether the specified cookie exists. This result is affected by calls to getcookie.
|
|
|
Get count of a variable. Get the count of values for the CGI variable with the specified id. This count is decremented with each call to get.
|
|
|
Get count of a cookie. Get the count of values for the cookie with the specified id. This count is decremented with each call to getcookie.
|
|
|
Check if a variable exists. Check whether the specified variable exists. This result is affected by calls to get.
|
|
||||||||||||
|
Get next available value of a variable. Get the next value of the CGI variable with the specified id. Once a value has been retrieved, that value is removed, and the next value, if any, is will be available on the next call to get.
|
|
||||||||||||
|
Get next available value of a cookie. Get the next value of the cookie with the specified id. Once a cookie has been retrieved, that value is removed, and the next value, if any, is made available.
|
|
|
Get list of cookie identifiers. Get the list of cookie identifiers. If all values for a cookie are retrieved using get, the associated cookie identifier will not be returned by getcookielist.
|
|
||||||||||||
|
Get the specified header. Copy the value of the specified variable into the specified string. If an invalud header is specified, getheader returns true.
|
|
|
Get the request method. Get the method of the request in the form of an enumerated id.
|
|
|
Get list of variable identifiers. Get the list of variable identifiers. If all values for a variable are retrieved using get, the associated variable identifier will not be returned by getvariablelist.
|
|
|
Get the cgixx library version string. Get the cgixx library version string.
|
1.3.3