Rudiments
Public Member Functions | List of all members
mvcview Class Reference

#include <mvc.h>

Inherits mvctier.

Public Member Functions

 mvcview ()
 
virtual ~mvcview ()
 
void setRequest (httprequest *req)
 
httprequestgetRequest ()
 
void setResponse (httpresponse *resp)
 
httpresponsegetResponse ()
 
- Public Member Functions inherited from mvctier
 mvctier ()
 
virtual ~mvctier ()
 
virtual const chargetType ()
 
void setProperties (mvcproperties *prop)
 
mvcpropertiesgetProperties ()
 
void setSecurity (mvcsecurity *sec)
 
mvcsecuritygetSecurity ()
 
- Public Member Functions inherited from object
virtual ~object ()
 

Detailed Description

The mvcview class provides a base class for MVC (Model View Controller) views.

This class is not intended to be used directly, rather you should create children of this class that implements specific view tier functionality for your application, and use them directly.

Constructor & Destructor Documentation

◆ mvcview()

mvcview::mvcview ( )

Creates an instance of the mvcview class.

◆ ~mvcview()

virtual mvcview::~mvcview ( )
virtual

Deletes this instance of the mvcview class.

Member Function Documentation

◆ getRequest()

httprequest * mvcview::getRequest ( )

Returns the instance of httprequest set by a previous call to setRequest().

◆ getResponse()

httpresponse * mvcview::getResponse ( )

Returns the instance of httpresponse set by a previous call to setResponse().

◆ setRequest()

void mvcview::setRequest ( httprequest * req)

Sets the instance of httprequest to use.

◆ setResponse()

void mvcview::setResponse ( httpresponse * resp)

Sets the instance of httpresponse to use.