Main Page | Namespace List | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

NEnvironment.cp File Reference

Methods to provide access to environment variables associated with a CGI request. More...

#include <NCapture.h>
#include <NEnvironment.h>

Include dependency graph for NEnvironment.cp:

Include dependency graph

Go to the source code of this file.

Defines

#define MW_CGI   monsterworks::cgi
 shorten our common namespace while allowing doxygen to work correctly
#define KEYS_INSERT(theKey, theString)   ourKeyStrings.insert(pair<NEnvironment::EKeys,string>(NEnvironment::EKey_##theKey, theString));

Functions

void NEnvironmentInitialize ()
 This method initializes the NEnvironment namespace.
void NEnvironmentInitialize ()

Variables

monsterworks::cgi::NEnvironment::Variables ourKeyStrings
 contains the mapping of EKeys to variable name


Detailed Description

Methods to provide access to environment variables associated with a CGI request.

Author
eeyore
Date
2004/03/04 23:25:23

Copyright (c) 2004 eeyore@monsterworks.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2.

This program is distributed in the hope that it wil be found useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MECHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Gnu Public License in the documentation or read the source of MonsterworksCopyright.h.

You should have received a copy of the GNU General Public Licence along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307 USA.

Definition in file NEnvironment.cp.


Define Documentation

#define KEYS_INSERT theKey,
theString   )     ourKeyStrings.insert(pair<NEnvironment::EKeys,string>(NEnvironment::EKey_##theKey, theString));
 

Referenced by NEnvironmentInitialize().

#define MW_CGI   monsterworks::cgi
 

shorten our common namespace while allowing doxygen to work correctly

Definition at line 25 of file NEnvironment.cp.


Function Documentation

void NEnvironmentInitialize  )  [static]
 

This method should be the first method called in any NEnvironment method. It returns immediately if NEnvironment has already been initialized.

This makes things a little easier to read and write. Definition at line 119 of file NEnvironment.cp.

References KEYS_INSERT.

void NEnvironmentInitialize  )  [static]
 

This method initializes the NEnvironment namespace.

Referenced by monsterworks::cgi::NEnvironment::GetValue(), monsterworks::cgi::NEnvironment::GetVariables(), monsterworks::cgi::NEnvironment::IsGetMethod(), and monsterworks::cgi::NEnvironment::IsPostMethod().


Variable Documentation

monsterworks::cgi ::NEnvironment::Variables ourKeyStrings [static]
 

contains the mapping of EKeys to variable name

Definition at line 38 of file NEnvironment.cp.

Referenced by monsterworks::cgi::NEnvironment::GetValue(), and monsterworks::cgi::NEnvironment::GetVariables().


monsterworks Code by Monsterworks. Made available under the GNU Public License.
Documentation by doxygen.