# | Line 211 | Line 211 | template<class ConcreteIntegrator> class IntegratorBui | |
---|---|---|
211 | string ident_; | |
212 | }; | |
213 | ||
214 | < | template<class ConcreteIntegrator> class IntegratorBuilder : public |
215 | < | IntegratorCreator { |
214 | > | template<class ConcreteIntegrator> |
215 | > | class IntegratorBuilder : public IntegratorCreator { |
216 | public: | |
217 | IntegratorBuilder(const string& ident) | |
218 | < | : IntegratorCreator(ident) {} |
218 | > | : IntegratorCreator(ident) {} |
219 | virtual Integrator* create(SimInfo* info) const { | |
220 | return new ConcreteIntegrator(info); | |
221 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |