corelinux::TransparentComponent< CompImpl > Class Template Reference
A
TransparentComponent is a templated
Component whereas it declares the interface for the objects in a composition, implements default behavior and declares the interface for child operations.
More...
#include <TransparentComponent.hpp>
List of all members.
Detailed Description
template<class CompImpl>
class corelinux::TransparentComponent< CompImpl >
A
TransparentComponent is a templated
Component whereas it declares the interface for the objects in a composition, implements default behavior and declares the interface for child operations.
Constructor & Destructor Documentation
Copy Constructor.
- Parameters:
-
Member Function Documentation
Equality operator overload.
- Parameters:
-
- Returns:
- true if equal, false otherwise
Non-equality operator overload.
- Parameters:
-
- Returns:
- false if equal, true otherwise
Interface for adding component children to a composition.
The default implementation throws an exception to insure needless calls are not made to leafs components
- Parameters:
-
| CompImpl | - Component instantiated with implementation |
- Exceptions:
-
Interface for removing component children from a composition.
The default implementation throws an exception to insure needless calls are not made to leafs
- Parameters:
-
| CompImpl | - Component instantiated with implementation |
- Exceptions:
-
Interface for creating an Iterator to iterate through the children of a composition.
The default implementation throws an exception to insure needless calls are not made to leafs
- Parameters:
-
| CompImpl | - Component instantiated with implementation |
- Exceptions:
-
Interface for returning a created Iterator.
It is up to the Composite implementation to provide accounting of Iterator instances that have been given out. The default implementation throws an exception to insure needless calls are not made to leafs
- Parameters:
-
| CompImpl | - Component instantiated with implementation |
- Exceptions:
-
The documentation for this class was generated from the following file: