Bootstrap Class Reference

#include <Bootstrap.h>

Collaboration diagram for Bootstrap:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Bootstrap ()
 ~Bootstrap ()
void run ()


Constructor & Destructor Documentation

Bootstrap::Bootstrap (  ) 

00022                     {
00023    
00024    /* Get Registry instance */
00025    reg = Registry::getInstance();
00026    
00027    /* Register Apache Request object */
00028    reg->set("apr", &apr);
00029 
00030    //Request * test = static_cast<Request *> (reg->get("apr"));
00031 }

Here is the call graph for this function:

Bootstrap::~Bootstrap (  ) 

00033                      {
00034 
00035 }


Member Function Documentation

void Bootstrap::run (  ) 

00037                    {
00038 
00039    View view;
00040    view.htmlTemplate = "index.html";
00041 
00042    apr.setParam("testAAA", "bbbb");
00043    apr.dumpParams();
00044 
00045    //std::string param = apr.param("testAAAasdsd");
00046    //vector <string> params = apr.allParams("test1asdsd");
00047 
00048    view.show();
00049 }

Here is the call graph for this function:


The documentation for this class was generated from the following files:

Generated on Wed Dec 23 14:15:05 2009 for CPPFrame by  doxygen 1.5.8