1 // SWIG file DistributionFactory.i 2 3 %{ 4 #include "openturns/DistributionFactory.hxx" 5 %} 6 7 %include DistributionFactory_doc.i 8 9 %include UncertaintyModelCopulaCollection.i 10 11 OTTypedInterfaceObjectHelper(DistributionFactory) 12 OTTypedCollectionInterfaceObjectHelper(DistributionFactory) 13 14 %include openturns/DistributionFactory.hxx 15 16 namespace OT { 17 18 %extend DistributionFactory { 19 DistributionFactory(const DistributionFactory & other)20DistributionFactory(const DistributionFactory & other) { return new OT::DistributionFactory(other); } 21 22 } 23 } 24