[yoda-svn] r318 - trunk/pyext/yoda

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Mon Aug 22 12:16:37 BST 2011


Author: buckley
Date: Mon Aug 22 12:16:37 2011
New Revision: 318

Log:
Map new Bin1D inheritance structure in SWIG

Modified:
   trunk/pyext/yoda/yodawrap.i

Modified: trunk/pyext/yoda/yodawrap.i
==============================================================================
--- trunk/pyext/yoda/yodawrap.i	Mon Aug 22 12:12:17 2011	(r317)
+++ trunk/pyext/yoda/yodawrap.i	Mon Aug 22 12:16:37 2011	(r318)
@@ -43,13 +43,16 @@
 }
 
 
-// Bins
+// Bin base classes and contained distributions
 %include "YODA/Bin.h"
 %include "YODA/Bin1D.h"
 %include "YODA/Bin2D.h"
+%include "YODA/Dbn1D.h"
+%include "YODA/Dbn2D.h"
 
 
 // Histos
+%template(Bin1DDbn1D) YODA::Bin1D<YODA::Dbn1D>;
 %include "YODA/HistoBin1D.h"
 %include "YODA/Histo1D.h"
 // %feature("ignore") std::vector<YODA::HistoBin1D>::vector(size_type size);
@@ -70,6 +73,7 @@
 // %template(HistoBin2Ds) std::vector<YODA::HistoBin2D>;
 
 // Profile histos
+%template(Bin1DDbn2D) YODA::Bin1D<YODA::Dbn2D>;
 %include "YODA/ProfileBin1D.h"
 %include "YODA/Profile1D.h"
 // %feature("ignore") std::vector<YODA::ProfileBin1D>::vector(size_type size);


More information about the yoda-svn mailing list