1 %module constructor_copy
5 %nocopyctor Bar<double>;
12 Foo1(int _x = 2) : x(_x)
23 Foo3(const Foo3& ) { }
30 Foo4(const Foo4& ) { }
38 Foo4a(const Foo4a& ) { }
46 Foo6(const Foo6& f) : Foo4(f) { }
61 Bar(int _x = 0) : x(_x)
67 %template(Bari) Bar<int>;
68 %template(Bard) Bar<double>;
71 #if defined(SWIGJAVA) || defined(SWIGCSHARP) || defined(SWIGUTL)
74 %include "std_vector.i"
76 #if defined(SWIGJAVA) || defined(SWIGCSHARP) || defined(SWIGPYTHON) || defined(SWIGR) || defined(SWIGOCTAVE) || defined(SWIGRUBY)
77 #define SWIG_GOOD_VECTOR
78 %ignore std::vector<Space::Flow>::vector(size_type);
79 %ignore std::vector<Space::Flow>::resize(size_type);
82 #if defined(SWIGTCL) || defined(SWIGPERL)
83 #define SWIG_GOOD_VECTOR
84 /* here, for languages with bad declaration */
85 %ignore std::vector<Space::Flow>::vector(unsigned int);
86 %ignore std::vector<Space::Flow>::resize(unsigned int);
91 %ignore FlowFlow::FlowFlow;
111 %template (VectFlow) std::vector<Space::Flow>;
116 %rename(ABC_Libor_ModelUtils) ABC_Nam::ABC_Libor::ModelUtils;
121 namespace ABC_Libor {
122 struct ModelUtils {};
125 struct ModelUtils_T {};
131 %template(ModelUtils_i) ABC_Nam::ABC_Libor::ModelUtils_T<int>;
134 %rename(Space1Space2_TotalReturnSwap) Space1::Space2::TotalReturnSwap;
142 class TotalReturnSwap {
148 class TotalReturnSwap_T {
150 TotalReturnSwap_T() {}
157 %template(Total_i) Space1::Space2::TotalReturnSwap_T<int>;