#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>). | |
| Concrete* | operator-> () const |
| Delegate to methods in the Concrete class. | |
Private Attributes | |
| const Concrete* | this_ |
| Pointer to <this> of <class Concrete>. | |
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.3 written by Dimitri van Heesch,
© 1997-2000