#include <Decorator.hpp>
Inheritance diagram for corelinux::Decorator< Implementation >:
Public Member Functions | |
Decorator (Implementation aImplementation) | |
Default Constructor requires a Implementation. | |
Decorator (const Decorator &aDecorator) | |
Copy Constructor copies theImplementation. | |
virtual | ~Decorator (void) |
Virtual Destructor. | |
Decorator & | operator= (const Decorator &aDecorator) throw (Exception) |
Assignment operator overload. | |
bool | operator== (const Decorator &aDecorator) const |
Equality operator overload. | |
virtual Implementation | getImplementation (void) const |
Gets current theImplementation. | |
virtual void | setImplementation (Implementation aImplementation) throw (Exception) |
Sets current theImplementation to aImplementation. | |
Protected Member Functions | |
Decorator (void) throw (Assertion) | |
Default Constructor Because a Decorator requires a implementation to work, you can not construct one without it. | |
Protected Attributes | |
Implementation | theImplementation |
Storage for theImplementation object. |
|
Default Constructor requires a Implementation.
|
|
Copy Constructor copies theImplementation.
|
|
Default Constructor Because a Decorator requires a implementation to work, you can not construct one without it.
|
|
Gets current theImplementation.
|
|
Assignment operator overload. This may throw Exception if there is a problem cloning theImplementation.
|
|
Equality operator overload.
|
|
Sets current theImplementation to aImplementation.
|