QuantLib_Composite (3) Linux Manual Page
QuantLib::Composite – Composite pattern.
Synopsis
#include <ql/patterns/composite.hpp>Inherits T.
Protected Types
typedef std::list< boost::shared_ptr< T > >::iterator iteratortypedef std::list< boost::shared_ptr< T > >::const_iterator const_iterator
Protected Member Functions
void add (const boost::shared_ptr< T > &c)Protected Attributes
std::list< boost::shared_ptr< T > > components_Detailed Description
template<class T> class QuantLib::Composite< T >
Composite pattern.The typical use of this class is:
class CompositeFoo : public Composite<Foo> {
…
}; 