#include <Dump_T.h>
Inheritance diagram for ACE_Dumpable_Adapter:


Public Methods | |
| ACE_Dumpable_Adapter (const Concrete *t) | |
| ~ACE_Dumpable_Adapter (void) | |
| virtual void | dump (void) const |
| Concrete dump method (simply delegates to the <dump> method of <class Concrete>). More... | |
| Concrete * | operator-> () const |
| Delegate to methods in the Concrete class. More... | |
Private Attributes | |
| const Concrete * | this_ |
| Pointer to <this> of <class Concrete>. More... | |
This design is similar to the Adapter and Decorator patterns from the ``Gang of Four'' book. Note that <class Concrete> need not inherit from a common class since ACE_Dumpable provides the uniform virtual interface!
|
||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
Concrete dump method (simply delegates to the <dump> method of <class Concrete>).
Reimplemented from ACE_Dumpable. |
|
||||||||||
|
Delegate to methods in the Concrete class.
|
|
|||||
|
Pointer to <this> of <class Concrete>.
Reimplemented from ACE_Dumpable. |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001