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

Inherits object.

Inherited by mvccontroller, mvcdao, mvcservice, and mvcview.

Public Member Functions

 mvctier ()
 
virtual ~mvctier ()
 
virtual const char * getType ()
 
void setProperties (mvcproperties *prop)
 
mvcpropertiesgetProperties ()
 
void setSecurity (mvcsecurity *sec)
 
mvcsecuritygetSecurity ()
 
- Public Member Functions inherited from object
virtual ~object ()
 

Detailed Description

The mvctier class provides a base class for the tiers of an MVC (Model View Controller) application, and provides methods and functionality that is common to all tiers.

This class is not intended to be used directly, nor are its direct children: mvcservice, mvcdao, mvcview, and mvccontroller. Rather, you should create children of those classes implementing specific MVC functionality for your application, and use them directly.

Constructor & Destructor Documentation

◆ mvctier()

mvctier::mvctier ( )

Creates an instance of the mvctier class.

◆ ~mvctier()

virtual mvctier::~mvctier ( )
virtual

Deletes this instance of the mvctier class.

Member Function Documentation

◆ getProperties()

mvcproperties* mvctier::getProperties ( )

Returns the instance of mvcproperties set by a previous call to setProperties().

◆ getSecurity()

mvcsecurity* mvctier::getSecurity ( )

Returns the instance of mvcsecurity set by a previous call to setSecurity().

◆ getType()

virtual const char* mvctier::getType ( )
virtual

Returns "mvctier" but should be overridden by child classes to return a more specific type.

◆ setProperties()

void mvctier::setProperties ( mvcproperties prop)

Sets the instance of mvcproperties to use.

◆ setSecurity()

void mvctier::setSecurity ( mvcsecurity sec)

Sets the instance of mvcsecurity to use.