★ wanayoo — archive 1999 http://corelinux.sourceforge.net/classref/Adapter.htmlNouvelle recherche | Portail wanayoo

class corelinux::Adapter

An Adapter converts the interface of a class into another interface that clients expect.

Public Methods

[more] Adapter( AdapterCref )
Copy Constructor
[more] Adapter( void )
Default Constructor
[more]bool operator!=( AdapterCref ) const
Non-equality operator overload
[more]AdapterRef operator=( AdapterCref )
Assignment operator overload
[more]bool operator==( AdapterCref ) const
Equality operator overload
[more]virtual ~Adapter( void )
Virtual Destructor


Documentation

An Adapter converts the interface of a class into another interface that clients expect. This allows classes work together that couldn't otherwise because of the incompatible interfaces. Sometimes a toolkit class that's designed for reuse isn't reusable only because its interface doesn't match the domain specific interface an application requires.
o Adapter( void )
Default Constructor

o Adapter( AdapterCref )
Copy Constructor
Parameters:
Adapter - const reference

ovirtual ~Adapter( void )
Virtual Destructor

oAdapterRef operator=( AdapterCref )
Assignment operator overload
Returns:
Adapter reference to self
Parameters:
Adapter - const reference

obool operator==( AdapterCref ) const
Equality operator overload
Returns:
true if equal, false otherwise
Parameters:
Adapter - const reference

obool operator!=( AdapterCref ) const
Non-equality operator overload
Returns:
false if equal, true otherwise
Parameters:
Adapter - const reference


This class has no child classes.



This page was generated with the help of
DOC++.