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

CGI_Interface2 Class Reference

#include <cgi_in2.H>

List of all members.


Detailed Description

Class facilitates input/output through CGI.


Public Member Functions

 CGI_Interface2 (char *, int)
 Constructor.
char * GetString (char *key)
 Get input parameter named 'key' as string.
int GetInt (char *key)
 Get input parameter named 'key' as integer.
float GetFloat (char *key)
 Get input parameter named 'key' as float.
int NumberOfKeys ()
 Get number of keys.
char * GetNextKey ()
 Call repeatedly to get all key names.
void BeginKey ()
 Reset GetNextKey.

Public Attributes

char * InputBuffer
 Stores all input.
int InputBufferLen
 Indicates maximum input buffer length.
char * keys [MAXKEYS]
 All keys (= field names).
char * values [MAXKEYS]
 Corresponding values.
int NumKeys
 Number of keys.
int KeyIndex
 Index for GetNextKey.


Constructor & Destructor Documentation

CGI_Interface2::CGI_Interface2 char *  ,
int 
 

Constructor.


Member Function Documentation

void CGI_Interface2::BeginKey  ) 
 

Reset GetNextKey.

float CGI_Interface2::GetFloat char *  key  ) 
 

Get input parameter named 'key' as float.

int CGI_Interface2::GetInt char *  key  ) 
 

Get input parameter named 'key' as integer.

char * CGI_Interface2::GetNextKey  ) 
 

Call repeatedly to get all key names.

char * CGI_Interface2::GetString char *  key  ) 
 

Get input parameter named 'key' as string.

int CGI_Interface2::NumberOfKeys  ) 
 

Get number of keys.


Member Data Documentation

char* CGI_Interface2::InputBuffer
 

Stores all input.

int CGI_Interface2::InputBufferLen
 

Indicates maximum input buffer length.

int CGI_Interface2::KeyIndex
 

Index for GetNextKey.

char* CGI_Interface2::keys[MAXKEYS]
 

All keys (= field names).

int CGI_Interface2::NumKeys
 

Number of keys.

char* CGI_Interface2::values[MAXKEYS]
 

Corresponding values.


The documentation for this class was generated from the following file:
Generated on Mon May 16 11:08:48 2005 for BikeQuest by  doxygen 1.4.0