xmltooling::TemplateEngine::TemplateParameters Class Reference

Interface to parameters to plug into templates. More...

#include <xmltooling/util/TemplateEngine.h>

List of all members.

Public Member Functions

virtual const char * getParameter (const char *name) const
 Returns the value of a parameter to plug into the template.

Public Attributes

std::map< std::string,
std::string > 
m_map
 Map of known parameters to supply to template.
const GenericRequestm_request
 Request from client that resulted in template being processed.


Detailed Description

Interface to parameters to plug into templates.

Allows callers to supply a more dynamic lookup mechanism to supplement a basic map.


Member Function Documentation

virtual const char* xmltooling::TemplateEngine::TemplateParameters::getParameter ( const char *  name  )  const [inline, virtual]

Returns the value of a parameter to plug into the template.

Parameters:
name name of parameter
Returns:
value of parameter, or NULL


Member Data Documentation

std::map<std::string,std::string> xmltooling::TemplateEngine::TemplateParameters::m_map

Map of known parameters to supply to template.

Request from client that resulted in template being processed.


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

Generated on Tue Oct 6 17:44:39 2009 for xmltooling by  doxygen 1.5.6