tnt::Component Class Reference

#include <tnt/component.h>

Inheritance diagram for tnt::Component:
tnt::EcppComponent tnt::EcppSubComponent tnt::MbComponent

Public Member Functions

virtual ~Component ()
virtual unsigned topCall (HttpRequest &request, HttpReply &reply, tnt::QueryParams &qparam)
virtual unsigned operator() (HttpRequest &request, HttpReply &reply, tnt::QueryParams &qparam)
virtual unsigned endTag (HttpRequest &request, HttpReply &reply, tnt::QueryParams &qparam)
virtual std::string getAttribute (const std::string &name, const std::string &def=std::string()) const
unsigned call (HttpRequest &request, HttpReply &reply, tnt::QueryParams &qparam)
 explicitly call operator() - sometimes more readable
unsigned call (HttpRequest &request, HttpReply &reply)
 call component without parameters
std::string scall (HttpRequest &request, tnt::QueryParams &qparam)
 return output as a string rather than outputting to stream
std::string scall (HttpRequest &request)
 return output as a string rather than outputting to stream without query-parameters

Constructor & Destructor Documentation

virtual tnt::Component::~Component ( )
inlinevirtual

Member Function Documentation

unsigned tnt::Component::call ( HttpRequest request,
HttpReply reply,
tnt::QueryParams qparam 
)
inline

explicitly call operator() - sometimes more readable

unsigned tnt::Component::call ( HttpRequest request,
HttpReply reply 
)

call component without parameters

virtual unsigned tnt::Component::endTag ( HttpRequest request,
HttpReply reply,
tnt::QueryParams qparam 
)
virtual
virtual std::string tnt::Component::getAttribute ( const std::string &  name,
const std::string &  def = std::string() 
) const
virtual
virtual unsigned tnt::Component::operator() ( HttpRequest request,
HttpReply reply,
tnt::QueryParams qparam 
)
virtual

Reimplemented in tnt::MbComponent.

std::string tnt::Component::scall ( HttpRequest request,
tnt::QueryParams qparam 
)

return output as a string rather than outputting to stream

std::string tnt::Component::scall ( HttpRequest request)

return output as a string rather than outputting to stream without query-parameters

virtual unsigned tnt::Component::topCall ( HttpRequest request,
HttpReply reply,
tnt::QueryParams qparam 
)
virtual

Reimplemented in tnt::MbComponent.


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