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>
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.
§ TransparentComponent()
template<class CompImpl >
Copy Constructor.
- Parameters
-
§ addComponent()
template<class CompImpl >
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
-
§ createIterator()
template<class CompImpl >
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
-
§ destroyIterator()
template<class CompImpl >
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
-
§ operator!=()
template<class CompImpl >
Non-equality operator overload.
- Parameters
-
- Returns
- false if equal, true otherwise
§ operator=()
template<class CompImpl >
§ operator==()
template<class CompImpl >
Equality operator overload.
- Parameters
-
- Returns
- true if equal, false otherwise
§ removeComponent()
template<class CompImpl >
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
-
The documentation for this class was generated from the following file: