Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

HttpTestPageCommand.cpp

Go to the documentation of this file.
00001 #ifdef TEST
00002 #include "headers.h"
00003 
00004 const string HttpTestPageCommand::httpTestPageCommandString = "httpTestPage";
00005 
00010 HttpTestPageCommand::HttpTestPageCommand(CommandProcessor* cp) :
00011     MetaCommand(cp) 
00012 {
00013 }
00014 
00015 
00016 void
00017 HttpTestPageCommand::getHtmlInterface(std::ostream&) {
00018 }
00019 
00020 
00021 string 
00022 HttpTestPageCommand::getCommandString() {
00023     return httpTestPageCommandString;
00024 }
00025 
00026 
00027 void
00028 HttpTestPageCommand::run(std::ostream& s) {
00029     s << "<h1>Peekabooty Testing Interface</h1>\n";
00030     vector<Command*> commandList = m_commandProcessor->getCommandList();
00031     vector<Command*>::const_iterator commandIterator;
00032 
00033     for (commandIterator = commandList.begin(); commandIterator < commandList.end(); ++commandIterator) {
00034         (*commandIterator)->getHtmlInterface(s);
00035     }
00036 }
00037 
00038 #endif
00039 
00040 

Generated at Thu Jul 11 13:31:50 2002 for Peekabooty by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001