C++ features by examples
|
is a partial wrapper of an object with same as wrapped object Interface More...
Public Member Functions | |
Decorator (Interface &o) | |
int | method () override |
Public Member Functions inherited from Interface | |
virtual int | method ()=0 |
virtual | ~Interface ()=default |
Public Attributes | |
Interface & | subject |
is a partial wrapper of an object with same as wrapped object Interface
Definition at line 340 of file patterns.cpp.
|
inline |
Definition at line 344 of file patterns.cpp.
|
inlineoverridevirtual |
Implements Interface.
Definition at line 345 of file patterns.cpp.
Interface& Decorator::subject |
Definition at line 348 of file patterns.cpp.