Contents:
A ConcreteDecorator that adds Feature B to the Component.
Public Functions
Delegates the getDescription method to the wrapped Component. Marked as pure virtual to enforce implementation in derived classes.
A string description.
Delegates the cost method to the wrapped Component. Marked as pure virtual to enforce implementation in derived classes.
A float representing the cost.