#include <ulxr_htmlform_handler.h>
Inheritance diagram for ulxr::hidden::SubResource< T >:


Public Types | |
| typedef CppString(T::*) | PMF (const HtmlFormData &formdata, CppString &mimetype) |
| A handler for a html request. | |
Public Member Functions | |
| SubResource (const CppString &in_name, T *in_obj, PMF in_pmf, const CppString &in_descr) | |
| Creates a handler for a subresource. | |
| CppString | call (const HtmlFormData &formdata, CppString &mimetype) |
| Call the handler indirectly. | |
Private Attributes | |
| T * | obj |
| PMF | pmf |
Definition at line 144 of file ulxr_htmlform_handler.h.
| typedef CppString(T::*) ulxr::hidden::SubResource< T >::PMF(const HtmlFormData &formdata, CppString &mimetype) |
A handler for a html request.
| formdata | optional data from a form | |
| mimetype | [OUT] returns the mimetype of the data |
Definition at line 153 of file ulxr_htmlform_handler.h.
| ulxr::hidden::SubResource< T >::SubResource | ( | const CppString & | in_name, | |
| T * | in_obj, | |||
| PMF | in_pmf, | |||
| const CppString & | in_descr | |||
| ) | [inline] |
Creates a handler for a subresource.
| in_name | of the subresource | |
| in_obj | pointer of the object which handles it | |
| in_pmf | pointer of a member function in the object | |
| in_descr | human readable description for this resource |
Definition at line 161 of file ulxr_htmlform_handler.h.
| CppString ulxr::hidden::SubResource< T >::call | ( | const HtmlFormData & | formdata, | |
| CppString & | mimetype | |||
| ) | [inline, virtual] |
Call the handler indirectly.
| formdata | optional data from a form | |
| mimetype | returns the mimetype of the data |
Implements ulxr::hidden::SubResourceBase.
Definition at line 172 of file ulxr_htmlform_handler.h.
References ulxr::hidden::SubResource< T >::obj, and ulxr::hidden::SubResource< T >::pmf.
T* ulxr::hidden::SubResource< T >::obj [private] |
Definition at line 178 of file ulxr_htmlform_handler.h.
Referenced by ulxr::hidden::SubResource< T >::call().
PMF ulxr::hidden::SubResource< T >::pmf [private] |
Definition at line 179 of file ulxr_htmlform_handler.h.
Referenced by ulxr::hidden::SubResource< T >::call().
1.5.1