- QuantLib
- Composite
Composite pattern. More...
#include <ql/patterns/composite.hpp>
Inherits T.
Composite pattern.
The typical use of this class is:
class CompositeFoo : public Composite<Foo> { ... };
which causes CompositeFoo to inherit from Foo and provides it with methods for adding components. Of course, any abstract Foo interface must still be implemented.