ulxr::hidden::SubResourceBase Class Reference

Interface class to forward a call to a resource handler. More...

#include <ulxr_htmlform_handler.h>

Inheritance diagram for ulxr::hidden::SubResourceBase:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 SubResourceBase (const CppString &name, const CppString &descr)
 Creates a handler for a subresource.
virtual ~SubResourceBase ()
 Destroy handler.
virtual CppString call (const HtmlFormData &formdata, CppString &mimetype)=0
 Call the handler indirectly.
CppString getName () const
 Gets the name of the resource.
CppString getDescription () const
 Gets the description of the resource.

Private Attributes

CppString name
CppString descr

Detailed Description

Interface class to forward a call to a resource handler.

Definition at line 103 of file ulxr_htmlform_handler.h.


Constructor & Destructor Documentation

ulxr::hidden::SubResourceBase::SubResourceBase ( const CppString name,
const CppString descr 
)

Creates a handler for a subresource.

Parameters:
name name of the subresource
descr human readable description for this resource

Definition at line 49 of file ulxr_htmlform_handler.cpp.

ulxr::hidden::SubResourceBase::~SubResourceBase (  )  [virtual]

Destroy handler.

Definition at line 56 of file ulxr_htmlform_handler.cpp.


Member Function Documentation

virtual CppString ulxr::hidden::SubResourceBase::call ( const HtmlFormData formdata,
CppString mimetype 
) [pure virtual]

Call the handler indirectly.

Parameters:
formdata optional data from a form
mimetype returns the mimetype of the data
Returns:
the html data

Implemented in ulxr::hidden::SubResource< T >.

CppString ulxr::hidden::SubResourceBase::getName (  )  const

Gets the name of the resource.

Returns:
name

Definition at line 61 of file ulxr_htmlform_handler.cpp.

CppString ulxr::hidden::SubResourceBase::getDescription (  )  const

Gets the description of the resource.

Returns:
description

Definition at line 67 of file ulxr_htmlform_handler.cpp.


Member Data Documentation

CppString ulxr::hidden::SubResourceBase::name [private]

Definition at line 136 of file ulxr_htmlform_handler.h.

CppString ulxr::hidden::SubResourceBase::descr [private]

Definition at line 137 of file ulxr_htmlform_handler.h.


The documentation for this class was generated from the following files:
Generated on Sun Aug 19 20:09:15 2007 for ulxmlrpcpp by  doxygen 1.5.1