diff --git a/auto/Wrap/doxygen_core.i b/auto/Wrap/doxygen_core.i index 12ae5a0576476dd2883347cb9a93dc7de34f9bac..d0ef2242685d2756fc66eef792b4d2d185234c92 100644 --- a/auto/Wrap/doxygen_core.i +++ b/auto/Wrap/doxygen_core.i @@ -279,27 +279,43 @@ Returns result of rotation around the axis specified by another vector. "; %feature("docstring") Geometry::BasicVector3D::conj "BasicVector3D< double > Geometry::BasicVector3D< double >::conj() const + +Returns complex conjugate vector. "; %feature("docstring") Geometry::BasicVector3D::conj "BasicVector3D< complex_t > Geometry::BasicVector3D< complex_t >::conj() const + +Returns complex conjugate vector. "; %feature("docstring") Geometry::BasicVector3D::phi "double Geometry::BasicVector3D< double >::phi() const + +Returns azimuth angle. "; %feature("docstring") Geometry::BasicVector3D::theta "double Geometry::BasicVector3D< double >::theta() const + +Returns polar angle. "; %feature("docstring") Geometry::BasicVector3D::cosTheta "double Geometry::BasicVector3D< double >::cosTheta() const + +Returns cosine of polar angle. "; %feature("docstring") Geometry::BasicVector3D::sin2Theta "double Geometry::BasicVector3D< double >::sin2Theta() const + +Returns squared sine of polar angle. "; %feature("docstring") Geometry::BasicVector3D::complex "BasicVector3D< std::complex< double > > Geometry::BasicVector3D< double >::complex() const + +Returns this, trivially converted to complex type. "; %feature("docstring") Geometry::BasicVector3D::angle "double Geometry::BasicVector3D< double >::angle(const BasicVector3D< double > &v) const + +Returns angle with respect to another vector. "; %feature("docstring") Geometry::BasicVector3D::conj "BA_CORE_API_ BasicVector3D< double > Geometry::BasicVector3D< double >::conj() const @@ -376,12 +392,7 @@ Gets the polarization density matrix (in spin basis along z-axis) // File: structBin1D.xml -%feature("docstring") Bin1D " - -One dimensional bin with left and right bounds. - -C++ includes: Bin.h -"; +%feature("docstring") Bin1D ""; %feature("docstring") Bin1D::Bin1D "Bin1D::Bin1D() "; @@ -859,25 +870,25 @@ C++ includes: CumulativeValue.h %feature("docstring") CumulativeValue::CumulativeValue "CumulativeValue::CumulativeValue() "; -%feature("docstring") CumulativeValue::getNumberOfEntries "int CumulativeValue::getNumberOfEntries() const +%feature("docstring") CumulativeValue::clear "void CumulativeValue::clear() "; -%feature("docstring") CumulativeValue::getContent "double CumulativeValue::getContent() const +%feature("docstring") CumulativeValue::setContent "void CumulativeValue::setContent(double value) "; -%feature("docstring") CumulativeValue::setContent "void CumulativeValue::setContent(double value) +%feature("docstring") CumulativeValue::add "void CumulativeValue::add(double value, double weight=1.0) "; -%feature("docstring") CumulativeValue::getAverage "double CumulativeValue::getAverage() const +%feature("docstring") CumulativeValue::getNumberOfEntries "int CumulativeValue::getNumberOfEntries() const "; -%feature("docstring") CumulativeValue::getRMS "double CumulativeValue::getRMS() const +%feature("docstring") CumulativeValue::getContent "double CumulativeValue::getContent() const "; -%feature("docstring") CumulativeValue::add "void CumulativeValue::add(double value, double weight=1.0) +%feature("docstring") CumulativeValue::getAverage "double CumulativeValue::getAverage() const "; -%feature("docstring") CumulativeValue::clear "void CumulativeValue::clear() +%feature("docstring") CumulativeValue::getRMS "double CumulativeValue::getRMS() const "; @@ -12078,10 +12089,7 @@ C++ includes: ScalarSpecularInfoMap.h %feature("docstring") ScalarSpecularInfoMap::getOutCoefficients "const ScalarRTCoefficients * ScalarSpecularInfoMap::getOutCoefficients(double alpha_f, double phi_f, double wavelength) const -Retrieves the amplitude coefficients for the given angles. - -Todo -Can we avoid the code duplication in the two following functions ? +Retrieves the amplitude coefficients for the given angles. "; %feature("docstring") ScalarSpecularInfoMap::getInCoefficients "const ScalarRTCoefficients * ScalarSpecularInfoMap::getInCoefficients(double alpha_i, double phi_i, double wavelength) const @@ -13172,16 +13180,16 @@ C++ includes: WavevectorInfo.h // File: classMathFunctions_1_1Convolve_1_1Workspace.xml -// File: namespace@339.xml +// File: namespace_0D339.xml -// File: namespace@353.xml +// File: namespace_0D353.xml -// File: namespace@67.xml +// File: namespace_0D67.xml -// File: namespace@95.xml +// File: namespace_0D95.xml // File: namespaceboost_1_1geometry.xml @@ -13951,6 +13959,11 @@ Set all element intensities to given value. // File: SpecularMatrix_8cpp.xml +%feature("docstring") setZeroBelow "void setZeroBelow(SpecularMatrix::MultiLayerCoeff_t &coeff, size_t current_layer) +"; + +%feature("docstring") calculateUpFromLayer "bool calculateUpFromLayer(SpecularMatrix::MultiLayerCoeff_t &coeff, const MultiLayer &sample, const kvector_t k, size_t layer_index) +"; // File: SpecularMatrix_8h.xml @@ -14815,6 +14828,9 @@ Returns exp(I*z), where I is the imaginary unit. // File: Convolve_8h.xml +// File: CumulativeValue_8cpp.xml + + // File: CumulativeValue_8h.xml @@ -15082,32 +15098,29 @@ global helper function for comparison of axes // File: todo.xml -// File: dir_2ae5eef177fdc4a2f78184a703e9ca35.xml - - -// File: dir_a5718f9cbd8869dfe6f67ea602e0c081.xml +// File: dir_e1ea50aa565d9a3ab2d030f355b28273.xml -// File: dir_e8b91df279483b3e8e12615e228a1b30.xml +// File: dir_c6310732a22f63c0c2fc5595561e68f1.xml -// File: dir_0741ac6d11fd047643bf55f8f8c05919.xml +// File: dir_a2ca5d2cdcaf135a87dcab85b198454f.xml -// File: dir_f917e00ecc0731a03e57c18530cede59.xml +// File: dir_41c864f8b362cbf9598de792bd07bfbb.xml -// File: dir_7fb31f1b073eeae63423bbb2a3a2d187.xml +// File: dir_d7044b5fc4daccc5700de9f07da81a11.xml -// File: dir_844b9b42d96eb52684a7ef26f932da03.xml +// File: dir_3089b6128da5fa5b3826c81ab6bab5ef.xml -// File: dir_6239607a7bd3e9e52745ea8c4706e15f.xml +// File: dir_5d2259b43612a5a0ff7512df653d7370.xml -// File: dir_66dafcc1787bb051f9038bca1a02d0ff.xml +// File: dir_3699ff1c9496be3df876d73b8d75bc3c.xml -// File: dir_0ae786ed4862dcefebd8dd89a60766dc.xml +// File: dir_e120110860f9b345e7b3217e8b15cbb8.xml diff --git a/auto/Wrap/doxygen_fit.i b/auto/Wrap/doxygen_fit.i index 345c4e1eec5758252fb857c823e97d430aa480b0..b2a6a42090dc81db282d7cf9942c8cdcf215731c 100644 --- a/auto/Wrap/doxygen_fit.i +++ b/auto/Wrap/doxygen_fit.i @@ -2162,14 +2162,11 @@ C++ includes: StandardFitsFactory.h // File: StandardFitsFactory_8h.xml -// File: dir_d0c8f8fb9032c27878972645c4679f14.xml +// File: dir_892d84e8d1420bf45a9053cf0eede900.xml -// File: dir_befad91b6aded329d87ab1464acca32e.xml +// File: dir_4e6c9d4e290828461655ecdd2f34719c.xml -// File: dir_abb56b21da33f65f621bf551b5073624.xml - - -// File: dir_8c00782886f69f4c4190b8932144dcd3.xml +// File: dir_f0d58a7b25b35daab22ce6e2bfb078e9.xml diff --git a/auto/Wrap/libBornAgainCore.py b/auto/Wrap/libBornAgainCore.py index 5936f952e8906fcb15736e7f91df18a7414657c4..341bc0aa6c9f11a13ec697ddc8a5226aebec29bb 100644 --- a/auto/Wrap/libBornAgainCore.py +++ b/auto/Wrap/libBornAgainCore.py @@ -1,5 +1,5 @@ # This file was automatically generated by SWIG (http://www.swig.org). -# Version 3.0.8 +# Version 3.0.7 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. @@ -77,7 +77,7 @@ def _swig_getattr(self, class_type, name): def _swig_repr(self): try: strthis = "proxy of " + self.this.__repr__() - except Exception: + except: strthis = "" return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) @@ -93,13 +93,12 @@ except AttributeError: try: import weakref weakref_proxy = weakref.proxy -except Exception: +except: weakref_proxy = lambda x: x class SwigPyIterator(_object): - """Proxy of C++ swig::SwigPyIterator class.""" - + """Proxy of C++ swig::SwigPyIterator class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value) __swig_getmethods__ = {} @@ -208,8 +207,7 @@ SwigPyIterator_swigregister(SwigPyIterator) _libBornAgainCore.SHARED_PTR_DISOWN_swigconstant(_libBornAgainCore) SHARED_PTR_DISOWN = _libBornAgainCore.SHARED_PTR_DISOWN class vdouble1d_t(_object): - """Proxy of C++ std::vector<(double)> class.""" - + """Proxy of C++ std::vector<(double)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vdouble1d_t, name, value) __swig_getmethods__ = {} @@ -238,6 +236,11 @@ class vdouble1d_t(_object): return _libBornAgainCore.vdouble1d_t___len__(self) + def pop(self): + """pop(vdouble1d_t self) -> std::vector< double >::value_type""" + return _libBornAgainCore.vdouble1d_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> vdouble1d_t""" return _libBornAgainCore.vdouble1d_t___getslice__(self, i, j) @@ -245,8 +248,8 @@ class vdouble1d_t(_object): def __setslice__(self, *args): """ - __setslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) __setslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j, vdouble1d_t v) + __setslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) """ return _libBornAgainCore.vdouble1d_t___setslice__(self, *args) @@ -281,11 +284,6 @@ class vdouble1d_t(_object): return _libBornAgainCore.vdouble1d_t___setitem__(self, *args) - def pop(self): - """pop(vdouble1d_t self) -> std::vector< double >::value_type""" - return _libBornAgainCore.vdouble1d_t_pop(self) - - def append(self, x): """append(vdouble1d_t self, std::vector< double >::value_type const & x)""" return _libBornAgainCore.vdouble1d_t_append(self, x) @@ -301,11 +299,21 @@ class vdouble1d_t(_object): return _libBornAgainCore.vdouble1d_t_size(self) + def clear(self): + """clear(vdouble1d_t self)""" + return _libBornAgainCore.vdouble1d_t_clear(self) + + def swap(self, v): """swap(vdouble1d_t self, vdouble1d_t v)""" return _libBornAgainCore.vdouble1d_t_swap(self, v) + def get_allocator(self): + """get_allocator(vdouble1d_t self) -> std::vector< double >::allocator_type""" + return _libBornAgainCore.vdouble1d_t_get_allocator(self) + + def begin(self): """begin(vdouble1d_t self) -> std::vector< double >::iterator""" return _libBornAgainCore.vdouble1d_t_begin(self) @@ -326,16 +334,6 @@ class vdouble1d_t(_object): return _libBornAgainCore.vdouble1d_t_rend(self) - def clear(self): - """clear(vdouble1d_t self)""" - return _libBornAgainCore.vdouble1d_t_clear(self) - - - def get_allocator(self): - """get_allocator(vdouble1d_t self) -> std::vector< double >::allocator_type""" - return _libBornAgainCore.vdouble1d_t_get_allocator(self) - - def pop_back(self): """pop_back(vdouble1d_t self)""" return _libBornAgainCore.vdouble1d_t_pop_back(self) @@ -359,7 +357,7 @@ class vdouble1d_t(_object): this = _libBornAgainCore.new_vdouble1d_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -413,8 +411,7 @@ vdouble1d_t_swigregister = _libBornAgainCore.vdouble1d_t_swigregister vdouble1d_t_swigregister(vdouble1d_t) class vdouble2d_t(_object): - """Proxy of C++ std::vector<(std::vector<(double)>)> class.""" - + """Proxy of C++ std::vector<(std::vector<(double)>)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vdouble2d_t, name, value) __swig_getmethods__ = {} @@ -443,6 +440,11 @@ class vdouble2d_t(_object): return _libBornAgainCore.vdouble2d_t___len__(self) + def pop(self): + """pop(vdouble2d_t self) -> vdouble1d_t""" + return _libBornAgainCore.vdouble2d_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j) -> vdouble2d_t""" return _libBornAgainCore.vdouble2d_t___getslice__(self, i, j) @@ -450,8 +452,8 @@ class vdouble2d_t(_object): def __setslice__(self, *args): """ - __setslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j) __setslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j, vdouble2d_t v) + __setslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j) """ return _libBornAgainCore.vdouble2d_t___setslice__(self, *args) @@ -486,11 +488,6 @@ class vdouble2d_t(_object): return _libBornAgainCore.vdouble2d_t___setitem__(self, *args) - def pop(self): - """pop(vdouble2d_t self) -> vdouble1d_t""" - return _libBornAgainCore.vdouble2d_t_pop(self) - - def append(self, x): """append(vdouble2d_t self, vdouble1d_t x)""" return _libBornAgainCore.vdouble2d_t_append(self, x) @@ -506,11 +503,21 @@ class vdouble2d_t(_object): return _libBornAgainCore.vdouble2d_t_size(self) + def clear(self): + """clear(vdouble2d_t self)""" + return _libBornAgainCore.vdouble2d_t_clear(self) + + def swap(self, v): """swap(vdouble2d_t self, vdouble2d_t v)""" return _libBornAgainCore.vdouble2d_t_swap(self, v) + def get_allocator(self): + """get_allocator(vdouble2d_t self) -> std::vector< std::vector< double > >::allocator_type""" + return _libBornAgainCore.vdouble2d_t_get_allocator(self) + + def begin(self): """begin(vdouble2d_t self) -> std::vector< std::vector< double > >::iterator""" return _libBornAgainCore.vdouble2d_t_begin(self) @@ -531,16 +538,6 @@ class vdouble2d_t(_object): return _libBornAgainCore.vdouble2d_t_rend(self) - def clear(self): - """clear(vdouble2d_t self)""" - return _libBornAgainCore.vdouble2d_t_clear(self) - - - def get_allocator(self): - """get_allocator(vdouble2d_t self) -> std::vector< std::vector< double > >::allocator_type""" - return _libBornAgainCore.vdouble2d_t_get_allocator(self) - - def pop_back(self): """pop_back(vdouble2d_t self)""" return _libBornAgainCore.vdouble2d_t_pop_back(self) @@ -564,7 +561,7 @@ class vdouble2d_t(_object): this = _libBornAgainCore.new_vdouble2d_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -618,8 +615,7 @@ vdouble2d_t_swigregister = _libBornAgainCore.vdouble2d_t_swigregister vdouble2d_t_swigregister(vdouble2d_t) class vector_integer_t(_object): - """Proxy of C++ std::vector<(int)> class.""" - + """Proxy of C++ std::vector<(int)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vector_integer_t, name, value) __swig_getmethods__ = {} @@ -648,6 +644,11 @@ class vector_integer_t(_object): return _libBornAgainCore.vector_integer_t___len__(self) + def pop(self): + """pop(vector_integer_t self) -> std::vector< int >::value_type""" + return _libBornAgainCore.vector_integer_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> vector_integer_t""" return _libBornAgainCore.vector_integer_t___getslice__(self, i, j) @@ -655,8 +656,8 @@ class vector_integer_t(_object): def __setslice__(self, *args): """ - __setslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) __setslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, vector_integer_t v) + __setslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) """ return _libBornAgainCore.vector_integer_t___setslice__(self, *args) @@ -691,11 +692,6 @@ class vector_integer_t(_object): return _libBornAgainCore.vector_integer_t___setitem__(self, *args) - def pop(self): - """pop(vector_integer_t self) -> std::vector< int >::value_type""" - return _libBornAgainCore.vector_integer_t_pop(self) - - def append(self, x): """append(vector_integer_t self, std::vector< int >::value_type const & x)""" return _libBornAgainCore.vector_integer_t_append(self, x) @@ -711,11 +707,21 @@ class vector_integer_t(_object): return _libBornAgainCore.vector_integer_t_size(self) + def clear(self): + """clear(vector_integer_t self)""" + return _libBornAgainCore.vector_integer_t_clear(self) + + def swap(self, v): """swap(vector_integer_t self, vector_integer_t v)""" return _libBornAgainCore.vector_integer_t_swap(self, v) + def get_allocator(self): + """get_allocator(vector_integer_t self) -> std::vector< int >::allocator_type""" + return _libBornAgainCore.vector_integer_t_get_allocator(self) + + def begin(self): """begin(vector_integer_t self) -> std::vector< int >::iterator""" return _libBornAgainCore.vector_integer_t_begin(self) @@ -736,16 +742,6 @@ class vector_integer_t(_object): return _libBornAgainCore.vector_integer_t_rend(self) - def clear(self): - """clear(vector_integer_t self)""" - return _libBornAgainCore.vector_integer_t_clear(self) - - - def get_allocator(self): - """get_allocator(vector_integer_t self) -> std::vector< int >::allocator_type""" - return _libBornAgainCore.vector_integer_t_get_allocator(self) - - def pop_back(self): """pop_back(vector_integer_t self)""" return _libBornAgainCore.vector_integer_t_pop_back(self) @@ -769,7 +765,7 @@ class vector_integer_t(_object): this = _libBornAgainCore.new_vector_integer_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -823,8 +819,7 @@ vector_integer_t_swigregister = _libBornAgainCore.vector_integer_t_swigregister vector_integer_t_swigregister(vector_integer_t) class vector_longinteger_t(_object): - """Proxy of C++ std::vector<(unsigned long)> class.""" - + """Proxy of C++ std::vector<(unsigned long)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vector_longinteger_t, name, value) __swig_getmethods__ = {} @@ -853,6 +848,11 @@ class vector_longinteger_t(_object): return _libBornAgainCore.vector_longinteger_t___len__(self) + def pop(self): + """pop(vector_longinteger_t self) -> std::vector< unsigned long >::value_type""" + return _libBornAgainCore.vector_longinteger_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j) -> vector_longinteger_t""" return _libBornAgainCore.vector_longinteger_t___getslice__(self, i, j) @@ -860,8 +860,8 @@ class vector_longinteger_t(_object): def __setslice__(self, *args): """ - __setslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j) __setslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j, vector_longinteger_t v) + __setslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j) """ return _libBornAgainCore.vector_longinteger_t___setslice__(self, *args) @@ -896,11 +896,6 @@ class vector_longinteger_t(_object): return _libBornAgainCore.vector_longinteger_t___setitem__(self, *args) - def pop(self): - """pop(vector_longinteger_t self) -> std::vector< unsigned long >::value_type""" - return _libBornAgainCore.vector_longinteger_t_pop(self) - - def append(self, x): """append(vector_longinteger_t self, std::vector< unsigned long >::value_type const & x)""" return _libBornAgainCore.vector_longinteger_t_append(self, x) @@ -916,11 +911,21 @@ class vector_longinteger_t(_object): return _libBornAgainCore.vector_longinteger_t_size(self) + def clear(self): + """clear(vector_longinteger_t self)""" + return _libBornAgainCore.vector_longinteger_t_clear(self) + + def swap(self, v): """swap(vector_longinteger_t self, vector_longinteger_t v)""" return _libBornAgainCore.vector_longinteger_t_swap(self, v) + def get_allocator(self): + """get_allocator(vector_longinteger_t self) -> std::vector< unsigned long >::allocator_type""" + return _libBornAgainCore.vector_longinteger_t_get_allocator(self) + + def begin(self): """begin(vector_longinteger_t self) -> std::vector< unsigned long >::iterator""" return _libBornAgainCore.vector_longinteger_t_begin(self) @@ -941,16 +946,6 @@ class vector_longinteger_t(_object): return _libBornAgainCore.vector_longinteger_t_rend(self) - def clear(self): - """clear(vector_longinteger_t self)""" - return _libBornAgainCore.vector_longinteger_t_clear(self) - - - def get_allocator(self): - """get_allocator(vector_longinteger_t self) -> std::vector< unsigned long >::allocator_type""" - return _libBornAgainCore.vector_longinteger_t_get_allocator(self) - - def pop_back(self): """pop_back(vector_longinteger_t self)""" return _libBornAgainCore.vector_longinteger_t_pop_back(self) @@ -974,7 +969,7 @@ class vector_longinteger_t(_object): this = _libBornAgainCore.new_vector_longinteger_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -1028,8 +1023,7 @@ vector_longinteger_t_swigregister = _libBornAgainCore.vector_longinteger_t_swigr vector_longinteger_t_swigregister(vector_longinteger_t) class vector_complex_t(_object): - """Proxy of C++ std::vector<(std::complex<(double)>)> class.""" - + """Proxy of C++ std::vector<(std::complex<(double)>)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vector_complex_t, name, value) __swig_getmethods__ = {} @@ -1058,6 +1052,11 @@ class vector_complex_t(_object): return _libBornAgainCore.vector_complex_t___len__(self) + def pop(self): + """pop(vector_complex_t self) -> std::vector< std::complex< double > >::value_type""" + return _libBornAgainCore.vector_complex_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j) -> vector_complex_t""" return _libBornAgainCore.vector_complex_t___getslice__(self, i, j) @@ -1065,8 +1064,8 @@ class vector_complex_t(_object): def __setslice__(self, *args): """ - __setslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j) __setslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j, vector_complex_t v) + __setslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j) """ return _libBornAgainCore.vector_complex_t___setslice__(self, *args) @@ -1101,11 +1100,6 @@ class vector_complex_t(_object): return _libBornAgainCore.vector_complex_t___setitem__(self, *args) - def pop(self): - """pop(vector_complex_t self) -> std::vector< std::complex< double > >::value_type""" - return _libBornAgainCore.vector_complex_t_pop(self) - - def append(self, x): """append(vector_complex_t self, std::vector< std::complex< double > >::value_type const & x)""" return _libBornAgainCore.vector_complex_t_append(self, x) @@ -1121,11 +1115,21 @@ class vector_complex_t(_object): return _libBornAgainCore.vector_complex_t_size(self) + def clear(self): + """clear(vector_complex_t self)""" + return _libBornAgainCore.vector_complex_t_clear(self) + + def swap(self, v): """swap(vector_complex_t self, vector_complex_t v)""" return _libBornAgainCore.vector_complex_t_swap(self, v) + def get_allocator(self): + """get_allocator(vector_complex_t self) -> std::vector< std::complex< double > >::allocator_type""" + return _libBornAgainCore.vector_complex_t_get_allocator(self) + + def begin(self): """begin(vector_complex_t self) -> std::vector< std::complex< double > >::iterator""" return _libBornAgainCore.vector_complex_t_begin(self) @@ -1146,16 +1150,6 @@ class vector_complex_t(_object): return _libBornAgainCore.vector_complex_t_rend(self) - def clear(self): - """clear(vector_complex_t self)""" - return _libBornAgainCore.vector_complex_t_clear(self) - - - def get_allocator(self): - """get_allocator(vector_complex_t self) -> std::vector< std::complex< double > >::allocator_type""" - return _libBornAgainCore.vector_complex_t_get_allocator(self) - - def pop_back(self): """pop_back(vector_complex_t self)""" return _libBornAgainCore.vector_complex_t_pop_back(self) @@ -1179,7 +1173,7 @@ class vector_complex_t(_object): this = _libBornAgainCore.new_vector_complex_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -1233,8 +1227,7 @@ vector_complex_t_swigregister = _libBornAgainCore.vector_complex_t_swigregister vector_complex_t_swigregister(vector_complex_t) class vector_string_t(_object): - """Proxy of C++ std::vector<(std::string)> class.""" - + """Proxy of C++ std::vector<(std::string)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vector_string_t, name, value) __swig_getmethods__ = {} @@ -1263,6 +1256,11 @@ class vector_string_t(_object): return _libBornAgainCore.vector_string_t___len__(self) + def pop(self): + """pop(vector_string_t self) -> std::vector< std::string >::value_type""" + return _libBornAgainCore.vector_string_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j) -> vector_string_t""" return _libBornAgainCore.vector_string_t___getslice__(self, i, j) @@ -1270,8 +1268,8 @@ class vector_string_t(_object): def __setslice__(self, *args): """ - __setslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j) __setslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j, vector_string_t v) + __setslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j) """ return _libBornAgainCore.vector_string_t___setslice__(self, *args) @@ -1306,11 +1304,6 @@ class vector_string_t(_object): return _libBornAgainCore.vector_string_t___setitem__(self, *args) - def pop(self): - """pop(vector_string_t self) -> std::vector< std::string >::value_type""" - return _libBornAgainCore.vector_string_t_pop(self) - - def append(self, x): """append(vector_string_t self, std::vector< std::string >::value_type const & x)""" return _libBornAgainCore.vector_string_t_append(self, x) @@ -1326,11 +1319,21 @@ class vector_string_t(_object): return _libBornAgainCore.vector_string_t_size(self) + def clear(self): + """clear(vector_string_t self)""" + return _libBornAgainCore.vector_string_t_clear(self) + + def swap(self, v): """swap(vector_string_t self, vector_string_t v)""" return _libBornAgainCore.vector_string_t_swap(self, v) + def get_allocator(self): + """get_allocator(vector_string_t self) -> std::vector< std::string >::allocator_type""" + return _libBornAgainCore.vector_string_t_get_allocator(self) + + def begin(self): """begin(vector_string_t self) -> std::vector< std::string >::iterator""" return _libBornAgainCore.vector_string_t_begin(self) @@ -1351,16 +1354,6 @@ class vector_string_t(_object): return _libBornAgainCore.vector_string_t_rend(self) - def clear(self): - """clear(vector_string_t self)""" - return _libBornAgainCore.vector_string_t_clear(self) - - - def get_allocator(self): - """get_allocator(vector_string_t self) -> std::vector< std::string >::allocator_type""" - return _libBornAgainCore.vector_string_t_get_allocator(self) - - def pop_back(self): """pop_back(vector_string_t self)""" return _libBornAgainCore.vector_string_t_pop_back(self) @@ -1384,7 +1377,7 @@ class vector_string_t(_object): this = _libBornAgainCore.new_vector_string_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -1446,7 +1439,6 @@ class AttLimits(_object): C++ includes: AttLimits.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, AttLimits, name, value) __swig_getmethods__ = {} @@ -1463,7 +1455,7 @@ class AttLimits(_object): this = _libBornAgainCore.new_AttLimits() try: self.this.append(this) - except Exception: + except: self.this = this def hasLowerLimit(self): @@ -1743,7 +1735,6 @@ class ICloneable(_object): C++ includes: ICloneable.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ICloneable, name, value) __swig_getmethods__ = {} @@ -1788,7 +1779,6 @@ class INamed(_object): C++ includes: INamed.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, INamed, name, value) __swig_getmethods__ = {} @@ -1810,7 +1800,7 @@ class INamed(_object): this = _libBornAgainCore.new_INamed(_self, *args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_INamed __del__ = lambda self: None @@ -1840,7 +1830,6 @@ class IParameterized(INamed): C++ includes: IParameterized.h """ - __swig_setmethods__ = {} for _s in [INamed]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -1867,7 +1856,7 @@ class IParameterized(INamed): this = _libBornAgainCore.new_IParameterized(_self, *args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_IParameterized __del__ = lambda self: None @@ -1982,7 +1971,6 @@ class ParameterPattern(_object): C++ includes: IParameterized.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ParameterPattern, name, value) __swig_getmethods__ = {} @@ -2000,7 +1988,7 @@ class ParameterPattern(_object): this = _libBornAgainCore.new_ParameterPattern(*args) try: self.this.append(this) - except Exception: + except: self.this = this def beginsWith(self, start_type): @@ -2114,7 +2102,6 @@ class kvector_t(_object): C++ includes: BasicVector3D.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, kvector_t, name, value) __swig_getmethods__ = {} @@ -2134,7 +2121,7 @@ class kvector_t(_object): this = _libBornAgainCore.new_kvector_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def x(self): @@ -2315,6 +2302,8 @@ class kvector_t(_object): double Geometry::BasicVector3D< double >::cosTheta() const + Returns cosine of polar angle. + """ return _libBornAgainCore.kvector_t_cosTheta(self) @@ -2325,6 +2314,8 @@ class kvector_t(_object): double Geometry::BasicVector3D< double >::sin2Theta() const + Returns squared sine of polar angle. + """ return _libBornAgainCore.kvector_t_sin2Theta(self) @@ -2357,6 +2348,8 @@ class kvector_t(_object): double Geometry::BasicVector3D< double >::angle(const BasicVector3D< double > &v) const + Returns angle with respect to another vector. + """ return _libBornAgainCore.kvector_t_angle(self, v) @@ -2398,8 +2391,7 @@ patch_version_number = cvar.patch_version_number PI2 = cvar.PI2 class vector_kvector_t(_object): - """Proxy of C++ std::vector<(Geometry::BasicVector3D<(double)>)> class.""" - + """Proxy of C++ std::vector<(Geometry::BasicVector3D<(double)>)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vector_kvector_t, name, value) __swig_getmethods__ = {} @@ -2428,6 +2420,11 @@ class vector_kvector_t(_object): return _libBornAgainCore.vector_kvector_t___len__(self) + def pop(self): + """pop(vector_kvector_t self) -> kvector_t""" + return _libBornAgainCore.vector_kvector_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vector_kvector_t self, std::vector< Geometry::BasicVector3D< double > >::difference_type i, std::vector< Geometry::BasicVector3D< double > >::difference_type j) -> vector_kvector_t""" return _libBornAgainCore.vector_kvector_t___getslice__(self, i, j) @@ -2435,8 +2432,8 @@ class vector_kvector_t(_object): def __setslice__(self, *args): """ - __setslice__(vector_kvector_t self, std::vector< Geometry::BasicVector3D< double > >::difference_type i, std::vector< Geometry::BasicVector3D< double > >::difference_type j) __setslice__(vector_kvector_t self, std::vector< Geometry::BasicVector3D< double > >::difference_type i, std::vector< Geometry::BasicVector3D< double > >::difference_type j, vector_kvector_t v) + __setslice__(vector_kvector_t self, std::vector< Geometry::BasicVector3D< double > >::difference_type i, std::vector< Geometry::BasicVector3D< double > >::difference_type j) """ return _libBornAgainCore.vector_kvector_t___setslice__(self, *args) @@ -2471,11 +2468,6 @@ class vector_kvector_t(_object): return _libBornAgainCore.vector_kvector_t___setitem__(self, *args) - def pop(self): - """pop(vector_kvector_t self) -> kvector_t""" - return _libBornAgainCore.vector_kvector_t_pop(self) - - def append(self, x): """append(vector_kvector_t self, kvector_t x)""" return _libBornAgainCore.vector_kvector_t_append(self, x) @@ -2491,11 +2483,21 @@ class vector_kvector_t(_object): return _libBornAgainCore.vector_kvector_t_size(self) + def clear(self): + """clear(vector_kvector_t self)""" + return _libBornAgainCore.vector_kvector_t_clear(self) + + def swap(self, v): """swap(vector_kvector_t self, vector_kvector_t v)""" return _libBornAgainCore.vector_kvector_t_swap(self, v) + def get_allocator(self): + """get_allocator(vector_kvector_t self) -> std::vector< Geometry::BasicVector3D< double > >::allocator_type""" + return _libBornAgainCore.vector_kvector_t_get_allocator(self) + + def begin(self): """begin(vector_kvector_t self) -> std::vector< Geometry::BasicVector3D< double > >::iterator""" return _libBornAgainCore.vector_kvector_t_begin(self) @@ -2516,16 +2518,6 @@ class vector_kvector_t(_object): return _libBornAgainCore.vector_kvector_t_rend(self) - def clear(self): - """clear(vector_kvector_t self)""" - return _libBornAgainCore.vector_kvector_t_clear(self) - - - def get_allocator(self): - """get_allocator(vector_kvector_t self) -> std::vector< Geometry::BasicVector3D< double > >::allocator_type""" - return _libBornAgainCore.vector_kvector_t_get_allocator(self) - - def pop_back(self): """pop_back(vector_kvector_t self)""" return _libBornAgainCore.vector_kvector_t_pop_back(self) @@ -2549,7 +2541,7 @@ class vector_kvector_t(_object): this = _libBornAgainCore.new_vector_kvector_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -2611,7 +2603,6 @@ class cvector_t(_object): C++ includes: BasicVector3D.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, cvector_t, name, value) __swig_getmethods__ = {} @@ -2631,7 +2622,7 @@ class cvector_t(_object): this = _libBornAgainCore.new_cvector_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def x(self): @@ -2815,8 +2806,7 @@ cvector_t_swigregister = _libBornAgainCore.cvector_t_swigregister cvector_t_swigregister(cvector_t) class vector_cvector_t(_object): - """Proxy of C++ std::vector<(Geometry::BasicVector3D<(std::complex<(double)>)>)> class.""" - + """Proxy of C++ std::vector<(Geometry::BasicVector3D<(std::complex<(double)>)>)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vector_cvector_t, name, value) __swig_getmethods__ = {} @@ -2845,6 +2835,11 @@ class vector_cvector_t(_object): return _libBornAgainCore.vector_cvector_t___len__(self) + def pop(self): + """pop(vector_cvector_t self) -> cvector_t""" + return _libBornAgainCore.vector_cvector_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vector_cvector_t self, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j) -> vector_cvector_t""" return _libBornAgainCore.vector_cvector_t___getslice__(self, i, j) @@ -2852,8 +2847,8 @@ class vector_cvector_t(_object): def __setslice__(self, *args): """ - __setslice__(vector_cvector_t self, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j) __setslice__(vector_cvector_t self, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j, vector_cvector_t v) + __setslice__(vector_cvector_t self, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j) """ return _libBornAgainCore.vector_cvector_t___setslice__(self, *args) @@ -2888,11 +2883,6 @@ class vector_cvector_t(_object): return _libBornAgainCore.vector_cvector_t___setitem__(self, *args) - def pop(self): - """pop(vector_cvector_t self) -> cvector_t""" - return _libBornAgainCore.vector_cvector_t_pop(self) - - def append(self, x): """append(vector_cvector_t self, cvector_t x)""" return _libBornAgainCore.vector_cvector_t_append(self, x) @@ -2908,11 +2898,21 @@ class vector_cvector_t(_object): return _libBornAgainCore.vector_cvector_t_size(self) + def clear(self): + """clear(vector_cvector_t self)""" + return _libBornAgainCore.vector_cvector_t_clear(self) + + def swap(self, v): """swap(vector_cvector_t self, vector_cvector_t v)""" return _libBornAgainCore.vector_cvector_t_swap(self, v) + def get_allocator(self): + """get_allocator(vector_cvector_t self) -> std::vector< Geometry::BasicVector3D< std::complex< double > > >::allocator_type""" + return _libBornAgainCore.vector_cvector_t_get_allocator(self) + + def begin(self): """begin(vector_cvector_t self) -> std::vector< Geometry::BasicVector3D< std::complex< double > > >::iterator""" return _libBornAgainCore.vector_cvector_t_begin(self) @@ -2933,16 +2933,6 @@ class vector_cvector_t(_object): return _libBornAgainCore.vector_cvector_t_rend(self) - def clear(self): - """clear(vector_cvector_t self)""" - return _libBornAgainCore.vector_cvector_t_clear(self) - - - def get_allocator(self): - """get_allocator(vector_cvector_t self) -> std::vector< Geometry::BasicVector3D< std::complex< double > > >::allocator_type""" - return _libBornAgainCore.vector_cvector_t_get_allocator(self) - - def pop_back(self): """pop_back(vector_cvector_t self)""" return _libBornAgainCore.vector_cvector_t_pop_back(self) @@ -2966,7 +2956,7 @@ class vector_cvector_t(_object): this = _libBornAgainCore.new_vector_cvector_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -3068,7 +3058,6 @@ class WavevectorInfo(_object): C++ includes: WavevectorInfo.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, WavevectorInfo, name, value) __swig_getmethods__ = {} @@ -3086,7 +3075,7 @@ class WavevectorInfo(_object): this = _libBornAgainCore.new_WavevectorInfo(*args) try: self.this.append(this) - except Exception: + except: self.this = this def getKi(self): @@ -3162,7 +3151,6 @@ class Beam(IParameterized): C++ includes: Beam.h """ - __swig_setmethods__ = {} for _s in [IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -3184,7 +3172,7 @@ class Beam(IParameterized): this = _libBornAgainCore.new_Beam(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_Beam __del__ = lambda self: None @@ -3282,15 +3270,7 @@ Beam_swigregister = _libBornAgainCore.Beam_swigregister Beam_swigregister(Beam) class Bin1D(_object): - """ - - - One dimensional bin with left and right bounds. - - C++ includes: Bin.h - - """ - + """Proxy of C++ Bin1D class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Bin1D, name, value) __swig_getmethods__ = {} @@ -3308,7 +3288,7 @@ class Bin1D(_object): this = _libBornAgainCore.new_Bin1D(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_setmethods__["m_lower"] = _libBornAgainCore.Bin1D_m_lower_set __swig_getmethods__["m_lower"] = _libBornAgainCore.Bin1D_m_lower_get @@ -3352,7 +3332,6 @@ class Bin1DKVector(_object): C++ includes: Bin.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Bin1DKVector, name, value) __swig_getmethods__ = {} @@ -3373,7 +3352,7 @@ class Bin1DKVector(_object): this = _libBornAgainCore.new_Bin1DKVector(*args) try: self.this.append(this) - except Exception: + except: self.this = this def getMidPoint(self): @@ -3417,7 +3396,6 @@ class Bin1DCVector(_object): C++ includes: Bin.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Bin1DCVector, name, value) __swig_getmethods__ = {} @@ -3438,7 +3416,7 @@ class Bin1DCVector(_object): this = _libBornAgainCore.new_Bin1DCVector(*args) try: self.this.append(this) - except Exception: + except: self.this = this def getMidPoint(self): @@ -3482,7 +3460,6 @@ class IAxis(_object): C++ includes: IAxis.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, IAxis, name, value) __swig_getmethods__ = {} @@ -3683,7 +3660,6 @@ class VariableBinAxis(IAxis): C++ includes: VariableBinAxis.h """ - __swig_setmethods__ = {} for _s in [IAxis]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -3718,7 +3694,7 @@ class VariableBinAxis(IAxis): this = _libBornAgainCore.new_VariableBinAxis(name, nbins, bin_boundaries) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_VariableBinAxis __del__ = lambda self: None @@ -3853,7 +3829,6 @@ class ConstKBinAxis(VariableBinAxis): C++ includes: ConstKBinAxis.h """ - __swig_setmethods__ = {} for _s in [VariableBinAxis]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -3891,7 +3866,7 @@ class ConstKBinAxis(VariableBinAxis): this = _libBornAgainCore.new_ConstKBinAxis(name, nbins, start, end) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_ConstKBinAxis __del__ = lambda self: None @@ -3931,7 +3906,6 @@ class CustomBinAxis(VariableBinAxis): C++ includes: CustomBinAxis.h """ - __swig_setmethods__ = {} for _s in [VariableBinAxis]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -3969,7 +3943,7 @@ class CustomBinAxis(VariableBinAxis): this = _libBornAgainCore.new_CustomBinAxis(name, nbins, start, end) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_CustomBinAxis __del__ = lambda self: None @@ -4031,7 +4005,6 @@ class IShape2D(ICloneable): C++ includes: IShape2D.h """ - __swig_setmethods__ = {} for _s in [ICloneable]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -4081,7 +4054,6 @@ class ISample(ICloneable, IParameterized): C++ includes: ISample.h """ - __swig_setmethods__ = {} for _s in [ICloneable, IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -4206,7 +4178,7 @@ class ISample(ICloneable, IParameterized): this = _libBornAgainCore.new_ISample(_self, ) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_ISample __del__ = lambda self: None @@ -4228,8 +4200,7 @@ ISample_swigregister = _libBornAgainCore.ISample_swigregister ISample_swigregister(ISample) class swig_dummy_type_isample_vector(_object): - """Proxy of C++ std::vector<(p.ISample)> class.""" - + """Proxy of C++ std::vector<(p.ISample)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, swig_dummy_type_isample_vector, name, value) __swig_getmethods__ = {} @@ -4258,6 +4229,11 @@ class swig_dummy_type_isample_vector(_object): return _libBornAgainCore.swig_dummy_type_isample_vector___len__(self) + def pop(self): + """pop(swig_dummy_type_isample_vector self) -> ISample""" + return _libBornAgainCore.swig_dummy_type_isample_vector_pop(self) + + def __getslice__(self, i, j): """__getslice__(swig_dummy_type_isample_vector self, std::vector< ISample * >::difference_type i, std::vector< ISample * >::difference_type j) -> swig_dummy_type_isample_vector""" return _libBornAgainCore.swig_dummy_type_isample_vector___getslice__(self, i, j) @@ -4265,8 +4241,8 @@ class swig_dummy_type_isample_vector(_object): def __setslice__(self, *args): """ - __setslice__(swig_dummy_type_isample_vector self, std::vector< ISample * >::difference_type i, std::vector< ISample * >::difference_type j) __setslice__(swig_dummy_type_isample_vector self, std::vector< ISample * >::difference_type i, std::vector< ISample * >::difference_type j, swig_dummy_type_isample_vector v) + __setslice__(swig_dummy_type_isample_vector self, std::vector< ISample * >::difference_type i, std::vector< ISample * >::difference_type j) """ return _libBornAgainCore.swig_dummy_type_isample_vector___setslice__(self, *args) @@ -4301,11 +4277,6 @@ class swig_dummy_type_isample_vector(_object): return _libBornAgainCore.swig_dummy_type_isample_vector___setitem__(self, *args) - def pop(self): - """pop(swig_dummy_type_isample_vector self) -> ISample""" - return _libBornAgainCore.swig_dummy_type_isample_vector_pop(self) - - def append(self, x): """append(swig_dummy_type_isample_vector self, ISample x)""" return _libBornAgainCore.swig_dummy_type_isample_vector_append(self, x) @@ -4321,11 +4292,21 @@ class swig_dummy_type_isample_vector(_object): return _libBornAgainCore.swig_dummy_type_isample_vector_size(self) + def clear(self): + """clear(swig_dummy_type_isample_vector self)""" + return _libBornAgainCore.swig_dummy_type_isample_vector_clear(self) + + def swap(self, v): """swap(swig_dummy_type_isample_vector self, swig_dummy_type_isample_vector v)""" return _libBornAgainCore.swig_dummy_type_isample_vector_swap(self, v) + def get_allocator(self): + """get_allocator(swig_dummy_type_isample_vector self) -> std::vector< ISample * >::allocator_type""" + return _libBornAgainCore.swig_dummy_type_isample_vector_get_allocator(self) + + def begin(self): """begin(swig_dummy_type_isample_vector self) -> std::vector< ISample * >::iterator""" return _libBornAgainCore.swig_dummy_type_isample_vector_begin(self) @@ -4346,16 +4327,6 @@ class swig_dummy_type_isample_vector(_object): return _libBornAgainCore.swig_dummy_type_isample_vector_rend(self) - def clear(self): - """clear(swig_dummy_type_isample_vector self)""" - return _libBornAgainCore.swig_dummy_type_isample_vector_clear(self) - - - def get_allocator(self): - """get_allocator(swig_dummy_type_isample_vector self) -> std::vector< ISample * >::allocator_type""" - return _libBornAgainCore.swig_dummy_type_isample_vector_get_allocator(self) - - def pop_back(self): """pop_back(swig_dummy_type_isample_vector self)""" return _libBornAgainCore.swig_dummy_type_isample_vector_pop_back(self) @@ -4379,7 +4350,7 @@ class swig_dummy_type_isample_vector(_object): this = _libBornAgainCore.new_swig_dummy_type_isample_vector(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -4433,8 +4404,7 @@ swig_dummy_type_isample_vector_swigregister = _libBornAgainCore.swig_dummy_type_ swig_dummy_type_isample_vector_swigregister(swig_dummy_type_isample_vector) class swig_dummy_type_const_isample_vector(_object): - """Proxy of C++ std::vector<(p.q(const).ISample)> class.""" - + """Proxy of C++ std::vector<(p.q(const).ISample)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, swig_dummy_type_const_isample_vector, name, value) __swig_getmethods__ = {} @@ -4463,6 +4433,11 @@ class swig_dummy_type_const_isample_vector(_object): return _libBornAgainCore.swig_dummy_type_const_isample_vector___len__(self) + def pop(self): + """pop(swig_dummy_type_const_isample_vector self) -> ISample""" + return _libBornAgainCore.swig_dummy_type_const_isample_vector_pop(self) + + def __getslice__(self, i, j): """__getslice__(swig_dummy_type_const_isample_vector self, std::vector< ISample const * >::difference_type i, std::vector< ISample const * >::difference_type j) -> swig_dummy_type_const_isample_vector""" return _libBornAgainCore.swig_dummy_type_const_isample_vector___getslice__(self, i, j) @@ -4470,8 +4445,8 @@ class swig_dummy_type_const_isample_vector(_object): def __setslice__(self, *args): """ - __setslice__(swig_dummy_type_const_isample_vector self, std::vector< ISample const * >::difference_type i, std::vector< ISample const * >::difference_type j) __setslice__(swig_dummy_type_const_isample_vector self, std::vector< ISample const * >::difference_type i, std::vector< ISample const * >::difference_type j, swig_dummy_type_const_isample_vector v) + __setslice__(swig_dummy_type_const_isample_vector self, std::vector< ISample const * >::difference_type i, std::vector< ISample const * >::difference_type j) """ return _libBornAgainCore.swig_dummy_type_const_isample_vector___setslice__(self, *args) @@ -4506,11 +4481,6 @@ class swig_dummy_type_const_isample_vector(_object): return _libBornAgainCore.swig_dummy_type_const_isample_vector___setitem__(self, *args) - def pop(self): - """pop(swig_dummy_type_const_isample_vector self) -> ISample""" - return _libBornAgainCore.swig_dummy_type_const_isample_vector_pop(self) - - def append(self, x): """append(swig_dummy_type_const_isample_vector self, ISample x)""" return _libBornAgainCore.swig_dummy_type_const_isample_vector_append(self, x) @@ -4526,11 +4496,21 @@ class swig_dummy_type_const_isample_vector(_object): return _libBornAgainCore.swig_dummy_type_const_isample_vector_size(self) + def clear(self): + """clear(swig_dummy_type_const_isample_vector self)""" + return _libBornAgainCore.swig_dummy_type_const_isample_vector_clear(self) + + def swap(self, v): """swap(swig_dummy_type_const_isample_vector self, swig_dummy_type_const_isample_vector v)""" return _libBornAgainCore.swig_dummy_type_const_isample_vector_swap(self, v) + def get_allocator(self): + """get_allocator(swig_dummy_type_const_isample_vector self) -> std::vector< ISample const * >::allocator_type""" + return _libBornAgainCore.swig_dummy_type_const_isample_vector_get_allocator(self) + + def begin(self): """begin(swig_dummy_type_const_isample_vector self) -> std::vector< ISample const * >::iterator""" return _libBornAgainCore.swig_dummy_type_const_isample_vector_begin(self) @@ -4551,16 +4531,6 @@ class swig_dummy_type_const_isample_vector(_object): return _libBornAgainCore.swig_dummy_type_const_isample_vector_rend(self) - def clear(self): - """clear(swig_dummy_type_const_isample_vector self)""" - return _libBornAgainCore.swig_dummy_type_const_isample_vector_clear(self) - - - def get_allocator(self): - """get_allocator(swig_dummy_type_const_isample_vector self) -> std::vector< ISample const * >::allocator_type""" - return _libBornAgainCore.swig_dummy_type_const_isample_vector_get_allocator(self) - - def pop_back(self): """pop_back(swig_dummy_type_const_isample_vector self)""" return _libBornAgainCore.swig_dummy_type_const_isample_vector_pop_back(self) @@ -4584,7 +4554,7 @@ class swig_dummy_type_const_isample_vector(_object): this = _libBornAgainCore.new_swig_dummy_type_const_isample_vector(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -4646,7 +4616,6 @@ class ISampleBuilder(IParameterized): C++ includes: ISampleBuilder.h """ - __swig_setmethods__ = {} for _s in [IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -4671,7 +4640,7 @@ class ISampleBuilder(IParameterized): this = _libBornAgainCore.new_ISampleBuilder(_self, ) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_ISampleBuilder __del__ = lambda self: None @@ -4772,7 +4741,6 @@ class ISampleVisitor(_object): C++ includes: ISampleVisitor.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ISampleVisitor, name, value) __swig_getmethods__ = {} @@ -4789,7 +4757,7 @@ class ISampleVisitor(_object): this = _libBornAgainCore.new_ISampleVisitor() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_ISampleVisitor __del__ = lambda self: None @@ -4946,7 +4914,6 @@ class ICompositeSample(ISample): C++ includes: ICompositeSample.h """ - __swig_setmethods__ = {} for _s in [ISample]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -5047,7 +5014,6 @@ class IClusteredParticles(ICompositeSample): C++ includes: IClusteredParticles.h """ - __swig_setmethods__ = {} for _s in [ICompositeSample]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -5142,7 +5108,6 @@ class Crystal(IClusteredParticles): C++ includes: Crystal.h """ - __swig_setmethods__ = {} for _s in [IClusteredParticles]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -5163,7 +5128,7 @@ class Crystal(IClusteredParticles): this = _libBornAgainCore.new_Crystal(lattice_basis, lattice) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_Crystal __del__ = lambda self: None @@ -5267,7 +5232,6 @@ class IDistribution1D(IParameterized): C++ includes: Distributions.h """ - __swig_setmethods__ = {} for _s in [IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -5395,7 +5359,6 @@ class DistributionGate(IDistribution1D): C++ includes: Distributions.h """ - __swig_setmethods__ = {} for _s in [IDistribution1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -5417,7 +5380,7 @@ class DistributionGate(IDistribution1D): this = _libBornAgainCore.new_DistributionGate(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_DistributionGate __del__ = lambda self: None @@ -5506,7 +5469,6 @@ class DistributionLorentz(IDistribution1D): C++ includes: Distributions.h """ - __swig_setmethods__ = {} for _s in [IDistribution1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -5528,7 +5490,7 @@ class DistributionLorentz(IDistribution1D): this = _libBornAgainCore.new_DistributionLorentz(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_DistributionLorentz __del__ = lambda self: None @@ -5605,7 +5567,6 @@ class DistributionGaussian(IDistribution1D): C++ includes: Distributions.h """ - __swig_setmethods__ = {} for _s in [IDistribution1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -5627,7 +5588,7 @@ class DistributionGaussian(IDistribution1D): this = _libBornAgainCore.new_DistributionGaussian(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_DistributionGaussian __del__ = lambda self: None @@ -5704,7 +5665,6 @@ class DistributionLogNormal(IDistribution1D): C++ includes: Distributions.h """ - __swig_setmethods__ = {} for _s in [IDistribution1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -5726,7 +5686,7 @@ class DistributionLogNormal(IDistribution1D): this = _libBornAgainCore.new_DistributionLogNormal(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_DistributionLogNormal __del__ = lambda self: None @@ -5815,7 +5775,6 @@ class DistributionCosine(IDistribution1D): C++ includes: Distributions.h """ - __swig_setmethods__ = {} for _s in [IDistribution1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -5837,7 +5796,7 @@ class DistributionCosine(IDistribution1D): this = _libBornAgainCore.new_DistributionCosine(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_DistributionCosine __del__ = lambda self: None @@ -5914,7 +5873,6 @@ class Ellipse(IShape2D): C++ includes: Ellipse.h """ - __swig_setmethods__ = {} for _s in [IShape2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -5956,7 +5914,7 @@ class Ellipse(IShape2D): this = _libBornAgainCore.new_Ellipse(xcenter, ycenter, xradius, yradius, theta) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -6045,7 +6003,6 @@ class IFTDecayFunction1D(IParameterized): C++ includes: FTDecayFunctions.h """ - __swig_setmethods__ = {} for _s in [IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6112,7 +6069,6 @@ class FTDecayFunction1DCauchy(IFTDecayFunction1D): C++ includes: FTDecayFunctions.h """ - __swig_setmethods__ = {} for _s in [IFTDecayFunction1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6133,7 +6089,7 @@ class FTDecayFunction1DCauchy(IFTDecayFunction1D): this = _libBornAgainCore.new_FTDecayFunction1DCauchy(omega) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDecayFunction1DCauchy __del__ = lambda self: None @@ -6169,7 +6125,6 @@ class FTDecayFunction1DGauss(IFTDecayFunction1D): C++ includes: FTDecayFunctions.h """ - __swig_setmethods__ = {} for _s in [IFTDecayFunction1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6190,7 +6145,7 @@ class FTDecayFunction1DGauss(IFTDecayFunction1D): this = _libBornAgainCore.new_FTDecayFunction1DGauss(omega) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDecayFunction1DGauss __del__ = lambda self: None @@ -6226,7 +6181,6 @@ class FTDecayFunction1DTriangle(IFTDecayFunction1D): C++ includes: FTDecayFunctions.h """ - __swig_setmethods__ = {} for _s in [IFTDecayFunction1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6247,7 +6201,7 @@ class FTDecayFunction1DTriangle(IFTDecayFunction1D): this = _libBornAgainCore.new_FTDecayFunction1DTriangle(omega) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDecayFunction1DTriangle __del__ = lambda self: None @@ -6283,7 +6237,6 @@ class FTDecayFunction1DVoigt(IFTDecayFunction1D): C++ includes: FTDecayFunctions.h """ - __swig_setmethods__ = {} for _s in [IFTDecayFunction1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6304,7 +6257,7 @@ class FTDecayFunction1DVoigt(IFTDecayFunction1D): this = _libBornAgainCore.new_FTDecayFunction1DVoigt(omega, eta) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDecayFunction1DVoigt __del__ = lambda self: None @@ -6350,7 +6303,6 @@ class IFTDecayFunction2D(IParameterized): C++ includes: FTDecayFunctions.h """ - __swig_setmethods__ = {} for _s in [IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6471,7 +6423,6 @@ class FTDecayFunction2DCauchy(IFTDecayFunction2D): C++ includes: FTDecayFunctions.h """ - __swig_setmethods__ = {} for _s in [IFTDecayFunction2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6492,7 +6443,7 @@ class FTDecayFunction2DCauchy(IFTDecayFunction2D): this = _libBornAgainCore.new_FTDecayFunction2DCauchy(decay_length_x, decay_length_y) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDecayFunction2DCauchy __del__ = lambda self: None @@ -6530,7 +6481,6 @@ class FTDecayFunction2DGauss(IFTDecayFunction2D): C++ includes: FTDecayFunctions.h """ - __swig_setmethods__ = {} for _s in [IFTDecayFunction2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6551,7 +6501,7 @@ class FTDecayFunction2DGauss(IFTDecayFunction2D): this = _libBornAgainCore.new_FTDecayFunction2DGauss(decay_length_x, decay_length_y) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDecayFunction2DGauss __del__ = lambda self: None @@ -6589,7 +6539,6 @@ class FTDecayFunction2DVoigt(IFTDecayFunction2D): C++ includes: FTDecayFunctions.h """ - __swig_setmethods__ = {} for _s in [IFTDecayFunction2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6610,7 +6559,7 @@ class FTDecayFunction2DVoigt(IFTDecayFunction2D): this = _libBornAgainCore.new_FTDecayFunction2DVoigt(decay_length_x, decay_length_y, eta) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDecayFunction2DVoigt __del__ = lambda self: None @@ -6658,7 +6607,6 @@ class IFTDistribution1D(IParameterized): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6725,7 +6673,6 @@ class FTDistribution1DCauchy(IFTDistribution1D): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IFTDistribution1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6746,7 +6693,7 @@ class FTDistribution1DCauchy(IFTDistribution1D): this = _libBornAgainCore.new_FTDistribution1DCauchy(omega) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDistribution1DCauchy __del__ = lambda self: None @@ -6782,7 +6729,6 @@ class FTDistribution1DGauss(IFTDistribution1D): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IFTDistribution1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6803,7 +6749,7 @@ class FTDistribution1DGauss(IFTDistribution1D): this = _libBornAgainCore.new_FTDistribution1DGauss(omega) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDistribution1DGauss __del__ = lambda self: None @@ -6839,7 +6785,6 @@ class FTDistribution1DGate(IFTDistribution1D): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IFTDistribution1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6860,7 +6805,7 @@ class FTDistribution1DGate(IFTDistribution1D): this = _libBornAgainCore.new_FTDistribution1DGate(omega) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDistribution1DGate __del__ = lambda self: None @@ -6896,7 +6841,6 @@ class FTDistribution1DTriangle(IFTDistribution1D): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IFTDistribution1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6917,7 +6861,7 @@ class FTDistribution1DTriangle(IFTDistribution1D): this = _libBornAgainCore.new_FTDistribution1DTriangle(omega) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDistribution1DTriangle __del__ = lambda self: None @@ -6953,7 +6897,6 @@ class FTDistribution1DCosine(IFTDistribution1D): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IFTDistribution1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -6974,7 +6917,7 @@ class FTDistribution1DCosine(IFTDistribution1D): this = _libBornAgainCore.new_FTDistribution1DCosine(omega) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDistribution1DCosine __del__ = lambda self: None @@ -7010,7 +6953,6 @@ class FTDistribution1DVoigt(IFTDistribution1D): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IFTDistribution1D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -7031,7 +6973,7 @@ class FTDistribution1DVoigt(IFTDistribution1D): this = _libBornAgainCore.new_FTDistribution1DVoigt(omega, eta) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDistribution1DVoigt __del__ = lambda self: None @@ -7077,7 +7019,6 @@ class IFTDistribution2D(IParameterized): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -7176,7 +7117,6 @@ class FTDistribution2DCauchy(IFTDistribution2D): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IFTDistribution2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -7197,7 +7137,7 @@ class FTDistribution2DCauchy(IFTDistribution2D): this = _libBornAgainCore.new_FTDistribution2DCauchy(coherence_length_x, coherence_length_y) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDistribution2DCauchy __del__ = lambda self: None @@ -7235,7 +7175,6 @@ class FTDistribution2DGauss(IFTDistribution2D): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IFTDistribution2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -7256,7 +7195,7 @@ class FTDistribution2DGauss(IFTDistribution2D): this = _libBornAgainCore.new_FTDistribution2DGauss(coherence_length_x, coherence_length_y) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDistribution2DGauss __del__ = lambda self: None @@ -7294,7 +7233,6 @@ class FTDistribution2DGate(IFTDistribution2D): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IFTDistribution2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -7315,7 +7253,7 @@ class FTDistribution2DGate(IFTDistribution2D): this = _libBornAgainCore.new_FTDistribution2DGate(coherence_length_x, coherence_length_y) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDistribution2DGate __del__ = lambda self: None @@ -7353,7 +7291,6 @@ class FTDistribution2DCone(IFTDistribution2D): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IFTDistribution2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -7374,7 +7311,7 @@ class FTDistribution2DCone(IFTDistribution2D): this = _libBornAgainCore.new_FTDistribution2DCone(coherence_length_x, coherence_length_y) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDistribution2DCone __del__ = lambda self: None @@ -7412,7 +7349,6 @@ class FTDistribution2DVoigt(IFTDistribution2D): C++ includes: FTDistributions.h """ - __swig_setmethods__ = {} for _s in [IFTDistribution2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -7433,7 +7369,7 @@ class FTDistribution2DVoigt(IFTDistribution2D): this = _libBornAgainCore.new_FTDistribution2DVoigt(coherence_length_x, coherence_length_y, eta) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FTDistribution2DVoigt __del__ = lambda self: None @@ -7481,7 +7417,6 @@ class FixedBinAxis(IAxis): C++ includes: FixedBinAxis.h """ - __swig_setmethods__ = {} for _s in [IAxis]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -7519,7 +7454,7 @@ class FixedBinAxis(IAxis): this = _libBornAgainCore.new_FixedBinAxis(name, nbins, start, end) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FixedBinAxis __del__ = lambda self: None @@ -7654,7 +7589,6 @@ class IFormFactor(ISample): C++ includes: IFormFactor.h """ - __swig_setmethods__ = {} for _s in [ISample]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -7679,7 +7613,7 @@ class IFormFactor(ISample): this = _libBornAgainCore.new_IFormFactor(_self, ) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_IFormFactor __del__ = lambda self: None @@ -7785,8 +7719,7 @@ IFormFactor_swigregister = _libBornAgainCore.IFormFactor_swigregister IFormFactor_swigregister(IFormFactor) class vector_IFormFactorPtr_t(_object): - """Proxy of C++ std::vector<(p.IFormFactor)> class.""" - + """Proxy of C++ std::vector<(p.IFormFactor)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vector_IFormFactorPtr_t, name, value) __swig_getmethods__ = {} @@ -7815,6 +7748,11 @@ class vector_IFormFactorPtr_t(_object): return _libBornAgainCore.vector_IFormFactorPtr_t___len__(self) + def pop(self): + """pop(vector_IFormFactorPtr_t self) -> IFormFactor""" + return _libBornAgainCore.vector_IFormFactorPtr_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vector_IFormFactorPtr_t self, std::vector< IFormFactor * >::difference_type i, std::vector< IFormFactor * >::difference_type j) -> vector_IFormFactorPtr_t""" return _libBornAgainCore.vector_IFormFactorPtr_t___getslice__(self, i, j) @@ -7822,8 +7760,8 @@ class vector_IFormFactorPtr_t(_object): def __setslice__(self, *args): """ - __setslice__(vector_IFormFactorPtr_t self, std::vector< IFormFactor * >::difference_type i, std::vector< IFormFactor * >::difference_type j) __setslice__(vector_IFormFactorPtr_t self, std::vector< IFormFactor * >::difference_type i, std::vector< IFormFactor * >::difference_type j, vector_IFormFactorPtr_t v) + __setslice__(vector_IFormFactorPtr_t self, std::vector< IFormFactor * >::difference_type i, std::vector< IFormFactor * >::difference_type j) """ return _libBornAgainCore.vector_IFormFactorPtr_t___setslice__(self, *args) @@ -7858,11 +7796,6 @@ class vector_IFormFactorPtr_t(_object): return _libBornAgainCore.vector_IFormFactorPtr_t___setitem__(self, *args) - def pop(self): - """pop(vector_IFormFactorPtr_t self) -> IFormFactor""" - return _libBornAgainCore.vector_IFormFactorPtr_t_pop(self) - - def append(self, x): """append(vector_IFormFactorPtr_t self, IFormFactor x)""" return _libBornAgainCore.vector_IFormFactorPtr_t_append(self, x) @@ -7878,11 +7811,21 @@ class vector_IFormFactorPtr_t(_object): return _libBornAgainCore.vector_IFormFactorPtr_t_size(self) + def clear(self): + """clear(vector_IFormFactorPtr_t self)""" + return _libBornAgainCore.vector_IFormFactorPtr_t_clear(self) + + def swap(self, v): """swap(vector_IFormFactorPtr_t self, vector_IFormFactorPtr_t v)""" return _libBornAgainCore.vector_IFormFactorPtr_t_swap(self, v) + def get_allocator(self): + """get_allocator(vector_IFormFactorPtr_t self) -> std::vector< IFormFactor * >::allocator_type""" + return _libBornAgainCore.vector_IFormFactorPtr_t_get_allocator(self) + + def begin(self): """begin(vector_IFormFactorPtr_t self) -> std::vector< IFormFactor * >::iterator""" return _libBornAgainCore.vector_IFormFactorPtr_t_begin(self) @@ -7903,16 +7846,6 @@ class vector_IFormFactorPtr_t(_object): return _libBornAgainCore.vector_IFormFactorPtr_t_rend(self) - def clear(self): - """clear(vector_IFormFactorPtr_t self)""" - return _libBornAgainCore.vector_IFormFactorPtr_t_clear(self) - - - def get_allocator(self): - """get_allocator(vector_IFormFactorPtr_t self) -> std::vector< IFormFactor * >::allocator_type""" - return _libBornAgainCore.vector_IFormFactorPtr_t_get_allocator(self) - - def pop_back(self): """pop_back(vector_IFormFactorPtr_t self)""" return _libBornAgainCore.vector_IFormFactorPtr_t_pop_back(self) @@ -7936,7 +7869,7 @@ class vector_IFormFactorPtr_t(_object): this = _libBornAgainCore.new_vector_IFormFactorPtr_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -7998,7 +7931,6 @@ class IFormFactorBorn(IFormFactor): C++ includes: IFormFactorBorn.h """ - __swig_setmethods__ = {} for _s in [IFormFactor]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -8023,7 +7955,7 @@ class IFormFactorBorn(IFormFactor): this = _libBornAgainCore.new_IFormFactorBorn(_self, ) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_IFormFactorBorn __del__ = lambda self: None @@ -8112,7 +8044,6 @@ class IFormFactorDecorator(IFormFactor): C++ includes: IFormFactorDecorator.h """ - __swig_setmethods__ = {} for _s in [IFormFactor]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -8189,8 +8120,7 @@ IFormFactorDecorator_swigregister = _libBornAgainCore.IFormFactorDecorator_swigr IFormFactorDecorator_swigregister(IFormFactorDecorator) class PolygonalTopology(_object): - """Proxy of C++ PolygonalTopology class.""" - + """Proxy of C++ PolygonalTopology class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, PolygonalTopology, name, value) __swig_getmethods__ = {} @@ -8210,7 +8140,7 @@ class PolygonalTopology(_object): this = _libBornAgainCore.new_PolygonalTopology() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_PolygonalTopology __del__ = lambda self: None @@ -8218,8 +8148,7 @@ PolygonalTopology_swigregister = _libBornAgainCore.PolygonalTopology_swigregiste PolygonalTopology_swigregister(PolygonalTopology) class PolyhedralTopology(_object): - """Proxy of C++ PolyhedralTopology class.""" - + """Proxy of C++ PolyhedralTopology class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, PolyhedralTopology, name, value) __swig_getmethods__ = {} @@ -8239,7 +8168,7 @@ class PolyhedralTopology(_object): this = _libBornAgainCore.new_PolyhedralTopology() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_PolyhedralTopology __del__ = lambda self: None @@ -8255,7 +8184,6 @@ class PolyhedralEdge(_object): C++ includes: FormFactorPolyhedron.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, PolyhedralEdge, name, value) __swig_getmethods__ = {} @@ -8272,7 +8200,7 @@ class PolyhedralEdge(_object): this = _libBornAgainCore.new_PolyhedralEdge(_Vlow, _Vhig) try: self.this.append(this) - except Exception: + except: self.this = this def E(self): @@ -8340,7 +8268,6 @@ class PolyhedralFace(_object): C++ includes: FormFactorPolyhedron.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, PolyhedralFace, name, value) __swig_getmethods__ = {} @@ -8378,7 +8305,7 @@ class PolyhedralFace(_object): this = _libBornAgainCore.new_PolyhedralFace(*args) try: self.this.append(this) - except Exception: + except: self.this = this def area(self): @@ -8498,7 +8425,6 @@ class FormFactorPolyhedron(IFormFactorBorn): C++ includes: FormFactorPolyhedron.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -8597,7 +8523,6 @@ class FormFactorPolygonalPrism(IFormFactorBorn): C++ includes: FormFactorPolyhedron.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -8670,7 +8595,6 @@ class FormFactorPolygonalSurface(IFormFactorBorn): C++ includes: FormFactorPolyhedron.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -8739,7 +8663,6 @@ class FormFactorAnisoPyramid(FormFactorPolyhedron): C++ includes: FormFactorAnisoPyramid.h """ - __swig_setmethods__ = {} for _s in [FormFactorPolyhedron]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -8777,7 +8700,7 @@ class FormFactorAnisoPyramid(FormFactorPolyhedron): this = _libBornAgainCore.new_FormFactorAnisoPyramid(length, width, height, alpha) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -8859,7 +8782,6 @@ class FormFactorBox(IFormFactorBorn): C++ includes: FormFactorBox.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -8894,7 +8816,7 @@ class FormFactorBox(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorBox(length, width, height) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -9000,7 +8922,6 @@ class FormFactorCone(IFormFactorBorn): C++ includes: FormFactorCone.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -9035,7 +8956,7 @@ class FormFactorCone(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorCone(radius, height, alpha) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorCone __del__ = lambda self: None @@ -9125,7 +9046,6 @@ class FormFactorCone6(FormFactorPolyhedron): C++ includes: FormFactorCone6.h """ - __swig_setmethods__ = {} for _s in [FormFactorPolyhedron]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -9160,7 +9080,7 @@ class FormFactorCone6(FormFactorPolyhedron): this = _libBornAgainCore.new_FormFactorCone6(base_edge, height, alpha) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -9230,7 +9150,6 @@ class FormFactorCrystal(IFormFactorBorn): C++ includes: FormFactorCrystal.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -9251,7 +9170,7 @@ class FormFactorCrystal(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorCrystal(lattice, basis_form_factor, meso_form_factor) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorCrystal __del__ = lambda self: None @@ -9345,7 +9264,6 @@ class FormFactorCuboctahedron(FormFactorPolyhedron): C++ includes: FormFactorCuboctahedron.h """ - __swig_setmethods__ = {} for _s in [FormFactorPolyhedron]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -9383,7 +9301,7 @@ class FormFactorCuboctahedron(FormFactorPolyhedron): this = _libBornAgainCore.new_FormFactorCuboctahedron(length, height, height_ratio, alpha) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -9463,7 +9381,6 @@ class FormFactorCylinder(IFormFactorBorn): C++ includes: FormFactorCylinder.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -9495,7 +9412,7 @@ class FormFactorCylinder(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorCylinder(radius, height) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorCylinder __del__ = lambda self: None @@ -9575,7 +9492,6 @@ class FormFactorDecoratorDebyeWaller(IFormFactorDecorator): C++ includes: FormFactorDecoratorDebyeWaller.h """ - __swig_setmethods__ = {} for _s in [IFormFactorDecorator]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -9599,7 +9515,7 @@ class FormFactorDecoratorDebyeWaller(IFormFactorDecorator): this = _libBornAgainCore.new_FormFactorDecoratorDebyeWaller(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorDecoratorDebyeWaller __del__ = lambda self: None @@ -9651,7 +9567,6 @@ class FormFactorDodecahedron(FormFactorPolyhedron): C++ includes: FormFactorDodecahedron.h """ - __swig_setmethods__ = {} for _s in [FormFactorPolyhedron]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -9680,7 +9595,7 @@ class FormFactorDodecahedron(FormFactorPolyhedron): this = _libBornAgainCore.new_FormFactorDodecahedron(edge) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -9730,7 +9645,6 @@ class FormFactorEllipsoidalCylinder(IFormFactorBorn): C++ includes: FormFactorEllipsoidalCylinder.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -9765,7 +9679,7 @@ class FormFactorEllipsoidalCylinder(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorEllipsoidalCylinder(radius_x, radius_y, height) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -9865,7 +9779,6 @@ class FormFactorFullSphere(IFormFactorBorn): C++ includes: FormFactorFullSphere.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -9894,7 +9807,7 @@ class FormFactorFullSphere(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorFullSphere(radius) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -9964,7 +9877,6 @@ class FormFactorFullSpheroid(IFormFactorBorn): C++ includes: FormFactorFullSpheroid.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -9996,7 +9908,7 @@ class FormFactorFullSpheroid(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorFullSpheroid(radius, height) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorFullSpheroid __del__ = lambda self: None @@ -10076,7 +9988,6 @@ class FormFactorGauss(IFormFactorBorn): C++ includes: FormFactorGauss.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -10098,7 +10009,7 @@ class FormFactorGauss(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorGauss(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorGauss __del__ = lambda self: None @@ -10180,7 +10091,6 @@ class FormFactorHemiEllipsoid(IFormFactorBorn): C++ includes: FormFactorHemiEllipsoid.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -10215,7 +10125,7 @@ class FormFactorHemiEllipsoid(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorHemiEllipsoid(radius_x, radius_y, height) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorHemiEllipsoid __del__ = lambda self: None @@ -10315,7 +10225,6 @@ class FormFactorIcosahedron(FormFactorPolyhedron): C++ includes: FormFactorIcosahedron.h """ - __swig_setmethods__ = {} for _s in [FormFactorPolyhedron]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -10336,7 +10245,7 @@ class FormFactorIcosahedron(FormFactorPolyhedron): this = _libBornAgainCore.new_FormFactorIcosahedron(edge) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -10378,8 +10287,7 @@ FormFactorIcosahedron_swigregister = _libBornAgainCore.FormFactorIcosahedron_swi FormFactorIcosahedron_swigregister(FormFactorIcosahedron) class FormFactorLongBoxGauss(IFormFactorBorn): - """Proxy of C++ FormFactorLongBoxGauss class.""" - + """Proxy of C++ FormFactorLongBoxGauss class""" __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -10414,7 +10322,7 @@ class FormFactorLongBoxGauss(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorLongBoxGauss(length, width, height) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -10512,8 +10420,7 @@ FormFactorLongBoxGauss_swigregister = _libBornAgainCore.FormFactorLongBoxGauss_s FormFactorLongBoxGauss_swigregister(FormFactorLongBoxGauss) class FormFactorLongBoxLorentz(IFormFactorBorn): - """Proxy of C++ FormFactorLongBoxLorentz class.""" - + """Proxy of C++ FormFactorLongBoxLorentz class""" __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -10548,7 +10455,7 @@ class FormFactorLongBoxLorentz(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorLongBoxLorentz(length, width, height) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -10654,7 +10561,6 @@ class FormFactorLongRipple1Gauss(IFormFactorBorn): C++ includes: FormFactorLongRipple1Gauss.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -10689,7 +10595,7 @@ class FormFactorLongRipple1Gauss(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorLongRipple1Gauss(length, width, height) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorLongRipple1Gauss __del__ = lambda self: None @@ -10783,7 +10689,6 @@ class FormFactorLongRipple1Lorentz(IFormFactorBorn): C++ includes: FormFactorLongRipple1Lorentz.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -10818,7 +10723,7 @@ class FormFactorLongRipple1Lorentz(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorLongRipple1Lorentz(length, width, height) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorLongRipple1Lorentz __del__ = lambda self: None @@ -10912,7 +10817,6 @@ class FormFactorLongRipple2Gauss(IFormFactorBorn): C++ includes: FormFactorLongRipple2Gauss.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -10950,7 +10854,7 @@ class FormFactorLongRipple2Gauss(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorLongRipple2Gauss(length, width, height, asymmetry) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorLongRipple2Gauss __del__ = lambda self: None @@ -11054,7 +10958,6 @@ class FormFactorLongRipple2Lorentz(IFormFactorBorn): C++ includes: FormFactorLongRipple2Lorentz.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -11092,7 +10995,7 @@ class FormFactorLongRipple2Lorentz(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorLongRipple2Lorentz(length, width, height, asymmetry) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorLongRipple2Lorentz __del__ = lambda self: None @@ -11196,7 +11099,6 @@ class FormFactorLorentz(IFormFactorBorn): C++ includes: FormFactorLorentz.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -11218,7 +11120,7 @@ class FormFactorLorentz(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorLorentz(*args) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -11312,7 +11214,6 @@ class FormFactorPrism3(FormFactorPolygonalPrism): C++ includes: FormFactorPrism3.h """ - __swig_setmethods__ = {} for _s in [FormFactorPolygonalPrism]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -11344,7 +11245,7 @@ class FormFactorPrism3(FormFactorPolygonalPrism): this = _libBornAgainCore.new_FormFactorPrism3(base_edge, height) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -11394,7 +11295,6 @@ class FormFactorPrism6(FormFactorPolygonalPrism): C++ includes: FormFactorPrism6.h """ - __swig_setmethods__ = {} for _s in [FormFactorPolygonalPrism]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -11426,7 +11326,7 @@ class FormFactorPrism6(FormFactorPolygonalPrism): this = _libBornAgainCore.new_FormFactorPrism6(base_edge, height) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -11476,7 +11376,6 @@ class FormFactorPyramid(FormFactorPolyhedron): C++ includes: FormFactorPyramid.h """ - __swig_setmethods__ = {} for _s in [FormFactorPolyhedron]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -11511,7 +11410,7 @@ class FormFactorPyramid(FormFactorPolyhedron): this = _libBornAgainCore.new_FormFactorPyramid(base_edge, height, alpha) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -11581,7 +11480,6 @@ class FormFactorRipple1(IFormFactorBorn): C++ includes: FormFactorRipple1.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -11616,7 +11514,7 @@ class FormFactorRipple1(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorRipple1(length, width, height) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorRipple1 __del__ = lambda self: None @@ -11710,7 +11608,6 @@ class FormFactorRipple2(IFormFactorBorn): C++ includes: FormFactorRipple2.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -11748,7 +11645,7 @@ class FormFactorRipple2(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorRipple2(length, width, height, asymmetry) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorRipple2 __del__ = lambda self: None @@ -11852,7 +11749,6 @@ class FormFactorSphereGaussianRadius(IFormFactorBorn): C++ includes: FormFactorSphereGaussianRadius.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -11873,7 +11769,7 @@ class FormFactorSphereGaussianRadius(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorSphereGaussianRadius(mean, sigma) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -11943,7 +11839,6 @@ class FormFactorSphereLogNormalRadius(IFormFactorBorn): C++ includes: FormFactorSphereLogNormalRadius.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -11964,7 +11859,7 @@ class FormFactorSphereLogNormalRadius(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorSphereLogNormalRadius(mean, scale_param, n_samples) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -12034,7 +11929,6 @@ class FormFactorSphereUniformRadius(IFormFactorBorn): C++ includes: FormFactorSphereUniformRadius.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -12055,7 +11949,7 @@ class FormFactorSphereUniformRadius(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorSphereUniformRadius(mean, full_width) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -12125,7 +12019,6 @@ class FormFactorTetrahedron(FormFactorPolyhedron): C++ includes: FormFactorTetrahedron.h """ - __swig_setmethods__ = {} for _s in [FormFactorPolyhedron]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -12160,7 +12053,7 @@ class FormFactorTetrahedron(FormFactorPolyhedron): this = _libBornAgainCore.new_FormFactorTetrahedron(base_edge, height, alpha) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -12230,7 +12123,6 @@ class FormFactorTrivial(IFormFactorBorn): C++ includes: FormFactorTrivial.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -12251,7 +12143,7 @@ class FormFactorTrivial(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorTrivial() try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -12321,7 +12213,6 @@ class FormFactorTruncatedCube(FormFactorPolyhedron): C++ includes: FormFactorTruncatedCube.h """ - __swig_setmethods__ = {} for _s in [FormFactorPolyhedron]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -12351,7 +12242,7 @@ class FormFactorTruncatedCube(FormFactorPolyhedron): this = _libBornAgainCore.new_FormFactorTruncatedCube(length, removed_length) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -12411,7 +12302,6 @@ class FormFactorTruncatedSphere(IFormFactorBorn): C++ includes: FormFactorTruncatedSphere.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -12443,7 +12333,7 @@ class FormFactorTruncatedSphere(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorTruncatedSphere(radius, height) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorTruncatedSphere __del__ = lambda self: None @@ -12505,7 +12395,6 @@ class FormFactorTruncatedSpheroid(IFormFactorBorn): C++ includes: FormFactorTruncatedSpheroid.h """ - __swig_setmethods__ = {} for _s in [IFormFactorBorn]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -12526,7 +12415,7 @@ class FormFactorTruncatedSpheroid(IFormFactorBorn): this = _libBornAgainCore.new_FormFactorTruncatedSpheroid(radius, height, height_flattening) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorTruncatedSpheroid __del__ = lambda self: None @@ -12616,7 +12505,6 @@ class FormFactorWeighted(IFormFactor): C++ includes: FormFactorWeighted.h """ - __swig_setmethods__ = {} for _s in [IFormFactor]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -12637,7 +12525,7 @@ class FormFactorWeighted(IFormFactor): this = _libBornAgainCore.new_FormFactorWeighted() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_FormFactorWeighted __del__ = lambda self: None @@ -12722,7 +12610,6 @@ class Simulation(ICloneable, IParameterized): C++ includes: GISASSimulation.h """ - __swig_setmethods__ = {} for _s in [ICloneable, IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -12918,7 +12805,6 @@ class SimulationOptions(_object): C++ includes: SimulationOptions.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SimulationOptions, name, value) __swig_getmethods__ = {} @@ -12935,7 +12821,7 @@ class SimulationOptions(_object): this = _libBornAgainCore.new_SimulationOptions() try: self.this.append(this) - except Exception: + except: self.this = this def isIntegrate(self): @@ -13062,8 +12948,7 @@ SimulationOptions_swigregister = _libBornAgainCore.SimulationOptions_swigregiste SimulationOptions_swigregister(SimulationOptions) class GISASSimulation(Simulation): - """Proxy of C++ GISASSimulation class.""" - + """Proxy of C++ GISASSimulation class""" __swig_setmethods__ = {} for _s in [Simulation]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -13086,7 +12971,7 @@ class GISASSimulation(Simulation): this = _libBornAgainCore.new_GISASSimulation(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_GISASSimulation __del__ = lambda self: None @@ -13363,7 +13248,6 @@ class IHistogram(_object): C++ includes: IHistogram.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, IHistogram, name, value) __swig_getmethods__ = {} @@ -13906,8 +13790,7 @@ def IHistogram_createFrom(filename): return _libBornAgainCore.IHistogram_createFrom(filename) class Histogram1D(IHistogram): - """Proxy of C++ Histogram1D class.""" - + """Proxy of C++ Histogram1D class""" __swig_setmethods__ = {} for _s in [IHistogram]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -13933,7 +13816,7 @@ class Histogram1D(IHistogram): this = _libBornAgainCore.new_Histogram1D(*args) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -14053,8 +13936,7 @@ def Histogram1D_dynamicCast(pHistogram): return _libBornAgainCore.Histogram1D_dynamicCast(pHistogram) class Histogram2D(IHistogram): - """Proxy of C++ Histogram2D class.""" - + """Proxy of C++ Histogram2D class""" __swig_setmethods__ = {} for _s in [IHistogram]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -14080,7 +13962,7 @@ class Histogram2D(IHistogram): this = _libBornAgainCore.new_Histogram2D(*args) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -14203,7 +14085,6 @@ class IMaterial(INamed): C++ includes: IMaterial.h """ - __swig_setmethods__ = {} for _s in [INamed]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -14226,7 +14107,7 @@ class IMaterial(INamed): this = _libBornAgainCore.new_IMaterial(name) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_IMaterial __del__ = lambda self: None @@ -14290,7 +14171,6 @@ class HomogeneousMaterial(IMaterial): C++ includes: HomogeneousMaterial.h """ - __swig_setmethods__ = {} for _s in [IMaterial]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -14314,7 +14194,7 @@ class HomogeneousMaterial(IMaterial): this = _libBornAgainCore.new_HomogeneousMaterial(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_HomogeneousMaterial __del__ = lambda self: None @@ -14378,7 +14258,6 @@ class HomogeneousMagneticMaterial(HomogeneousMaterial): C++ includes: HomogeneousMagneticMaterial.h """ - __swig_setmethods__ = {} for _s in [HomogeneousMaterial]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -14402,7 +14281,7 @@ class HomogeneousMagneticMaterial(HomogeneousMaterial): this = _libBornAgainCore.new_HomogeneousMagneticMaterial(*args) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -14470,8 +14349,7 @@ HomogeneousMagneticMaterial_swigregister = _libBornAgainCore.HomogeneousMagnetic HomogeneousMagneticMaterial_swigregister(HomogeneousMagneticMaterial) class IDetector2D(IParameterized): - """Proxy of C++ IDetector2D class.""" - + """Proxy of C++ IDetector2D class""" __swig_setmethods__ = {} for _s in [IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -14773,7 +14651,6 @@ class IDetectorResolution(ICloneable, IParameterized): C++ includes: IDetectorResolution.h """ - __swig_setmethods__ = {} for _s in [ICloneable, IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -14822,7 +14699,6 @@ class IInterferenceFunction(ISample): C++ includes: IInterferenceFunction.h """ - __swig_setmethods__ = {} for _s in [ISample]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -14909,7 +14785,6 @@ class ILayout(ICompositeSample): C++ includes: ILayout.h """ - __swig_setmethods__ = {} for _s in [ICompositeSample]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -15094,7 +14969,6 @@ class IObserver(_object): C++ includes: IObserver.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, IObserver, name, value) __swig_getmethods__ = {} @@ -15129,7 +15003,6 @@ class IObservable(_object): C++ includes: IObserver.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, IObservable, name, value) __swig_getmethods__ = {} @@ -15180,7 +15053,7 @@ class IObservable(_object): this = _libBornAgainCore.new_IObservable(_self, ) try: self.this.append(this) - except Exception: + except: self.this = this def __disown__(self): self.this.disown() @@ -15198,7 +15071,6 @@ class IAbstractParticle(ICompositeSample): C++ includes: IParticle.h """ - __swig_setmethods__ = {} for _s in [ICompositeSample]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -15309,7 +15181,6 @@ class IParticle(IAbstractParticle): C++ includes: IParticle.h """ - __swig_setmethods__ = {} for _s in [IAbstractParticle]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -15469,7 +15340,6 @@ class IResolutionFunction2D(IParameterized): C++ includes: IResolutionFunction2D.h """ - __swig_setmethods__ = {} for _s in [IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -15516,7 +15386,6 @@ class IRotation(ISample): C++ includes: Rotations.h """ - __swig_setmethods__ = {} for _s in [ISample]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -15630,8 +15499,7 @@ def CreateProduct(left, right): """ return _libBornAgainCore.CreateProduct(left, right) class RotationX(IRotation): - """Proxy of C++ RotationX class.""" - + """Proxy of C++ RotationX class""" __swig_setmethods__ = {} for _s in [IRotation]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -15652,7 +15520,7 @@ class RotationX(IRotation): this = _libBornAgainCore.new_RotationX(angle) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -15730,8 +15598,7 @@ RotationX_swigregister = _libBornAgainCore.RotationX_swigregister RotationX_swigregister(RotationX) class RotationY(IRotation): - """Proxy of C++ RotationY class.""" - + """Proxy of C++ RotationY class""" __swig_setmethods__ = {} for _s in [IRotation]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -15752,7 +15619,7 @@ class RotationY(IRotation): this = _libBornAgainCore.new_RotationY(angle) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -15830,8 +15697,7 @@ RotationY_swigregister = _libBornAgainCore.RotationY_swigregister RotationY_swigregister(RotationY) class RotationZ(IRotation): - """Proxy of C++ RotationZ class.""" - + """Proxy of C++ RotationZ class""" __swig_setmethods__ = {} for _s in [IRotation]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -15853,7 +15719,7 @@ class RotationZ(IRotation): this = _libBornAgainCore.new_RotationZ(angle) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -15931,8 +15797,7 @@ RotationZ_swigregister = _libBornAgainCore.RotationZ_swigregister RotationZ_swigregister(RotationZ) class RotationEuler(IRotation): - """Proxy of C++ RotationEuler class.""" - + """Proxy of C++ RotationEuler class""" __swig_setmethods__ = {} for _s in [IRotation]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -15953,7 +15818,7 @@ class RotationEuler(IRotation): this = _libBornAgainCore.new_RotationEuler(alpha, beta, gamma) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -16059,7 +15924,6 @@ class ISelectionRule(_object): C++ includes: ISelectionRule.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ISelectionRule, name, value) __swig_getmethods__ = {} @@ -16102,7 +15966,6 @@ class SimpleSelectionRule(ISelectionRule): C++ includes: ISelectionRule.h """ - __swig_setmethods__ = {} for _s in [ISelectionRule]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -16123,7 +15986,7 @@ class SimpleSelectionRule(ISelectionRule): this = _libBornAgainCore.new_SimpleSelectionRule(a, b, c, modulus) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_SimpleSelectionRule __del__ = lambda self: None @@ -16159,7 +16022,6 @@ class Instrument(IParameterized): C++ includes: Instrument.h """ - __swig_setmethods__ = {} for _s in [IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -16181,7 +16043,7 @@ class Instrument(IParameterized): this = _libBornAgainCore.new_Instrument(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_Instrument __del__ = lambda self: None @@ -16412,7 +16274,6 @@ class IntensityDataFunctions(_object): C++ includes: IntensityDataFunctions.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, IntensityDataFunctions, name, value) __swig_getmethods__ = {} @@ -16468,7 +16329,7 @@ class IntensityDataFunctions(_object): this = _libBornAgainCore.new_IntensityDataFunctions() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_IntensityDataFunctions __del__ = lambda self: None @@ -16505,7 +16366,6 @@ class IntensityDataIOFactory(_object): C++ includes: IntensityDataIOFactory.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, IntensityDataIOFactory, name, value) __swig_getmethods__ = {} @@ -16560,7 +16420,7 @@ class IntensityDataIOFactory(_object): this = _libBornAgainCore.new_IntensityDataIOFactory() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_IntensityDataIOFactory __del__ = lambda self: None @@ -16592,7 +16452,6 @@ class InterferenceFunction1DLattice(IInterferenceFunction): C++ includes: InterferenceFunction1DLattice.h """ - __swig_setmethods__ = {} for _s in [IInterferenceFunction]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -16624,7 +16483,7 @@ class InterferenceFunction1DLattice(IInterferenceFunction): this = _libBornAgainCore.new_InterferenceFunction1DLattice(length, xi) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_InterferenceFunction1DLattice __del__ = lambda self: None @@ -16706,7 +16565,6 @@ class InterferenceFunctionRadialParaCrystal(IInterferenceFunction): C++ includes: InterferenceFunctionRadialParaCrystal.h """ - __swig_setmethods__ = {} for _s in [IInterferenceFunction]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -16728,7 +16586,7 @@ class InterferenceFunctionRadialParaCrystal(IInterferenceFunction): this = _libBornAgainCore.new_InterferenceFunctionRadialParaCrystal(peak_distance, damping_length) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_InterferenceFunctionRadialParaCrystal __del__ = lambda self: None @@ -16898,7 +16756,6 @@ class InterferenceFunction2DLattice(IInterferenceFunction): C++ includes: InterferenceFunction2DLattice.h """ - __swig_setmethods__ = {} for _s in [IInterferenceFunction]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -16937,7 +16794,7 @@ class InterferenceFunction2DLattice(IInterferenceFunction): this = _libBornAgainCore.new_InterferenceFunction2DLattice(length_1, length_2, angle, xi) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_InterferenceFunction2DLattice __del__ = lambda self: None @@ -17067,7 +16924,6 @@ class InterferenceFunction2DParaCrystal(IInterferenceFunction): C++ includes: InterferenceFunction2DParaCrystal.h """ - __swig_setmethods__ = {} for _s in [IInterferenceFunction]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -17110,7 +16966,7 @@ class InterferenceFunction2DParaCrystal(IInterferenceFunction): this = _libBornAgainCore.new_InterferenceFunction2DParaCrystal(length_1, length_2, alpha_lattice, xi, damping_length) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_InterferenceFunction2DParaCrystal __del__ = lambda self: None @@ -17320,7 +17176,6 @@ class InterferenceFunctionNone(IInterferenceFunction): C++ includes: InterferenceFunctionNone.h """ - __swig_setmethods__ = {} for _s in [IInterferenceFunction]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -17341,7 +17196,7 @@ class InterferenceFunctionNone(IInterferenceFunction): this = _libBornAgainCore.new_InterferenceFunctionNone() try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -17393,7 +17248,6 @@ class IPixelMap(_object): C++ includes: IPixelMap.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, IPixelMap, name, value) __swig_getmethods__ = {} @@ -17466,7 +17320,6 @@ class SphericalDetector(IDetector2D): C++ includes: SphericalDetector.h """ - __swig_setmethods__ = {} for _s in [IDetector2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -17489,7 +17342,7 @@ class SphericalDetector(IDetector2D): this = _libBornAgainCore.new_SphericalDetector(*args) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -17543,8 +17396,7 @@ SphericalDetector_swigregister = _libBornAgainCore.SphericalDetector_swigregiste SphericalDetector_swigregister(SphericalDetector) class AngularPixelMap(IPixelMap): - """Proxy of C++ AngularPixelMap class.""" - + """Proxy of C++ AngularPixelMap class""" __swig_setmethods__ = {} for _s in [IPixelMap]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -17565,7 +17417,7 @@ class AngularPixelMap(IPixelMap): this = _libBornAgainCore.new_AngularPixelMap(alpha_bin, phi_bin) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_AngularPixelMap __del__ = lambda self: None @@ -17631,7 +17483,6 @@ class IsGISAXSDetector(SphericalDetector): C++ includes: IsGISAXSDetector.h """ - __swig_setmethods__ = {} for _s in [SphericalDetector]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -17654,7 +17505,7 @@ class IsGISAXSDetector(SphericalDetector): this = _libBornAgainCore.new_IsGISAXSDetector(*args) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -17680,7 +17531,6 @@ class Lattice(_object): C++ includes: Lattice.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Lattice, name, value) __swig_getmethods__ = {} @@ -17699,7 +17549,7 @@ class Lattice(_object): this = _libBornAgainCore.new_Lattice(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_Lattice __del__ = lambda self: None @@ -17881,7 +17731,6 @@ class Lattice1DParameters(_object): C++ includes: Lattice1DParameters.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Lattice1DParameters, name, value) __swig_getmethods__ = {} @@ -17898,7 +17747,7 @@ class Lattice1DParameters(_object): this = _libBornAgainCore.new_Lattice1DParameters() try: self.this.append(this) - except Exception: + except: self.this = this __swig_setmethods__["m_length"] = _libBornAgainCore.Lattice1DParameters_m_length_set __swig_getmethods__["m_length"] = _libBornAgainCore.Lattice1DParameters_m_length_get @@ -17922,7 +17771,6 @@ class Lattice2DParameters(_object): C++ includes: Lattice2DParameters.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Lattice2DParameters, name, value) __swig_getmethods__ = {} @@ -17939,7 +17787,7 @@ class Lattice2DParameters(_object): this = _libBornAgainCore.new_Lattice2DParameters() try: self.this.append(this) - except Exception: + except: self.this = this __swig_setmethods__["m_length_1"] = _libBornAgainCore.Lattice2DParameters_m_length_1_set __swig_getmethods__["m_length_1"] = _libBornAgainCore.Lattice2DParameters_m_length_1_get @@ -17980,7 +17828,6 @@ class Layer(ICompositeSample): C++ includes: Layer.h """ - __swig_setmethods__ = {} for _s in [ICompositeSample]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -18005,7 +17852,7 @@ class Layer(ICompositeSample): this = _libBornAgainCore.new_Layer(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_Layer __del__ = lambda self: None @@ -18241,7 +18088,6 @@ class IRoughness(ISample): C++ includes: IRoughness.h """ - __swig_setmethods__ = {} for _s in [ISample]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -18282,7 +18128,6 @@ class LayerRoughness(IRoughness): C++ includes: LayerRoughness.h """ - __swig_setmethods__ = {} for _s in [IRoughness]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -18304,7 +18149,7 @@ class LayerRoughness(IRoughness): this = _libBornAgainCore.new_LayerRoughness(*args) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -18444,7 +18289,6 @@ class Line(IShape2D): C++ includes: Line.h """ - __swig_setmethods__ = {} for _s in [IShape2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -18467,7 +18311,7 @@ class Line(IShape2D): this = _libBornAgainCore.new_Line(x1, y1, x2, y2) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -18506,7 +18350,6 @@ class VerticalLine(IShape2D): C++ includes: Line.h """ - __swig_setmethods__ = {} for _s in [IShape2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -18535,7 +18378,7 @@ class VerticalLine(IShape2D): this = _libBornAgainCore.new_VerticalLine(x) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -18584,7 +18427,6 @@ class HorizontalLine(IShape2D): C++ includes: Line.h """ - __swig_setmethods__ = {} for _s in [IShape2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -18613,7 +18455,7 @@ class HorizontalLine(IShape2D): this = _libBornAgainCore.new_HorizontalLine(y) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -18835,7 +18677,6 @@ class MesoCrystal(IParticle): C++ includes: MesoCrystal.h """ - __swig_setmethods__ = {} for _s in [IParticle]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -18856,7 +18697,7 @@ class MesoCrystal(IParticle): this = _libBornAgainCore.new_MesoCrystal(particle_structure, form_factor) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_MesoCrystal __del__ = lambda self: None @@ -18977,7 +18818,6 @@ class Logger(_object): C++ includes: MessageService.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, Logger, name, value) __swig_getmethods__ = {} @@ -18994,7 +18834,7 @@ class Logger(_object): this = _libBornAgainCore.new_Logger(level) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_Logger __del__ = lambda self: None @@ -19074,7 +18914,6 @@ class MultiLayer(ICompositeSample): C++ includes: MultiLayer.h """ - __swig_setmethods__ = {} for _s in [ICompositeSample]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -19095,7 +18934,7 @@ class MultiLayer(ICompositeSample): this = _libBornAgainCore.new_MultiLayer() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_MultiLayer __del__ = lambda self: None @@ -19385,7 +19224,6 @@ class OffSpecSimulation(Simulation): C++ includes: OffSpecSimulation.h """ - __swig_setmethods__ = {} for _s in [Simulation]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -19408,7 +19246,7 @@ class OffSpecSimulation(Simulation): this = _libBornAgainCore.new_OffSpecSimulation(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_OffSpecSimulation __del__ = lambda self: None @@ -19605,7 +19443,6 @@ class IntensityData(_object): C++ includes: OutputData.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, IntensityData, name, value) __swig_getmethods__ = {} @@ -19622,7 +19459,7 @@ class IntensityData(_object): this = _libBornAgainCore.new_IntensityData() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_IntensityData __del__ = lambda self: None @@ -20210,8 +20047,7 @@ def applyFunction(data, func): """ return _libBornAgainCore.applyFunction(data, func) class ParameterDistribution(IParameterized): - """Proxy of C++ ParameterDistribution class.""" - + """Proxy of C++ ParameterDistribution class""" __swig_setmethods__ = {} for _s in [IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -20236,7 +20072,7 @@ class ParameterDistribution(IParameterized): this = _libBornAgainCore.new_ParameterDistribution(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_ParameterDistribution __del__ = lambda self: None @@ -20362,7 +20198,6 @@ class ParameterPool(ICloneable): C++ includes: ParameterPool.h """ - __swig_setmethods__ = {} for _s in [ICloneable]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -20383,7 +20218,7 @@ class ParameterPool(ICloneable): this = _libBornAgainCore.new_ParameterPool(parent) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_ParameterPool __del__ = lambda self: None @@ -20554,7 +20389,6 @@ class Particle(IParticle): C++ includes: Particle.h """ - __swig_setmethods__ = {} for _s in [IParticle]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -20578,7 +20412,7 @@ class Particle(IParticle): this = _libBornAgainCore.new_Particle(*args) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -20726,7 +20560,6 @@ class ParticleComposition(IParticle): C++ includes: ParticleComposition.h """ - __swig_setmethods__ = {} for _s in [IParticle]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -20750,7 +20583,7 @@ class ParticleComposition(IParticle): this = _libBornAgainCore.new_ParticleComposition(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_ParticleComposition __del__ = lambda self: None @@ -20893,7 +20726,6 @@ class ParticleCoreShell(IParticle): C++ includes: ParticleCoreShell.h """ - __swig_setmethods__ = {} for _s in [IParticle]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -20915,7 +20747,7 @@ class ParticleCoreShell(IParticle): this = _libBornAgainCore.new_ParticleCoreShell(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_ParticleCoreShell __del__ = lambda self: None @@ -21027,7 +20859,6 @@ class ParticleDistribution(IAbstractParticle): C++ includes: ParticleDistribution.h """ - __swig_setmethods__ = {} for _s in [IAbstractParticle]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -21048,7 +20879,7 @@ class ParticleDistribution(IAbstractParticle): this = _libBornAgainCore.new_ParticleDistribution(prototype, par_distr) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -21172,7 +21003,6 @@ class ParticleLayout(ILayout): C++ includes: ParticleLayout.h """ - __swig_setmethods__ = {} for _s in [ILayout]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -21195,7 +21025,7 @@ class ParticleLayout(ILayout): this = _libBornAgainCore.new_ParticleLayout(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_ParticleLayout __del__ = lambda self: None @@ -21377,7 +21207,6 @@ class Polygon(IShape2D): C++ includes: Polygon.h """ - __swig_setmethods__ = {} for _s in [IShape2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -21407,7 +21236,7 @@ class Polygon(IShape2D): this = _libBornAgainCore.new_Polygon(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_Polygon __del__ = lambda self: None @@ -21466,7 +21295,6 @@ class RealParameterWrapper(_object): C++ includes: RealParameterWrapper.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, RealParameterWrapper, name, value) __swig_getmethods__ = {} @@ -21485,7 +21313,7 @@ class RealParameterWrapper(_object): this = _libBornAgainCore.new_RealParameterWrapper(*args) try: self.this.append(this) - except Exception: + except: self.this = this def setValue(self, value): @@ -21569,7 +21397,6 @@ class Rectangle(IShape2D): C++ includes: Rectangle.h """ - __swig_setmethods__ = {} for _s in [IShape2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -21607,7 +21434,7 @@ class Rectangle(IShape2D): this = _libBornAgainCore.new_Rectangle(xlow, ylow, xup, yup) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -21696,7 +21523,6 @@ class RectangularDetector(IDetector2D): C++ includes: RectangularDetector.h """ - __swig_setmethods__ = {} for _s in [IDetector2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -21723,7 +21549,7 @@ class RectangularDetector(IDetector2D): this = _libBornAgainCore.new_RectangularDetector(*args) try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -21962,8 +21788,7 @@ RectangularDetector_swigregister = _libBornAgainCore.RectangularDetector_swigreg RectangularDetector_swigregister(RectangularDetector) class RectPixelMap(IPixelMap): - """Proxy of C++ RectPixelMap class.""" - + """Proxy of C++ RectPixelMap class""" __swig_setmethods__ = {} for _s in [IPixelMap]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -21984,7 +21809,7 @@ class RectPixelMap(IPixelMap): this = _libBornAgainCore.new_RectPixelMap(corner_pos, width, height) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_RectPixelMap __del__ = lambda self: None @@ -22050,7 +21875,6 @@ class ResolutionFunction2DGaussian(IResolutionFunction2D): C++ includes: ResolutionFunction2DGaussian.h """ - __swig_setmethods__ = {} for _s in [IResolutionFunction2D]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -22071,7 +21895,7 @@ class ResolutionFunction2DGaussian(IResolutionFunction2D): this = _libBornAgainCore.new_ResolutionFunction2DGaussian(sigma_x, sigma_y) try: self.this.append(this) - except Exception: + except: self.this = this def evaluateCDF(self, x, y): @@ -22127,7 +21951,6 @@ class SpecularSimulation(ICloneable, IParameterized): C++ includes: SpecularSimulation.h """ - __swig_setmethods__ = {} for _s in [ICloneable, IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -22150,7 +21973,7 @@ class SpecularSimulation(ICloneable, IParameterized): this = _libBornAgainCore.new_SpecularSimulation(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainCore.delete_SpecularSimulation __del__ = lambda self: None @@ -22328,7 +22151,6 @@ class ThreadInfo(_object): C++ includes: ThreadInfo.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ThreadInfo, name, value) __swig_getmethods__ = {} @@ -22345,7 +22167,7 @@ class ThreadInfo(_object): this = _libBornAgainCore.new_ThreadInfo() try: self.this.append(this) - except Exception: + except: self.this = this __swig_setmethods__["n_threads"] = _libBornAgainCore.ThreadInfo_n_threads_set __swig_getmethods__["n_threads"] = _libBornAgainCore.ThreadInfo_n_threads_get @@ -22377,7 +22199,6 @@ class SampleBuilderFactory(_object): C++ includes: IFactory.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SampleBuilderFactory, name, value) __swig_getmethods__ = {} @@ -22394,7 +22215,7 @@ class SampleBuilderFactory(_object): this = _libBornAgainCore.new_SampleBuilderFactory() try: self.this.append(this) - except Exception: + except: self.this = this def createItem(self, item_key): @@ -22469,7 +22290,6 @@ class SimulationFactory(_object): C++ includes: IFactory.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SimulationFactory, name, value) __swig_getmethods__ = {} @@ -22486,7 +22306,7 @@ class SimulationFactory(_object): this = _libBornAgainCore.new_SimulationFactory() try: self.this.append(this) - except Exception: + except: self.this = this def createItem(self, item_key): diff --git a/auto/Wrap/libBornAgainCore_wrap.cpp b/auto/Wrap/libBornAgainCore_wrap.cpp index 65b2d4446ab52733e44ea18ede3c7aba6dc627fb..0fbe18ff205fbdcc694f513c5f796993c5386da0 100644 --- a/auto/Wrap/libBornAgainCore_wrap.cpp +++ b/auto/Wrap/libBornAgainCore_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.8 + * Version 3.0.7 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -8,11 +8,7 @@ * interface file instead. * ----------------------------------------------------------------------------- */ - -#ifndef SWIGPYTHON #define SWIGPYTHON -#endif - #define SWIG_DIRECTORS #define SWIG_PYTHON_DIRECTOR_NO_VTABLE @@ -1330,7 +1326,7 @@ SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { /* Unpack the argument tuple */ -SWIGINTERN Py_ssize_t +SWIGINTERN int SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs) { if (!args) { @@ -1344,7 +1340,7 @@ SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssi } if (!PyTuple_Check(args)) { if (min <= 1 && max >= 1) { - Py_ssize_t i; + int i; objs[0] = args; for (i = 1; i < max; ++i) { objs[i] = 0; @@ -1364,7 +1360,7 @@ SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssi name, (min == max ? "" : "at most "), (int)max, (int)l); return 0; } else { - Py_ssize_t i; + int i; for (i = 0; i < l; ++i) { objs[i] = PyTuple_GET_ITEM(args, i); } @@ -1705,32 +1701,16 @@ SwigPyObject_dealloc(PyObject *v) if (destroy) { /* destroy is always a VARARGS method */ PyObject *res; - - /* PyObject_CallFunction() has the potential to silently drop - the active active exception. In cases of unnamed temporary - variable or where we just finished iterating over a generator - StopIteration will be active right now, and this needs to - remain true upon return from SwigPyObject_dealloc. So save - and restore. */ - - PyObject *val = NULL, *type = NULL, *tb = NULL; - PyErr_Fetch(&val, &type, &tb); - if (data->delargs) { - /* we need to create a temporary object to carry the destroy operation */ - PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0); - res = SWIG_Python_CallFunctor(destroy, tmp); - Py_DECREF(tmp); + /* we need to create a temporary object to carry the destroy operation */ + PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0); + res = SWIG_Python_CallFunctor(destroy, tmp); + Py_DECREF(tmp); } else { - PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); - PyObject *mself = PyCFunction_GET_SELF(destroy); - res = ((*meth)(mself, v)); + PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); + PyObject *mself = PyCFunction_GET_SELF(destroy); + res = ((*meth)(mself, v)); } - if (!res) - PyErr_WriteUnraisable(destroy); - - PyErr_Restore(val, type, tb); - Py_XDECREF(res); } #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) @@ -1754,7 +1734,6 @@ SwigPyObject_append(PyObject* v, PyObject* next) next = tmp; #endif if (!SwigPyObject_Check(next)) { - PyErr_SetString(PyExc_TypeError, "Attempt to append a non SwigPyObject"); return NULL; } sobj->next = next; @@ -1910,9 +1889,7 @@ SwigPyObject_TypeOnce(void) { (unaryfunc)SwigPyObject_oct, /*nb_oct*/ (unaryfunc)SwigPyObject_hex, /*nb_hex*/ #endif -#if PY_VERSION_HEX >= 0x03050000 /* 3.5 */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_matrix_multiply */ -#elif PY_VERSION_HEX >= 0x03000000 /* 3.0 */ +#if PY_VERSION_HEX >= 0x03000000 /* 3.0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */ #elif PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */ @@ -1992,19 +1969,10 @@ SwigPyObject_TypeOnce(void) { 0, /* tp_del */ #endif #if PY_VERSION_HEX >= 0x02060000 - 0, /* tp_version_tag */ -#endif -#if PY_VERSION_HEX >= 0x03040000 - 0, /* tp_finalize */ + 0, /* tp_version */ #endif #ifdef COUNT_ALLOCS - 0, /* tp_allocs */ - 0, /* tp_frees */ - 0, /* tp_maxalloc */ -#if PY_VERSION_HEX >= 0x02050000 - 0, /* tp_prev */ -#endif - 0 /* tp_next */ + 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; swigpyobject_type = tmp; @@ -2180,19 +2148,10 @@ SwigPyPacked_TypeOnce(void) { 0, /* tp_del */ #endif #if PY_VERSION_HEX >= 0x02060000 - 0, /* tp_version_tag */ -#endif -#if PY_VERSION_HEX >= 0x03040000 - 0, /* tp_finalize */ + 0, /* tp_version */ #endif #ifdef COUNT_ALLOCS - 0, /* tp_allocs */ - 0, /* tp_frees */ - 0, /* tp_maxalloc */ -#if PY_VERSION_HEX >= 0x02050000 - 0, /* tp_prev */ -#endif - 0 /* tp_next */ + 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; swigpypacked_type = tmp; @@ -2720,11 +2679,13 @@ PyModule_AddObject(PyObject *m, char *name, PyObject *o) { PyObject *dict; if (!PyModule_Check(m)) { - PyErr_SetString(PyExc_TypeError, "PyModule_AddObject() needs module as first arg"); + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs module as first arg"); return SWIG_ERROR; } if (!o) { - PyErr_SetString(PyExc_TypeError, "PyModule_AddObject() needs non-NULL value"); + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs non-NULL value"); return SWIG_ERROR; } @@ -3737,7 +3698,7 @@ static swig_module_info swig_module = {swig_types, 258, 0, 0, 0, 0}; #endif #define SWIG_name "_libBornAgainCore" -#define SWIGVERSION 0x030008 +#define SWIGVERSION 0x030007 #define SWIG_VERSION SWIGVERSION @@ -3983,11 +3944,9 @@ SWIG_AsVal_double (PyObject *obj, double *val) if (PyFloat_Check(obj)) { if (val) *val = PyFloat_AsDouble(obj); return SWIG_OK; -#if PY_VERSION_HEX < 0x03000000 } else if (PyInt_Check(obj)) { if (val) *val = PyInt_AsLong(obj); return SWIG_OK; -#endif } else if (PyLong_Check(obj)) { double v = PyLong_AsDouble(obj); if (!PyErr_Occurred()) { @@ -4079,7 +4038,18 @@ SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val) return SWIG_OK; } else { PyErr_Clear(); - return SWIG_OverflowError; +#if PY_VERSION_HEX >= 0x03000000 + { + long v = PyLong_AsLong(obj); + if (!PyErr_Occurred()) { + if (v < 0) { + return SWIG_OverflowError; + } + } else { + PyErr_Clear(); + } + } +#endif } } #ifdef SWIG_PYTHON_CAST_MODE @@ -4136,20 +4106,16 @@ SWIGINTERNINLINE PyObject* SWIGINTERN int SWIG_AsVal_long (PyObject *obj, long* val) { -#if PY_VERSION_HEX < 0x03000000 if (PyInt_Check(obj)) { if (val) *val = PyInt_AsLong(obj); return SWIG_OK; - } else -#endif - if (PyLong_Check(obj)) { + } else if (PyLong_Check(obj)) { long v = PyLong_AsLong(obj); if (!PyErr_Occurred()) { if (val) *val = v; return SWIG_OK; } else { PyErr_Clear(); - return SWIG_OverflowError; } } #ifdef SWIG_PYTHON_CAST_MODE @@ -4199,7 +4165,7 @@ SWIGINTERNINLINE PyObject* } -namespace swig { +namespace swig { template <class Type> struct noconst_traits { typedef Type noconst_type; @@ -4213,7 +4179,7 @@ namespace swig { /* type categories */ - struct pointer_category { }; + struct pointer_category { }; struct value_category { }; /* @@ -4226,12 +4192,12 @@ namespace swig { return traits<typename noconst_traits<Type >::noconst_type >::type_name(); } - template <class Type> + template <class Type> struct traits_info { static swig_type_info *type_query(std::string name) { name += " *"; return SWIG_TypeQuery(name.c_str()); - } + } static swig_type_info *type_info() { static swig_type_info *info = type_query(type_name<Type>()); return info; @@ -4252,17 +4218,17 @@ namespace swig { std::string ptrname = name; ptrname += " *"; return ptrname; - } + } static const char* type_name() { static std::string name = make_ptr_name(swig::type_name<Type>()); return name.c_str(); } }; - template <class Type, class Category> + template <class Type, class Category> struct traits_as { }; - - template <class Type, class Category> + + template <class Type, class Category> struct traits_check { }; } @@ -4606,12 +4572,6 @@ namespace swig { return pos; } - template <class Sequence> - inline void - erase(Sequence* seq, const typename Sequence::iterator& position) { - seq->erase(position); - } - template <class Sequence, class Difference> inline Sequence* getslice(const Sequence* self, Difference i, Difference j, Py_ssize_t step) { @@ -4986,7 +4946,7 @@ namespace swig template <class T> struct SwigPySequence_Ref { - SwigPySequence_Ref(PyObject* seq, Py_ssize_t index) + SwigPySequence_Ref(PyObject* seq, int index) : _seq(seq), _index(index) { } @@ -4998,7 +4958,7 @@ namespace swig return swig::as<T>(item, true); } catch (std::exception& e) { char msg[1024]; - sprintf(msg, "in sequence element %d ", (int)_index); + sprintf(msg, "in sequence element %d ", _index); if (!PyErr_Occurred()) { ::SWIG_Error(SWIG_TypeError, swig::type_name<T>()); } @@ -5016,7 +4976,7 @@ namespace swig private: PyObject* _seq; - Py_ssize_t _index; + int _index; }; template <class T> @@ -5037,13 +4997,13 @@ namespace swig typedef Reference reference; typedef T value_type; typedef T* pointer; - typedef Py_ssize_t difference_type; + typedef int difference_type; SwigPySequence_InputIterator() { } - SwigPySequence_InputIterator(PyObject* seq, Py_ssize_t index) + SwigPySequence_InputIterator(PyObject* seq, int index) : _seq(seq), _index(index) { } @@ -5123,7 +5083,6 @@ namespace swig difference_type _index; }; - // STL container wrapper around a Python sequence template <class T> struct SwigPySequence_Cont { @@ -5131,8 +5090,8 @@ namespace swig typedef const SwigPySequence_Ref<T> const_reference; typedef T value_type; typedef T* pointer; - typedef Py_ssize_t difference_type; - typedef size_t size_type; + typedef int difference_type; + typedef int size_type; typedef const pointer const_pointer; typedef SwigPySequence_InputIterator<T, reference> iterator; typedef SwigPySequence_InputIterator<T, const_reference> const_iterator; @@ -5193,13 +5152,13 @@ namespace swig bool check(bool set_err = true) const { - Py_ssize_t s = size(); - for (Py_ssize_t i = 0; i < s; ++i) { + int s = size(); + for (int i = 0; i < s; ++i) { swig::SwigVar_PyObject item = PySequence_GetItem(_seq, i); if (!swig::check<value_type>(item)) { if (set_err) { char msg[1024]; - sprintf(msg, "in sequence element %d", (int)i); + sprintf(msg, "in sequence element %d", i); SWIG_Error(SWIG_RuntimeError, msg); } return false; @@ -5219,17 +5178,17 @@ namespace swig namespace swig { - template <> struct traits< double > { + template <> struct traits<double > { typedef value_category category; static const char* type_name() { return"double"; } - }; - template <> struct traits_asval< double > { + }; + template <> struct traits_asval<double > { typedef double value_type; - static int asval(PyObject *obj, value_type *val) { + static int asval(PyObject *obj, value_type *val) { return SWIG_AsVal_double (obj, val); } }; - template <> struct traits_from< double > { + template <> struct traits_from<double > { typedef double value_type; static PyObject *from(const value_type& val) { return SWIG_From_double (val); @@ -5303,9 +5262,10 @@ namespace swig { #endif size_type size = seq.size(); if (size <= (size_type)INT_MAX) { - PyObject *obj = PyTuple_New((Py_ssize_t)size); - Py_ssize_t i = 0; - for (const_iterator it = seq.begin(); it != seq.end(); ++it, ++i) { + PyObject *obj = PyTuple_New((int)size); + int i = 0; + for (const_iterator it = seq.begin(); + it != seq.end(); ++it, ++i) { PyTuple_SetItem(obj,i,swig::from<value_type>(*it)); } return obj; @@ -5336,7 +5296,7 @@ namespace swig { namespace swig { - template <> struct traits<std::vector< double, std::allocator< double > > > { + template <> struct traits<std::vector<double, std::allocator< double > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "double" "," "std::allocator< double >" " >"; @@ -5371,20 +5331,24 @@ SWIG_From_size_t (size_t value) return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); } +SWIGINTERN std::vector< double >::value_type std_vector_Sl_double_Sg__pop(std::vector< double > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<double,std::allocator< double > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getslice__(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_double_Sg____setslice____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< double,std::allocator< double > >()); - } -SWIGINTERN void std_vector_Sl_double_Sg____setslice____SWIG_1(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j,std::vector< double,std::allocator< double > > const &v){ +SWIGINTERN void std_vector_Sl_double_Sg____setslice____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j,std::vector< double,std::allocator< double > > const &v=std::vector< double,std::allocator< double > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_double_Sg____delslice__(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -5393,8 +5357,8 @@ SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_ return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< double,std::allocator< double > >::difference_type id = i; - std::vector< double,std::allocator< double > >::difference_type jd = j; + std::vector<double,std::allocator< double > >::difference_type id = i; + std::vector<double,std::allocator< double > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *self,PySliceObject *slice,std::vector< double,std::allocator< double > > const &v){ @@ -5404,8 +5368,8 @@ SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< double,std::allocator< double > >::difference_type id = i; - std::vector< double,std::allocator< double > >::difference_type jd = j; + std::vector<double,std::allocator< double > >::difference_type id = i; + std::vector<double,std::allocator< double > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){ @@ -5415,8 +5379,8 @@ SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< double,std::allocator< double > >::difference_type id = i; - std::vector< double,std::allocator< double > >::difference_type jd = j; + std::vector<double,std::allocator< double > >::difference_type id = i; + std::vector<double,std::allocator< double > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){ @@ -5426,8 +5390,8 @@ SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< double,std::allocator< double > >::difference_type id = i; - std::vector< double,std::allocator< double > >::difference_type jd = j; + std::vector<double,std::allocator< double > >::difference_type id = i; + std::vector<double,std::allocator< double > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< double >::value_type const &std_vector_Sl_double_Sg____getitem____SWIG_1(std::vector< double > const *self,std::vector< double >::difference_type i){ @@ -5436,13 +5400,6 @@ SWIGINTERN std::vector< double >::value_type const &std_vector_Sl_double_Sg____g SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_2(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< double >::value_type std_vector_Sl_double_Sg__pop(std::vector< double > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< double,std::allocator< double > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_double_Sg__append(std::vector< double > *self,std::vector< double >::value_type const &x){ self->push_back(x); } @@ -5452,7 +5409,7 @@ SWIGINTERN std::vector< double >::iterator std_vector_Sl_double_Sg__insert__SWIG SWIGINTERN void std_vector_Sl_double_Sg__insert__SWIG_1(std::vector< double > *self,std::vector< double >::iterator pos,std::vector< double >::size_type n,std::vector< double >::value_type const &x){ self->insert(pos, n, x); } namespace swig { - template <> struct traits<std::vector< std::vector< double,std::allocator< double > >, std::allocator< std::vector< double,std::allocator< double > > > > > { + template <> struct traits<std::vector<std::vector< double,std::allocator< double > >, std::allocator< std::vector< double,std::allocator< double > > > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "std::vector< double,std::allocator< double > >" "," "std::allocator< std::vector< double,std::allocator< double > > >" " >"; @@ -5472,20 +5429,24 @@ SWIGINTERN bool std_vector_Sl_std_vector_Sl_double_Sg__Sg____bool__(std::vector< SWIGINTERN std::vector< std::vector< double > >::size_type std_vector_Sl_std_vector_Sl_double_Sg__Sg____len__(std::vector< std::vector< double > > const *self){ return self->size(); } +SWIGINTERN std::vector< std::vector< double > >::value_type std_vector_Sl_std_vector_Sl_double_Sg__Sg__pop(std::vector< std::vector< double > > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *std_vector_Sl_std_vector_Sl_double_Sg__Sg____getslice__(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_0(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >()); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_1(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &v){ +SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_0(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &v=std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____delslice__(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____delitem____SWIG_0(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *std_vector_Sl_std_vector_Sl_double_Sg__Sg____getitem____SWIG_0(std::vector< std::vector< double > > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -5494,8 +5455,8 @@ SWIGINTERN std::vector< std::vector< double,std::allocator< double > >,std::allo return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_0(std::vector< std::vector< double > > *self,PySliceObject *slice,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &v){ @@ -5505,8 +5466,8 @@ SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_0(s return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_1(std::vector< std::vector< double > > *self,PySliceObject *slice){ @@ -5516,8 +5477,8 @@ SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_1(s return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____delitem____SWIG_1(std::vector< std::vector< double > > *self,PySliceObject *slice){ @@ -5527,8 +5488,8 @@ SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____delitem____SWIG_1(s return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< std::vector< double > >::value_type const &std_vector_Sl_std_vector_Sl_double_Sg__Sg____getitem____SWIG_1(std::vector< std::vector< double > > const *self,std::vector< std::vector< double > >::difference_type i){ @@ -5537,13 +5498,6 @@ SWIGINTERN std::vector< std::vector< double > >::value_type const &std_vector_Sl SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_2(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< std::vector< double > >::value_type std_vector_Sl_std_vector_Sl_double_Sg__Sg__pop(std::vector< std::vector< double > > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg__append(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::value_type const &x){ self->push_back(x); } @@ -5579,17 +5533,17 @@ SWIG_AsVal_int (PyObject * obj, int *val) namespace swig { - template <> struct traits< int > { + template <> struct traits<int > { typedef value_category category; static const char* type_name() { return"int"; } - }; - template <> struct traits_asval< int > { + }; + template <> struct traits_asval<int > { typedef int value_type; - static int asval(PyObject *obj, value_type *val) { + static int asval(PyObject *obj, value_type *val) { return SWIG_AsVal_int (obj, val); } }; - template <> struct traits_from< int > { + template <> struct traits_from<int > { typedef int value_type; static PyObject *from(const value_type& val) { return SWIG_From_int (val); @@ -5599,7 +5553,7 @@ namespace swig { namespace swig { - template <> struct traits<std::vector< int, std::allocator< int > > > { + template <> struct traits<std::vector<int, std::allocator< int > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "int" "," "std::allocator< int >" " >"; @@ -5619,20 +5573,24 @@ SWIGINTERN bool std_vector_Sl_int_Sg____bool__(std::vector< int > const *self){ SWIGINTERN std::vector< int >::size_type std_vector_Sl_int_Sg____len__(std::vector< int > const *self){ return self->size(); } +SWIGINTERN std::vector< int >::value_type std_vector_Sl_int_Sg__pop(std::vector< int > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<int,std::allocator< int > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getslice__(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_int_Sg____setslice____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< int,std::allocator< int > >()); - } -SWIGINTERN void std_vector_Sl_int_Sg____setslice____SWIG_1(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j,std::vector< int,std::allocator< int > > const &v){ +SWIGINTERN void std_vector_Sl_int_Sg____setslice____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j,std::vector< int,std::allocator< int > > const &v=std::vector< int,std::allocator< int > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_int_Sg____delslice__(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -5641,8 +5599,8 @@ SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____get return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< int,std::allocator< int > >::difference_type id = i; - std::vector< int,std::allocator< int > >::difference_type jd = j; + std::vector<int,std::allocator< int > >::difference_type id = i; + std::vector<int,std::allocator< int > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *self,PySliceObject *slice,std::vector< int,std::allocator< int > > const &v){ @@ -5652,8 +5610,8 @@ SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *se return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< int,std::allocator< int > >::difference_type id = i; - std::vector< int,std::allocator< int > >::difference_type jd = j; + std::vector<int,std::allocator< int > >::difference_type id = i; + std::vector<int,std::allocator< int > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){ @@ -5663,8 +5621,8 @@ SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *se return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< int,std::allocator< int > >::difference_type id = i; - std::vector< int,std::allocator< int > >::difference_type jd = j; + std::vector<int,std::allocator< int > >::difference_type id = i; + std::vector<int,std::allocator< int > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){ @@ -5674,8 +5632,8 @@ SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *se return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< int,std::allocator< int > >::difference_type id = i; - std::vector< int,std::allocator< int > >::difference_type jd = j; + std::vector<int,std::allocator< int > >::difference_type id = i; + std::vector<int,std::allocator< int > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< int >::value_type const &std_vector_Sl_int_Sg____getitem____SWIG_1(std::vector< int > const *self,std::vector< int >::difference_type i){ @@ -5684,13 +5642,6 @@ SWIGINTERN std::vector< int >::value_type const &std_vector_Sl_int_Sg____getitem SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_2(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< int >::value_type std_vector_Sl_int_Sg__pop(std::vector< int > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< int,std::allocator< int > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_int_Sg__append(std::vector< int > *self,std::vector< int >::value_type const &x){ self->push_back(x); } @@ -5700,17 +5651,17 @@ SWIGINTERN std::vector< int >::iterator std_vector_Sl_int_Sg__insert__SWIG_0(std SWIGINTERN void std_vector_Sl_int_Sg__insert__SWIG_1(std::vector< int > *self,std::vector< int >::iterator pos,std::vector< int >::size_type n,std::vector< int >::value_type const &x){ self->insert(pos, n, x); } namespace swig { - template <> struct traits< unsigned long > { + template <> struct traits<unsigned long > { typedef value_category category; static const char* type_name() { return"unsigned long"; } - }; - template <> struct traits_asval< unsigned long > { + }; + template <> struct traits_asval<unsigned long > { typedef unsigned long value_type; - static int asval(PyObject *obj, value_type *val) { + static int asval(PyObject *obj, value_type *val) { return SWIG_AsVal_unsigned_SS_long (obj, val); } }; - template <> struct traits_from< unsigned long > { + template <> struct traits_from<unsigned long > { typedef unsigned long value_type; static PyObject *from(const value_type& val) { return SWIG_From_unsigned_SS_long (val); @@ -5720,7 +5671,7 @@ namespace swig { namespace swig { - template <> struct traits<std::vector< unsigned long, std::allocator< unsigned long > > > { + template <> struct traits<std::vector<unsigned long, std::allocator< unsigned long > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "unsigned long" "," "std::allocator< unsigned long >" " >"; @@ -5740,20 +5691,24 @@ SWIGINTERN bool std_vector_Sl_unsigned_SS_long_Sg____bool__(std::vector< unsigne SWIGINTERN std::vector< unsigned long >::size_type std_vector_Sl_unsigned_SS_long_Sg____len__(std::vector< unsigned long > const *self){ return self->size(); } +SWIGINTERN std::vector< unsigned long >::value_type std_vector_Sl_unsigned_SS_long_Sg__pop(std::vector< unsigned long > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<unsigned long,std::allocator< unsigned long > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< unsigned long,std::allocator< unsigned long > > *std_vector_Sl_unsigned_SS_long_Sg____getslice__(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_0(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< unsigned long,std::allocator< unsigned long > >()); - } -SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_1(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j,std::vector< unsigned long,std::allocator< unsigned long > > const &v){ +SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_0(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j,std::vector< unsigned long,std::allocator< unsigned long > > const &v=std::vector< unsigned long,std::allocator< unsigned long > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____delslice__(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____delitem____SWIG_0(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< unsigned long,std::allocator< unsigned long > > *std_vector_Sl_unsigned_SS_long_Sg____getitem____SWIG_0(std::vector< unsigned long > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -5762,8 +5717,8 @@ SWIGINTERN std::vector< unsigned long,std::allocator< unsigned long > > *std_vec return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type id = i; - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type jd = j; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type id = i; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_0(std::vector< unsigned long > *self,PySliceObject *slice,std::vector< unsigned long,std::allocator< unsigned long > > const &v){ @@ -5773,8 +5728,8 @@ SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_0(std::vect return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type id = i; - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type jd = j; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type id = i; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_1(std::vector< unsigned long > *self,PySliceObject *slice){ @@ -5784,8 +5739,8 @@ SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_1(std::vect return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type id = i; - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type jd = j; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type id = i; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____delitem____SWIG_1(std::vector< unsigned long > *self,PySliceObject *slice){ @@ -5795,8 +5750,8 @@ SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____delitem____SWIG_1(std::vect return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type id = i; - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type jd = j; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type id = i; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< unsigned long >::value_type const &std_vector_Sl_unsigned_SS_long_Sg____getitem____SWIG_1(std::vector< unsigned long > const *self,std::vector< unsigned long >::difference_type i){ @@ -5805,13 +5760,6 @@ SWIGINTERN std::vector< unsigned long >::value_type const &std_vector_Sl_unsigne SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_2(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< unsigned long >::value_type std_vector_Sl_unsigned_SS_long_Sg__pop(std::vector< unsigned long > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< unsigned long,std::allocator< unsigned long > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg__append(std::vector< unsigned long > *self,std::vector< unsigned long >::value_type const &x){ self->push_back(x); } @@ -5839,7 +5787,7 @@ SWIG_AsVal_std_complex_Sl_double_Sg_ (PyObject *o, std::complex<double>* val) SWIGINTERNINLINE PyObject* -SWIG_From_std_complex_Sl_double_Sg_ (/*@SWIG:/opt/share/swig/3.0.8/typemaps/swigmacros.swg,104,%ifcplusplus@*/ +SWIG_From_std_complex_Sl_double_Sg_ (/*@SWIG:/usr/share/swig3.0/typemaps/swigmacros.swg,104,%ifcplusplus@*/ const std::complex<double>& @@ -5852,17 +5800,17 @@ const std::complex<double>& namespace swig { - template <> struct traits< std::complex<double> > { + template <> struct traits<std::complex<double> > { typedef value_category category; static const char* type_name() { return"std::complex<double>"; } - }; - template <> struct traits_asval< std::complex<double> > { + }; + template <> struct traits_asval<std::complex<double> > { typedef std::complex<double> value_type; - static int asval(PyObject *obj, value_type *val) { + static int asval(PyObject *obj, value_type *val) { return SWIG_AsVal_std_complex_Sl_double_Sg_ (obj, val); } }; - template <> struct traits_from< std::complex<double> > { + template <> struct traits_from<std::complex<double> > { typedef std::complex<double> value_type; static PyObject *from(const value_type& val) { return SWIG_From_std_complex_Sl_double_Sg_ (val); @@ -5872,7 +5820,7 @@ namespace swig { namespace swig { - template <> struct traits<std::vector< std::complex< double >, std::allocator< std::complex< double > > > > { + template <> struct traits<std::vector<std::complex< double >, std::allocator< std::complex< double > > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "std::complex< double >" "," "std::allocator< std::complex< double > >" " >"; @@ -5892,20 +5840,24 @@ SWIGINTERN bool std_vector_Sl_std_complex_Sl_double_Sg__Sg____bool__(std::vector SWIGINTERN std::vector< std::complex< double > >::size_type std_vector_Sl_std_complex_Sl_double_Sg__Sg____len__(std::vector< std::complex< double > > const *self){ return self->size(); } +SWIGINTERN std::vector< std::complex< double > >::value_type std_vector_Sl_std_complex_Sl_double_Sg__Sg__pop(std::vector< std::complex< double > > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< std::complex< double >,std::allocator< std::complex< double > > > *std_vector_Sl_std_complex_Sl_double_Sg__Sg____getslice__(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_0(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< std::complex< double >,std::allocator< std::complex< double > > >()); - } -SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_1(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j,std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &v){ +SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_0(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j,std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &v=std::vector< std::complex< double >,std::allocator< std::complex< double > > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____delslice__(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____delitem____SWIG_0(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< std::complex< double >,std::allocator< std::complex< double > > > *std_vector_Sl_std_complex_Sl_double_Sg__Sg____getitem____SWIG_0(std::vector< std::complex< double > > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -5914,8 +5866,8 @@ SWIGINTERN std::vector< std::complex< double >,std::allocator< std::complex< dou return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_0(std::vector< std::complex< double > > *self,PySliceObject *slice,std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &v){ @@ -5925,8 +5877,8 @@ SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_0( return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_1(std::vector< std::complex< double > > *self,PySliceObject *slice){ @@ -5936,8 +5888,8 @@ SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_1( return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____delitem____SWIG_1(std::vector< std::complex< double > > *self,PySliceObject *slice){ @@ -5947,8 +5899,8 @@ SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____delitem____SWIG_1( return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< std::complex< double > >::value_type const &std_vector_Sl_std_complex_Sl_double_Sg__Sg____getitem____SWIG_1(std::vector< std::complex< double > > const *self,std::vector< std::complex< double > >::difference_type i){ @@ -5957,13 +5909,6 @@ SWIGINTERN std::vector< std::complex< double > >::value_type const &std_vector_S SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_2(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< std::complex< double > >::value_type std_vector_Sl_std_complex_Sl_double_Sg__Sg__pop(std::vector< std::complex< double > > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg__append(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::value_type const &x){ self->push_back(x); } @@ -6025,17 +5970,18 @@ SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) #else if (*alloc == SWIG_NEWOBJ) #endif - { - *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1))); - *alloc = SWIG_NEWOBJ; - } else { + { + *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1))); + *alloc = SWIG_NEWOBJ; + } + else { *cptr = cstr; *alloc = SWIG_OLDOBJ; } } else { - #if PY_VERSION_HEX>=0x03000000 - assert(0); /* Should never reach here in Python 3 */ - #endif + #if PY_VERSION_HEX>=0x03000000 + assert(0); /* Should never reach here in Python 3 */ + #endif *cptr = SWIG_Python_str_AsChar(obj); } } @@ -6045,30 +5991,6 @@ SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) #endif return SWIG_OK; } else { -#if defined(SWIG_PYTHON_2_UNICODE) -#if PY_VERSION_HEX<0x03000000 - if (PyUnicode_Check(obj)) { - char *cstr; Py_ssize_t len; - if (!alloc && cptr) { - return SWIG_RuntimeError; - } - obj = PyUnicode_AsUTF8String(obj); - if (PyString_AsStringAndSize(obj, &cstr, &len) != -1) { - if (cptr) { - if (alloc) *alloc = SWIG_NEWOBJ; - *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1))); - } - if (psize) *psize = len + 1; - - Py_XDECREF(obj); - return SWIG_OK; - } else { - Py_XDECREF(obj); - } - } -#endif -#endif - swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); if (pchar_descriptor) { void* vptr = 0; @@ -6144,12 +6066,12 @@ SWIG_FromCharPtrAndSize(const char* carray, size_t size) } else { #if PY_VERSION_HEX >= 0x03000000 #if PY_VERSION_HEX >= 0x03010000 - return PyUnicode_DecodeUTF8(carray, static_cast< Py_ssize_t >(size), "surrogateescape"); + return PyUnicode_DecodeUTF8(carray, static_cast< int >(size), "surrogateescape"); #else - return PyUnicode_FromStringAndSize(carray, static_cast< Py_ssize_t >(size)); + return PyUnicode_FromStringAndSize(carray, static_cast< int >(size)); #endif #else - return PyString_FromStringAndSize(carray, static_cast< Py_ssize_t >(size)); + return PyString_FromStringAndSize(carray, static_cast< int >(size)); #endif } } else { @@ -6166,17 +6088,17 @@ SWIG_From_std_string (const std::string& s) namespace swig { - template <> struct traits< std::string > { + template <> struct traits<std::string > { typedef value_category category; static const char* type_name() { return"std::string"; } - }; - template <> struct traits_asval< std::string > { + }; + template <> struct traits_asval<std::string > { typedef std::string value_type; - static int asval(PyObject *obj, value_type *val) { + static int asval(PyObject *obj, value_type *val) { return SWIG_AsVal_std_string (obj, val); } }; - template <> struct traits_from< std::string > { + template <> struct traits_from<std::string > { typedef std::string value_type; static PyObject *from(const value_type& val) { return SWIG_From_std_string (val); @@ -6186,7 +6108,7 @@ namespace swig { namespace swig { - template <> struct traits<std::vector< std::string, std::allocator< std::string > > > { + template <> struct traits<std::vector<std::string, std::allocator< std::string > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "std::string" "," "std::allocator< std::string >" " >"; @@ -6206,20 +6128,24 @@ SWIGINTERN bool std_vector_Sl_std_string_Sg____bool__(std::vector< std::string > SWIGINTERN std::vector< std::string >::size_type std_vector_Sl_std_string_Sg____len__(std::vector< std::string > const *self){ return self->size(); } +SWIGINTERN std::vector< std::string >::value_type std_vector_Sl_std_string_Sg__pop(std::vector< std::string > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<std::string,std::allocator< std::string > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getslice__(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_std_string_Sg____setslice____SWIG_0(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< std::string,std::allocator< std::string > >()); - } -SWIGINTERN void std_vector_Sl_std_string_Sg____setslice____SWIG_1(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j,std::vector< std::string,std::allocator< std::string > > const &v){ +SWIGINTERN void std_vector_Sl_std_string_Sg____setslice____SWIG_0(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j,std::vector< std::string,std::allocator< std::string > > const &v=std::vector< std::string,std::allocator< std::string > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_std_string_Sg____delslice__(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_0(std::vector< std::string > *self,std::vector< std::string >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getitem____SWIG_0(std::vector< std::string > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -6228,8 +6154,8 @@ SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_ return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::string,std::allocator< std::string > >::difference_type id = i; - std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; + std::vector<std::string,std::allocator< std::string > >::difference_type id = i; + std::vector<std::string,std::allocator< std::string > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< std::string > *self,PySliceObject *slice,std::vector< std::string,std::allocator< std::string > > const &v){ @@ -6239,8 +6165,8 @@ SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< st return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::string,std::allocator< std::string > >::difference_type id = i; - std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; + std::vector<std::string,std::allocator< std::string > >::difference_type id = i; + std::vector<std::string,std::allocator< std::string > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< std::string > *self,PySliceObject *slice){ @@ -6250,8 +6176,8 @@ SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< st return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::string,std::allocator< std::string > >::difference_type id = i; - std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; + std::vector<std::string,std::allocator< std::string > >::difference_type id = i; + std::vector<std::string,std::allocator< std::string > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< std::string > *self,PySliceObject *slice){ @@ -6261,8 +6187,8 @@ SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< st return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::string,std::allocator< std::string > >::difference_type id = i; - std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; + std::vector<std::string,std::allocator< std::string > >::difference_type id = i; + std::vector<std::string,std::allocator< std::string > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< std::string >::value_type const &std_vector_Sl_std_string_Sg____getitem____SWIG_1(std::vector< std::string > const *self,std::vector< std::string >::difference_type i){ @@ -6271,13 +6197,6 @@ SWIGINTERN std::vector< std::string >::value_type const &std_vector_Sl_std_strin SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_2(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< std::string >::value_type std_vector_Sl_std_string_Sg__pop(std::vector< std::string > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< std::string,std::allocator< std::string > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_std_string_Sg__append(std::vector< std::string > *self,std::vector< std::string >::value_type const &x){ self->push_back(x); } @@ -6458,7 +6377,6 @@ SWIG_AsVal_long_SS_long (PyObject *obj, long long *val) return SWIG_OK; } else { PyErr_Clear(); - res = SWIG_OverflowError; } } else { long v; @@ -6498,7 +6416,7 @@ SWIGINTERN Geometry::BasicVector3D< double > Geometry_BasicVector3D_Sl_double_Sg } namespace swig { - template <> struct traits< Geometry::BasicVector3D< double > > { + template <> struct traits<Geometry::BasicVector3D< double > > { typedef pointer_category category; static const char* type_name() { return"Geometry::BasicVector3D< double >"; } }; @@ -6506,7 +6424,7 @@ SWIGINTERN Geometry::BasicVector3D< double > Geometry_BasicVector3D_Sl_double_Sg namespace swig { - template <> struct traits<std::vector< Geometry::BasicVector3D< double >, std::allocator< Geometry::BasicVector3D< double > > > > { + template <> struct traits<std::vector<Geometry::BasicVector3D< double >, std::allocator< Geometry::BasicVector3D< double > > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "Geometry::BasicVector3D< double >" "," "std::allocator< Geometry::BasicVector3D< double > >" " >"; @@ -6526,20 +6444,24 @@ SWIGINTERN bool std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____bool__( SWIGINTERN std::vector< Geometry::BasicVector3D< double > >::size_type std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____len__(std::vector< Geometry::BasicVector3D< double > > const *self){ return self->size(); } +SWIGINTERN std::vector< Geometry::BasicVector3D< double > >::value_type std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg__pop(std::vector< Geometry::BasicVector3D< double > > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____getslice__(std::vector< Geometry::BasicVector3D< double > > *self,std::vector< Geometry::BasicVector3D< double > >::difference_type i,std::vector< Geometry::BasicVector3D< double > >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____setslice____SWIG_0(std::vector< Geometry::BasicVector3D< double > > *self,std::vector< Geometry::BasicVector3D< double > >::difference_type i,std::vector< Geometry::BasicVector3D< double > >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >()); - } -SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____setslice____SWIG_1(std::vector< Geometry::BasicVector3D< double > > *self,std::vector< Geometry::BasicVector3D< double > >::difference_type i,std::vector< Geometry::BasicVector3D< double > >::difference_type j,std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > const &v){ +SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____setslice____SWIG_0(std::vector< Geometry::BasicVector3D< double > > *self,std::vector< Geometry::BasicVector3D< double > >::difference_type i,std::vector< Geometry::BasicVector3D< double > >::difference_type j,std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > const &v=std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____delslice__(std::vector< Geometry::BasicVector3D< double > > *self,std::vector< Geometry::BasicVector3D< double > >::difference_type i,std::vector< Geometry::BasicVector3D< double > >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____delitem____SWIG_0(std::vector< Geometry::BasicVector3D< double > > *self,std::vector< Geometry::BasicVector3D< double > >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____getitem____SWIG_0(std::vector< Geometry::BasicVector3D< double > > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -6548,8 +6470,8 @@ SWIGINTERN std::vector< Geometry::BasicVector3D< double >,std::allocator< Geomet return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type id = i; - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type jd = j; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type id = i; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____setitem____SWIG_0(std::vector< Geometry::BasicVector3D< double > > *self,PySliceObject *slice,std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > const &v){ @@ -6559,8 +6481,8 @@ SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____setitem return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type id = i; - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type jd = j; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type id = i; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____setitem____SWIG_1(std::vector< Geometry::BasicVector3D< double > > *self,PySliceObject *slice){ @@ -6570,8 +6492,8 @@ SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____setitem return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type id = i; - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type jd = j; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type id = i; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____delitem____SWIG_1(std::vector< Geometry::BasicVector3D< double > > *self,PySliceObject *slice){ @@ -6581,8 +6503,8 @@ SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____delitem return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type id = i; - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type jd = j; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type id = i; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< Geometry::BasicVector3D< double > >::value_type const &std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____getitem____SWIG_1(std::vector< Geometry::BasicVector3D< double > > const *self,std::vector< Geometry::BasicVector3D< double > >::difference_type i){ @@ -6591,13 +6513,6 @@ SWIGINTERN std::vector< Geometry::BasicVector3D< double > >::value_type const &s SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____setitem____SWIG_2(std::vector< Geometry::BasicVector3D< double > > *self,std::vector< Geometry::BasicVector3D< double > >::difference_type i,std::vector< Geometry::BasicVector3D< double > >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< Geometry::BasicVector3D< double > >::value_type std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg__pop(std::vector< Geometry::BasicVector3D< double > > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg__append(std::vector< Geometry::BasicVector3D< double > > *self,std::vector< Geometry::BasicVector3D< double > >::value_type const &x){ self->push_back(x); } @@ -6607,7 +6522,7 @@ SWIGINTERN std::vector< Geometry::BasicVector3D< double > >::iterator std_vector SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg__insert__SWIG_1(std::vector< Geometry::BasicVector3D< double > > *self,std::vector< Geometry::BasicVector3D< double > >::iterator pos,std::vector< Geometry::BasicVector3D< double > >::size_type n,std::vector< Geometry::BasicVector3D< double > >::value_type const &x){ self->insert(pos, n, x); } namespace swig { - template <> struct traits< Geometry::BasicVector3D< std::complex< double > > > { + template <> struct traits<Geometry::BasicVector3D< std::complex< double > > > { typedef pointer_category category; static const char* type_name() { return"Geometry::BasicVector3D< std::complex< double > >"; } }; @@ -6615,7 +6530,7 @@ SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg__insert__S namespace swig { - template <> struct traits<std::vector< Geometry::BasicVector3D< std::complex< double > >, std::allocator< Geometry::BasicVector3D< std::complex< double > > > > > { + template <> struct traits<std::vector<Geometry::BasicVector3D< std::complex< double > >, std::allocator< Geometry::BasicVector3D< std::complex< double > > > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "Geometry::BasicVector3D< std::complex< double > >" "," "std::allocator< Geometry::BasicVector3D< std::complex< double > > >" " >"; @@ -6635,20 +6550,24 @@ SWIGINTERN bool std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg SWIGINTERN std::vector< Geometry::BasicVector3D< std::complex< double > > >::size_type std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____len__(std::vector< Geometry::BasicVector3D< std::complex< double > > > const *self){ return self->size(); } +SWIGINTERN std::vector< Geometry::BasicVector3D< std::complex< double > > >::value_type std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg__pop(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____getslice__(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____setslice____SWIG_0(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >()); - } -SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____setslice____SWIG_1(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j,std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > const &v){ +SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____setslice____SWIG_0(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j,std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > const &v=std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____delslice__(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____delitem____SWIG_0(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____getitem____SWIG_0(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -6657,8 +6576,8 @@ SWIGINTERN std::vector< Geometry::BasicVector3D< std::complex< double > >,std::a return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type id = i; - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type jd = j; + std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type id = i; + std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____setitem____SWIG_0(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self,PySliceObject *slice,std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > const &v){ @@ -6668,8 +6587,8 @@ SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type id = i; - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type jd = j; + std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type id = i; + std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____setitem____SWIG_1(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self,PySliceObject *slice){ @@ -6679,8 +6598,8 @@ SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type id = i; - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type jd = j; + std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type id = i; + std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____delitem____SWIG_1(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self,PySliceObject *slice){ @@ -6690,8 +6609,8 @@ SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type id = i; - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type jd = j; + std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type id = i; + std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< Geometry::BasicVector3D< std::complex< double > > >::value_type const &std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____getitem____SWIG_1(std::vector< Geometry::BasicVector3D< std::complex< double > > > const *self,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i){ @@ -6700,13 +6619,6 @@ SWIGINTERN std::vector< Geometry::BasicVector3D< std::complex< double > > >::val SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____setitem____SWIG_2(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i,std::vector< Geometry::BasicVector3D< std::complex< double > > >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< Geometry::BasicVector3D< std::complex< double > > >::value_type std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg__pop(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg__append(std::vector< Geometry::BasicVector3D< std::complex< double > > > *self,std::vector< Geometry::BasicVector3D< std::complex< double > > >::value_type const &x){ self->push_back(x); } @@ -6738,7 +6650,7 @@ SWIGINTERN double VariableBinAxis___getitem__(VariableBinAxis *self,unsigned int } namespace swig { - template <> struct traits< ISample > { + template <> struct traits<ISample > { typedef pointer_category category; static const char* type_name() { return"ISample"; } }; @@ -6746,7 +6658,7 @@ SWIGINTERN double VariableBinAxis___getitem__(VariableBinAxis *self,unsigned int namespace swig { - template <> struct traits<std::vector< ISample*, std::allocator< ISample * > > > { + template <> struct traits<std::vector<ISample*, std::allocator< ISample * > > > { typedef value_category category; static const char* type_name() { return "std::vector<" "ISample" " *," "std::allocator< ISample * >" " >"; @@ -6766,20 +6678,24 @@ SWIGINTERN bool std_vector_Sl_ISample_Sm__Sg____bool__(std::vector< ISample * > SWIGINTERN std::vector< ISample * >::size_type std_vector_Sl_ISample_Sm__Sg____len__(std::vector< ISample * > const *self){ return self->size(); } +SWIGINTERN std::vector< ISample * >::value_type std_vector_Sl_ISample_Sm__Sg__pop(std::vector< ISample * > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<ISample*,std::allocator< ISample * > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< ISample *,std::allocator< ISample * > > *std_vector_Sl_ISample_Sm__Sg____getslice__(std::vector< ISample * > *self,std::vector< ISample * >::difference_type i,std::vector< ISample * >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_ISample_Sm__Sg____setslice____SWIG_0(std::vector< ISample * > *self,std::vector< ISample * >::difference_type i,std::vector< ISample * >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< ISample*,std::allocator< ISample * > >()); - } -SWIGINTERN void std_vector_Sl_ISample_Sm__Sg____setslice____SWIG_1(std::vector< ISample * > *self,std::vector< ISample * >::difference_type i,std::vector< ISample * >::difference_type j,std::vector< ISample *,std::allocator< ISample * > > const &v){ +SWIGINTERN void std_vector_Sl_ISample_Sm__Sg____setslice____SWIG_0(std::vector< ISample * > *self,std::vector< ISample * >::difference_type i,std::vector< ISample * >::difference_type j,std::vector< ISample *,std::allocator< ISample * > > const &v=std::vector< ISample *,std::allocator< ISample * > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_ISample_Sm__Sg____delslice__(std::vector< ISample * > *self,std::vector< ISample * >::difference_type i,std::vector< ISample * >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_ISample_Sm__Sg____delitem____SWIG_0(std::vector< ISample * > *self,std::vector< ISample * >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< ISample *,std::allocator< ISample * > > *std_vector_Sl_ISample_Sm__Sg____getitem____SWIG_0(std::vector< ISample * > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -6788,8 +6704,8 @@ SWIGINTERN std::vector< ISample *,std::allocator< ISample * > > *std_vector_Sl_I return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< ISample*,std::allocator< ISample * > >::difference_type id = i; - std::vector< ISample*,std::allocator< ISample * > >::difference_type jd = j; + std::vector<ISample*,std::allocator< ISample * > >::difference_type id = i; + std::vector<ISample*,std::allocator< ISample * > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_ISample_Sm__Sg____setitem____SWIG_0(std::vector< ISample * > *self,PySliceObject *slice,std::vector< ISample *,std::allocator< ISample * > > const &v){ @@ -6799,8 +6715,8 @@ SWIGINTERN void std_vector_Sl_ISample_Sm__Sg____setitem____SWIG_0(std::vector< I return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< ISample*,std::allocator< ISample * > >::difference_type id = i; - std::vector< ISample*,std::allocator< ISample * > >::difference_type jd = j; + std::vector<ISample*,std::allocator< ISample * > >::difference_type id = i; + std::vector<ISample*,std::allocator< ISample * > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_ISample_Sm__Sg____setitem____SWIG_1(std::vector< ISample * > *self,PySliceObject *slice){ @@ -6810,8 +6726,8 @@ SWIGINTERN void std_vector_Sl_ISample_Sm__Sg____setitem____SWIG_1(std::vector< I return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< ISample*,std::allocator< ISample * > >::difference_type id = i; - std::vector< ISample*,std::allocator< ISample * > >::difference_type jd = j; + std::vector<ISample*,std::allocator< ISample * > >::difference_type id = i; + std::vector<ISample*,std::allocator< ISample * > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_ISample_Sm__Sg____delitem____SWIG_1(std::vector< ISample * > *self,PySliceObject *slice){ @@ -6821,8 +6737,8 @@ SWIGINTERN void std_vector_Sl_ISample_Sm__Sg____delitem____SWIG_1(std::vector< I return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< ISample*,std::allocator< ISample * > >::difference_type id = i; - std::vector< ISample*,std::allocator< ISample * > >::difference_type jd = j; + std::vector<ISample*,std::allocator< ISample * > >::difference_type id = i; + std::vector<ISample*,std::allocator< ISample * > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< ISample * >::value_type std_vector_Sl_ISample_Sm__Sg____getitem____SWIG_1(std::vector< ISample * > *self,std::vector< ISample * >::difference_type i){ @@ -6831,13 +6747,6 @@ SWIGINTERN std::vector< ISample * >::value_type std_vector_Sl_ISample_Sm__Sg____ SWIGINTERN void std_vector_Sl_ISample_Sm__Sg____setitem____SWIG_2(std::vector< ISample * > *self,std::vector< ISample * >::difference_type i,std::vector< ISample * >::value_type x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< ISample * >::value_type std_vector_Sl_ISample_Sm__Sg__pop(std::vector< ISample * > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< ISample*,std::allocator< ISample * > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_ISample_Sm__Sg__append(std::vector< ISample * > *self,std::vector< ISample * >::value_type x){ self->push_back(x); } @@ -6847,7 +6756,7 @@ SWIGINTERN std::vector< ISample * >::iterator std_vector_Sl_ISample_Sm__Sg__inse SWIGINTERN void std_vector_Sl_ISample_Sm__Sg__insert__SWIG_1(std::vector< ISample * > *self,std::vector< ISample * >::iterator pos,std::vector< ISample * >::size_type n,std::vector< ISample * >::value_type x){ self->insert(pos, n, x); } namespace swig { - template <> struct traits<std::vector< ISample const*, std::allocator< ISample const * > > > { + template <> struct traits<std::vector<ISample const*, std::allocator< ISample const * > > > { typedef value_category category; static const char* type_name() { return "std::vector<" "ISample" " const*," "std::allocator< ISample const * >" " >"; @@ -6867,20 +6776,24 @@ SWIGINTERN bool std_vector_Sl_ISample_SS_const_Sm__Sg____bool__(std::vector< ISa SWIGINTERN std::vector< ISample const * >::size_type std_vector_Sl_ISample_SS_const_Sm__Sg____len__(std::vector< ISample const * > const *self){ return self->size(); } +SWIGINTERN std::vector< ISample const * >::value_type std_vector_Sl_ISample_SS_const_Sm__Sg__pop(std::vector< ISample const * > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<ISample const*,std::allocator< ISample const * > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< ISample const *,std::allocator< ISample const * > > *std_vector_Sl_ISample_SS_const_Sm__Sg____getslice__(std::vector< ISample const * > *self,std::vector< ISample const * >::difference_type i,std::vector< ISample const * >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg____setslice____SWIG_0(std::vector< ISample const * > *self,std::vector< ISample const * >::difference_type i,std::vector< ISample const * >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< ISample const*,std::allocator< ISample const * > >()); - } -SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg____setslice____SWIG_1(std::vector< ISample const * > *self,std::vector< ISample const * >::difference_type i,std::vector< ISample const * >::difference_type j,std::vector< ISample const *,std::allocator< ISample const * > > const &v){ +SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg____setslice____SWIG_0(std::vector< ISample const * > *self,std::vector< ISample const * >::difference_type i,std::vector< ISample const * >::difference_type j,std::vector< ISample const *,std::allocator< ISample const * > > const &v=std::vector< ISample const *,std::allocator< ISample const * > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg____delslice__(std::vector< ISample const * > *self,std::vector< ISample const * >::difference_type i,std::vector< ISample const * >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg____delitem____SWIG_0(std::vector< ISample const * > *self,std::vector< ISample const * >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< ISample const *,std::allocator< ISample const * > > *std_vector_Sl_ISample_SS_const_Sm__Sg____getitem____SWIG_0(std::vector< ISample const * > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -6889,8 +6802,8 @@ SWIGINTERN std::vector< ISample const *,std::allocator< ISample const * > > *std return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< ISample const*,std::allocator< ISample const * > >::difference_type id = i; - std::vector< ISample const*,std::allocator< ISample const * > >::difference_type jd = j; + std::vector<ISample const*,std::allocator< ISample const * > >::difference_type id = i; + std::vector<ISample const*,std::allocator< ISample const * > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg____setitem____SWIG_0(std::vector< ISample const * > *self,PySliceObject *slice,std::vector< ISample const *,std::allocator< ISample const * > > const &v){ @@ -6900,8 +6813,8 @@ SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg____setitem____SWIG_0(std:: return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< ISample const*,std::allocator< ISample const * > >::difference_type id = i; - std::vector< ISample const*,std::allocator< ISample const * > >::difference_type jd = j; + std::vector<ISample const*,std::allocator< ISample const * > >::difference_type id = i; + std::vector<ISample const*,std::allocator< ISample const * > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg____setitem____SWIG_1(std::vector< ISample const * > *self,PySliceObject *slice){ @@ -6911,8 +6824,8 @@ SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg____setitem____SWIG_1(std:: return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< ISample const*,std::allocator< ISample const * > >::difference_type id = i; - std::vector< ISample const*,std::allocator< ISample const * > >::difference_type jd = j; + std::vector<ISample const*,std::allocator< ISample const * > >::difference_type id = i; + std::vector<ISample const*,std::allocator< ISample const * > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg____delitem____SWIG_1(std::vector< ISample const * > *self,PySliceObject *slice){ @@ -6922,8 +6835,8 @@ SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg____delitem____SWIG_1(std:: return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< ISample const*,std::allocator< ISample const * > >::difference_type id = i; - std::vector< ISample const*,std::allocator< ISample const * > >::difference_type jd = j; + std::vector<ISample const*,std::allocator< ISample const * > >::difference_type id = i; + std::vector<ISample const*,std::allocator< ISample const * > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< ISample const * >::value_type std_vector_Sl_ISample_SS_const_Sm__Sg____getitem____SWIG_1(std::vector< ISample const * > *self,std::vector< ISample const * >::difference_type i){ @@ -6932,13 +6845,6 @@ SWIGINTERN std::vector< ISample const * >::value_type std_vector_Sl_ISample_SS_c SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg____setitem____SWIG_2(std::vector< ISample const * > *self,std::vector< ISample const * >::difference_type i,std::vector< ISample const * >::value_type x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< ISample const * >::value_type std_vector_Sl_ISample_SS_const_Sm__Sg__pop(std::vector< ISample const * > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< ISample const*,std::allocator< ISample const * > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_ISample_SS_const_Sm__Sg__append(std::vector< ISample const * > *self,std::vector< ISample const * >::value_type x){ self->push_back(x); } @@ -6970,7 +6876,7 @@ SWIGINTERN double FixedBinAxis___getitem__(FixedBinAxis *self,unsigned int i){ } namespace swig { - template <> struct traits< IFormFactor > { + template <> struct traits<IFormFactor > { typedef pointer_category category; static const char* type_name() { return"IFormFactor"; } }; @@ -6978,7 +6884,7 @@ SWIGINTERN double FixedBinAxis___getitem__(FixedBinAxis *self,unsigned int i){ namespace swig { - template <> struct traits<std::vector< IFormFactor*, std::allocator< IFormFactor * > > > { + template <> struct traits<std::vector<IFormFactor*, std::allocator< IFormFactor * > > > { typedef value_category category; static const char* type_name() { return "std::vector<" "IFormFactor" " *," "std::allocator< IFormFactor * >" " >"; @@ -6998,20 +6904,24 @@ SWIGINTERN bool std_vector_Sl_IFormFactor_Sm__Sg____bool__(std::vector< IFormFac SWIGINTERN std::vector< IFormFactor * >::size_type std_vector_Sl_IFormFactor_Sm__Sg____len__(std::vector< IFormFactor * > const *self){ return self->size(); } +SWIGINTERN std::vector< IFormFactor * >::value_type std_vector_Sl_IFormFactor_Sm__Sg__pop(std::vector< IFormFactor * > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<IFormFactor*,std::allocator< IFormFactor * > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< IFormFactor *,std::allocator< IFormFactor * > > *std_vector_Sl_IFormFactor_Sm__Sg____getslice__(std::vector< IFormFactor * > *self,std::vector< IFormFactor * >::difference_type i,std::vector< IFormFactor * >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg____setslice____SWIG_0(std::vector< IFormFactor * > *self,std::vector< IFormFactor * >::difference_type i,std::vector< IFormFactor * >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< IFormFactor*,std::allocator< IFormFactor * > >()); - } -SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg____setslice____SWIG_1(std::vector< IFormFactor * > *self,std::vector< IFormFactor * >::difference_type i,std::vector< IFormFactor * >::difference_type j,std::vector< IFormFactor *,std::allocator< IFormFactor * > > const &v){ +SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg____setslice____SWIG_0(std::vector< IFormFactor * > *self,std::vector< IFormFactor * >::difference_type i,std::vector< IFormFactor * >::difference_type j,std::vector< IFormFactor *,std::allocator< IFormFactor * > > const &v=std::vector< IFormFactor *,std::allocator< IFormFactor * > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg____delslice__(std::vector< IFormFactor * > *self,std::vector< IFormFactor * >::difference_type i,std::vector< IFormFactor * >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg____delitem____SWIG_0(std::vector< IFormFactor * > *self,std::vector< IFormFactor * >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< IFormFactor *,std::allocator< IFormFactor * > > *std_vector_Sl_IFormFactor_Sm__Sg____getitem____SWIG_0(std::vector< IFormFactor * > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -7020,8 +6930,8 @@ SWIGINTERN std::vector< IFormFactor *,std::allocator< IFormFactor * > > *std_vec return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< IFormFactor*,std::allocator< IFormFactor * > >::difference_type id = i; - std::vector< IFormFactor*,std::allocator< IFormFactor * > >::difference_type jd = j; + std::vector<IFormFactor*,std::allocator< IFormFactor * > >::difference_type id = i; + std::vector<IFormFactor*,std::allocator< IFormFactor * > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg____setitem____SWIG_0(std::vector< IFormFactor * > *self,PySliceObject *slice,std::vector< IFormFactor *,std::allocator< IFormFactor * > > const &v){ @@ -7031,8 +6941,8 @@ SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg____setitem____SWIG_0(std::vecto return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< IFormFactor*,std::allocator< IFormFactor * > >::difference_type id = i; - std::vector< IFormFactor*,std::allocator< IFormFactor * > >::difference_type jd = j; + std::vector<IFormFactor*,std::allocator< IFormFactor * > >::difference_type id = i; + std::vector<IFormFactor*,std::allocator< IFormFactor * > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg____setitem____SWIG_1(std::vector< IFormFactor * > *self,PySliceObject *slice){ @@ -7042,8 +6952,8 @@ SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg____setitem____SWIG_1(std::vecto return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< IFormFactor*,std::allocator< IFormFactor * > >::difference_type id = i; - std::vector< IFormFactor*,std::allocator< IFormFactor * > >::difference_type jd = j; + std::vector<IFormFactor*,std::allocator< IFormFactor * > >::difference_type id = i; + std::vector<IFormFactor*,std::allocator< IFormFactor * > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg____delitem____SWIG_1(std::vector< IFormFactor * > *self,PySliceObject *slice){ @@ -7053,8 +6963,8 @@ SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg____delitem____SWIG_1(std::vecto return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< IFormFactor*,std::allocator< IFormFactor * > >::difference_type id = i; - std::vector< IFormFactor*,std::allocator< IFormFactor * > >::difference_type jd = j; + std::vector<IFormFactor*,std::allocator< IFormFactor * > >::difference_type id = i; + std::vector<IFormFactor*,std::allocator< IFormFactor * > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< IFormFactor * >::value_type std_vector_Sl_IFormFactor_Sm__Sg____getitem____SWIG_1(std::vector< IFormFactor * > *self,std::vector< IFormFactor * >::difference_type i){ @@ -7063,13 +6973,6 @@ SWIGINTERN std::vector< IFormFactor * >::value_type std_vector_Sl_IFormFactor_Sm SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg____setitem____SWIG_2(std::vector< IFormFactor * > *self,std::vector< IFormFactor * >::difference_type i,std::vector< IFormFactor * >::value_type x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< IFormFactor * >::value_type std_vector_Sl_IFormFactor_Sm__Sg__pop(std::vector< IFormFactor * > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< IFormFactor*,std::allocator< IFormFactor * > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_IFormFactor_Sm__Sg__append(std::vector< IFormFactor * > *self,std::vector< IFormFactor * >::value_type x){ self->push_back(x); } @@ -7880,7 +7783,7 @@ std::vector< ISample const *,std::allocator< ISample const * > > SwigDirector_IF Swig::DirectorMethodException::raise("Error detected when calling 'IFormFactor.getChildren'"); } } - std::vector< ISample const*,std::allocator< ISample const * > > *swig_optr = 0; + std::vector<ISample const*,std::allocator< ISample const * > > *swig_optr = 0; int swig_ores = swig::asptr(result, &swig_optr); if (!SWIG_IsOK(swig_ores) || !swig_optr) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError((swig_optr ? swig_ores : SWIG_TypeError))), "in output value of type '""std::vector< ISample const *,std::allocator< ISample const * > >""'"); @@ -8332,7 +8235,7 @@ std::vector< ISample const *,std::allocator< ISample const * > > SwigDirector_IF Swig::DirectorMethodException::raise("Error detected when calling 'IFormFactorBorn.getChildren'"); } } - std::vector< ISample const*,std::allocator< ISample const * > > *swig_optr = 0; + std::vector<ISample const*,std::allocator< ISample const * > > *swig_optr = 0; int swig_ores = swig::asptr(result, &swig_optr); if (!SWIG_IsOK(swig_ores) || !swig_optr) { Swig::DirectorTypeMismatchException::raise(SWIG_ErrorType(SWIG_ArgError((swig_optr ? swig_ores : SWIG_TypeError))), "in output value of type '""std::vector< ISample const *,std::allocator< ISample const * > >""'"); @@ -8755,14 +8658,14 @@ fail: SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -8874,14 +8777,14 @@ fail: SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -9425,14 +9328,14 @@ fail: SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -9579,56 +9482,35 @@ fail: } -SWIGINTERN PyObject *_wrap_vdouble1d_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vdouble1d_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - std::vector< double >::difference_type arg2 ; - std::vector< double >::difference_type arg3 ; void *argp1 = 0 ; int res1 = 0 ; - ptrdiff_t val2 ; - int ecode2 = 0 ; - ptrdiff_t val3 ; - int ecode3 = 0 ; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - std::vector< double,std::allocator< double > > *result = 0 ; + std::vector< double >::value_type result; - if (!PyArg_ParseTuple(args,(char *)"OOO:vdouble1d_t___getslice__",&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_pop",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t___getslice__" "', argument " "1"" of type '" "std::vector< double > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_pop" "', argument " "1"" of type '" "std::vector< double > *""'"); } arg1 = reinterpret_cast< std::vector< double > * >(argp1); - ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vdouble1d_t___getslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'"); - } - arg2 = static_cast< std::vector< double >::difference_type >(val2); - ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vdouble1d_t___getslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'"); - } - arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< double >::value_type)std_vector_Sl_double_Sg__pop(arg1); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vdouble1d_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; std::vector< double >::difference_type arg2 ; @@ -9642,25 +9524,26 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_0(PyObject *SWIGUNUSED PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + std::vector< double,std::allocator< double > > *result = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOO:vdouble1d_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOO:vdouble1d_t___getslice__",&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t___setslice__" "', argument " "1"" of type '" "std::vector< double > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t___getslice__" "', argument " "1"" of type '" "std::vector< double > *""'"); } arg1 = reinterpret_cast< std::vector< double > * >(argp1); ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vdouble1d_t___setslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vdouble1d_t___getslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'"); } arg2 = static_cast< std::vector< double >::difference_type >(val2); ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vdouble1d_t___setslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vdouble1d_t___getslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'"); } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3); + result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -9669,14 +9552,14 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_0(PyObject *SWIGUNUSED SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; std::vector< double >::difference_type arg2 ; @@ -9711,7 +9594,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_1(PyObject *SWIGUNUSED } arg3 = static_cast< std::vector< double >::difference_type >(val3); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res4 = swig::asptr(obj3, &ptr); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vdouble1d_t___setslice__" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -9722,7 +9605,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_1(PyObject *SWIGUNUSED arg4 = ptr; } try { - std_vector_Sl_double_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< double,std::allocator< double > > const &)*arg4); + std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< double,std::allocator< double > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -9740,21 +9623,69 @@ fail: } +SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< double > *arg1 = (std::vector< double > *) 0 ; + std::vector< double >::difference_type arg2 ; + std::vector< double >::difference_type arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + ptrdiff_t val2 ; + int ecode2 = 0 ; + ptrdiff_t val3 ; + int ecode3 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"OOO:vdouble1d_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t___setslice__" "', argument " "1"" of type '" "std::vector< double > *""'"); + } + arg1 = reinterpret_cast< std::vector< double > * >(argp1); + ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vdouble1d_t___setslice__" "', argument " "2"" of type '" "std::vector< double >::difference_type""'"); + } + arg2 = static_cast< std::vector< double >::difference_type >(val2); + ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vdouble1d_t___setslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'"); + } + arg3 = static_cast< std::vector< double >::difference_type >(val3); + try { + std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + catch(std::invalid_argument &_e) { + SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); + } + + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -9767,14 +9698,14 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice__(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vdouble1d_t___setslice____SWIG_0(self, args); + return _wrap_vdouble1d_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -9787,10 +9718,10 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice__(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vdouble1d_t___setslice____SWIG_1(self, args); + return _wrap_vdouble1d_t___setslice____SWIG_0(self, args); } } } @@ -9800,8 +9731,8 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice__(PyObject *self, PyObject *ar fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vdouble1d_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type)\n" - " std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type,std::vector< double,std::allocator< double > > const &)\n"); + " std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type,std::vector< double,std::allocator< double > > const &)\n" + " std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type)\n"); return 0; } @@ -9882,9 +9813,6 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___delitem____SWIG_0(PyObject *SWIGUNUSEDP catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -9957,7 +9885,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setitem____SWIG_0(PyObject *SWIGUNUSEDP arg2 = (PySliceObject *) obj1; } { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vdouble1d_t___setitem__" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -10063,20 +9991,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble1d_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -10089,7 +10017,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___delitem__(PyObject *self, PyObject *arg } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -10149,20 +10077,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble1d_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -10175,7 +10103,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___getitem__(PyObject *self, PyObject *arg } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -10245,20 +10173,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble1d_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -10271,14 +10199,14 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setitem__(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vdouble1d_t___setitem____SWIG_0(self, args); @@ -10288,7 +10216,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setitem__(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -10317,34 +10245,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vdouble1d_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< double > *arg1 = (std::vector< double > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< double >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_pop" "', argument " "1"" of type '" "std::vector< double > *""'"); - } - arg1 = reinterpret_cast< std::vector< double > * >(argp1); - try { - result = (std::vector< double >::value_type)std_vector_Sl_double_Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vdouble1d_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; @@ -10399,7 +10299,7 @@ SWIGINTERN PyObject *_wrap_new_vdouble1d_t__SWIG_1(PyObject *SWIGUNUSEDPARM(self if (!PyArg_ParseTuple(args,(char *)"O:new_vdouble1d_t",&obj0)) SWIG_fail; { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vdouble1d_t" "', argument " "1"" of type '" "std::vector< double > const &""'"); @@ -10463,6 +10363,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vdouble1d_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< double > *arg1 = (std::vector< double > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_clear" "', argument " "1"" of type '" "std::vector< double > *""'"); + } + arg1 = reinterpret_cast< std::vector< double > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vdouble1d_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; @@ -10496,6 +10417,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vdouble1d_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< double > *arg1 = (std::vector< double > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< double > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_get_allocator" "', argument " "1"" of type '" "std::vector< double > const *""'"); + } + arg1 = reinterpret_cast< std::vector< double > * >(argp1); + result = ((std::vector< double > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(static_cast< const std::vector< double >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vdouble1d_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; @@ -10588,49 +10531,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vdouble1d_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< double > *arg1 = (std::vector< double > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_clear" "', argument " "1"" of type '" "std::vector< double > *""'"); - } - arg1 = reinterpret_cast< std::vector< double > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vdouble1d_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< double > *arg1 = (std::vector< double > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< double > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_get_allocator" "', argument " "1"" of type '" "std::vector< double > const *""'"); - } - arg1 = reinterpret_cast< std::vector< double > * >(argp1); - result = ((std::vector< double > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(static_cast< const std::vector< double >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vdouble1d_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double >::size_type arg1 ; @@ -10796,20 +10696,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble1d_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -10822,7 +10722,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t_erase(PyObject *self, PyObject *args) { } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -10882,14 +10782,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vdouble1d_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -10908,7 +10808,7 @@ SWIGINTERN PyObject *_wrap_new_vdouble1d_t(PyObject *self, PyObject *args) { } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vdouble1d_t__SWIG_1(self, args); @@ -11101,20 +11001,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble1d_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -11128,7 +11028,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t_resize(PyObject *self, PyObject *args) { } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -11262,20 +11162,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble1d_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -11294,7 +11194,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t_insert(PyObject *self, PyObject *args) { } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -11497,6 +11397,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vdouble2d_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< std::vector< double > >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vdouble2d_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t_pop" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); + try { + result = std_vector_Sl_std_vector_Sl_double_Sg__Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vdouble2d_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; @@ -11551,17 +11479,20 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice____SWIG_0(PyObject *SWIGUNUSED std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; std::vector< std::vector< double > >::difference_type arg2 ; std::vector< std::vector< double > >::difference_type arg3 ; + std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOO:vdouble2d_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOOO:vdouble2d_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t___setslice__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); @@ -11577,8 +11508,19 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice____SWIG_0(PyObject *SWIGUNUSED SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vdouble2d_t___setslice__" "', argument " "3"" of type '" "std::vector< std::vector< double > >::difference_type""'"); } arg3 = static_cast< std::vector< std::vector< double > >::difference_type >(val3); + { + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vdouble2d_t___setslice__" "', argument " "4"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vdouble2d_t___setslice__" "', argument " "4"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); + } + arg4 = ptr; + } try { - std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -11588,8 +11530,10 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice____SWIG_0(PyObject *SWIGUNUSED } resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } @@ -11599,20 +11543,17 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice____SWIG_1(PyObject *SWIGUNUSED std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; std::vector< std::vector< double > >::difference_type arg2 ; std::vector< std::vector< double > >::difference_type arg3 ; - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOOO:vdouble2d_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOO:vdouble2d_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t___setslice__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); @@ -11628,19 +11569,8 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice____SWIG_1(PyObject *SWIGUNUSED SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vdouble2d_t___setslice__" "', argument " "3"" of type '" "std::vector< std::vector< double > >::difference_type""'"); } arg3 = static_cast< std::vector< std::vector< double > >::difference_type >(val3); - { - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vdouble2d_t___setslice__" "', argument " "4"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vdouble2d_t___setslice__" "', argument " "4"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); - } - arg4 = ptr; - } try { - std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)*arg4); + std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -11650,29 +11580,27 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice____SWIG_1(PyObject *SWIGUNUSED } resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -11685,14 +11613,14 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice__(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vdouble2d_t___setslice____SWIG_0(self, args); + return _wrap_vdouble2d_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -11705,10 +11633,10 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice__(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vdouble2d_t___setslice____SWIG_1(self, args); + return _wrap_vdouble2d_t___setslice____SWIG_0(self, args); } } } @@ -11718,8 +11646,8 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice__(PyObject *self, PyObject *ar fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vdouble2d_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::vector< double > >::__setslice__(std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double > >::difference_type)\n" - " std::vector< std::vector< double > >::__setslice__(std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)\n"); + " std::vector< std::vector< double > >::__setslice__(std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)\n" + " std::vector< std::vector< double > >::__setslice__(std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double > >::difference_type)\n"); return 0; } @@ -11800,9 +11728,6 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___delitem____SWIG_0(PyObject *SWIGUNUSEDP catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -11875,7 +11800,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setitem____SWIG_0(PyObject *SWIGUNUSEDP arg2 = (PySliceObject *) obj1; } { - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vdouble2d_t___setitem__" "', argument " "3"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); @@ -11981,20 +11906,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble2d_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -12007,7 +11932,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___delitem__(PyObject *self, PyObject *arg } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -12059,7 +11984,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___getitem____SWIG_1(PyObject *SWIGUNUSEDP SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(*result)); return resultobj; fail: return NULL; @@ -12067,20 +11992,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble2d_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -12093,7 +12018,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___getitem__(PyObject *self, PyObject *arg } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -12141,7 +12066,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setitem____SWIG_2(PyObject *SWIGUNUSEDP } arg2 = static_cast< std::vector< std::vector< double > >::difference_type >(val2); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vdouble2d_t___setitem__" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -12168,20 +12093,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble2d_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -12194,14 +12119,14 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setitem__(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vdouble2d_t___setitem____SWIG_0(self, args); @@ -12211,7 +12136,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setitem__(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -12219,7 +12144,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setitem__(PyObject *self, PyObject *arg _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vdouble2d_t___setitem____SWIG_2(self, args); @@ -12238,34 +12163,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vdouble2d_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< std::vector< double > >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vdouble2d_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t_pop" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); - try { - result = std_vector_Sl_std_vector_Sl_double_Sg__Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vdouble2d_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; @@ -12283,7 +12180,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_append(PyObject *SWIGUNUSEDPARM(self), Py } arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vdouble2d_t_append" "', argument " "2"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -12325,7 +12222,7 @@ SWIGINTERN PyObject *_wrap_new_vdouble2d_t__SWIG_1(PyObject *SWIGUNUSEDPARM(self if (!PyArg_ParseTuple(args,(char *)"O:new_vdouble2d_t",&obj0)) SWIG_fail; { - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vdouble2d_t" "', argument " "1"" of type '" "std::vector< std::vector< double,std::allocator< double > > > const &""'"); @@ -12389,6 +12286,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vdouble2d_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vdouble2d_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t_clear" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vdouble2d_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; @@ -12422,6 +12340,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vdouble2d_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< std::vector< double,std::allocator< double > > > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vdouble2d_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t_get_allocator" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); + } + arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); + result = ((std::vector< std::vector< double > > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< std::vector< double > >::allocator_type(static_cast< const std::vector< std::vector< double > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vdouble2d_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; @@ -12514,49 +12454,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vdouble2d_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vdouble2d_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t_clear" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vdouble2d_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< std::vector< double,std::allocator< double > > > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vdouble2d_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t_get_allocator" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); - } - arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); - result = ((std::vector< std::vector< double > > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::vector< double > >::allocator_type(static_cast< const std::vector< std::vector< double > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vdouble2d_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< double > >::size_type arg1 ; @@ -12722,20 +12619,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble2d_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -12748,7 +12645,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_erase(PyObject *self, PyObject *args) { } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -12792,7 +12689,7 @@ SWIGINTERN PyObject *_wrap_new_vdouble2d_t__SWIG_3(PyObject *SWIGUNUSEDPARM(self } arg1 = static_cast< std::vector< std::vector< double > >::size_type >(val1); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vdouble2d_t" "', argument " "2"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -12813,14 +12710,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vdouble2d_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -12839,7 +12736,7 @@ SWIGINTERN PyObject *_wrap_new_vdouble2d_t(PyObject *self, PyObject *args) { } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vdouble2d_t__SWIG_1(self, args); @@ -12852,7 +12749,7 @@ SWIGINTERN PyObject *_wrap_new_vdouble2d_t(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[1], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[1], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vdouble2d_t__SWIG_3(self, args); @@ -12888,7 +12785,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_push_back(PyObject *SWIGUNUSEDPARM(self), } arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vdouble2d_t_push_back" "', argument " "2"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -12923,7 +12820,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_front(PyObject *SWIGUNUSEDPARM(self), PyO } arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); result = (std::vector< std::vector< double > >::value_type *) &((std::vector< std::vector< double > > const *)arg1)->front(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(*result)); return resultobj; fail: return NULL; @@ -12945,7 +12842,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_back(PyObject *SWIGUNUSEDPARM(self), PyOb } arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); result = (std::vector< std::vector< double > >::value_type *) &((std::vector< std::vector< double > > const *)arg1)->back(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(*result)); return resultobj; fail: return NULL; @@ -12978,7 +12875,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_assign(PyObject *SWIGUNUSEDPARM(self), Py } arg2 = static_cast< std::vector< std::vector< double > >::size_type >(val2); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vdouble2d_t_assign" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -13024,7 +12921,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(s } arg2 = static_cast< std::vector< std::vector< double > >::size_type >(val2); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vdouble2d_t_resize" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -13045,20 +12942,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble2d_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13072,7 +12969,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_resize(PyObject *self, PyObject *args) { } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13080,7 +12977,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_resize(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vdouble2d_t_resize__SWIG_1(self, args); @@ -13131,7 +13028,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(s } } { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vdouble2d_t_insert" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -13193,7 +13090,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(s } arg3 = static_cast< std::vector< std::vector< double > >::size_type >(val3); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res4 = swig::asptr(obj3, &ptr); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vdouble2d_t_insert" "', argument " "4"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -13214,27 +13111,27 @@ fail: SWIGINTERN PyObject *_wrap_vdouble2d_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0); _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *>(iter) != 0)); if (_v) { - int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vdouble2d_t_insert__SWIG_0(self, args); @@ -13244,7 +13141,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_insert(PyObject *self, PyObject *args) { } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -13256,7 +13153,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_insert(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vdouble2d_t_insert__SWIG_1(self, args); @@ -13445,6 +13342,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_integer_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< int > *arg1 = (std::vector< int > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< int >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_integer_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t_pop" "', argument " "1"" of type '" "std::vector< int > *""'"); + } + arg1 = reinterpret_cast< std::vector< int > * >(argp1); + try { + result = (std::vector< int >::value_type)std_vector_Sl_int_Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_integer_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; @@ -13499,17 +13424,20 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice____SWIG_0(PyObject *SWIGU std::vector< int > *arg1 = (std::vector< int > *) 0 ; std::vector< int >::difference_type arg2 ; std::vector< int >::difference_type arg3 ; + std::vector< int,std::allocator< int > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOO:vector_integer_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_integer_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t___setslice__" "', argument " "1"" of type '" "std::vector< int > *""'"); @@ -13525,8 +13453,19 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice____SWIG_0(PyObject *SWIGU SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_integer_t___setslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'"); } arg3 = static_cast< std::vector< int >::difference_type >(val3); + { + std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_integer_t___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_integer_t___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'"); + } + arg4 = ptr; + } try { - std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< int,std::allocator< int > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -13536,8 +13475,10 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice____SWIG_0(PyObject *SWIGU } resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } @@ -13547,20 +13488,17 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice____SWIG_1(PyObject *SWIGU std::vector< int > *arg1 = (std::vector< int > *) 0 ; std::vector< int >::difference_type arg2 ; std::vector< int >::difference_type arg3 ; - std::vector< int,std::allocator< int > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_integer_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOO:vector_integer_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t___setslice__" "', argument " "1"" of type '" "std::vector< int > *""'"); @@ -13576,19 +13514,8 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice____SWIG_1(PyObject *SWIGU SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_integer_t___setslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'"); } arg3 = static_cast< std::vector< int >::difference_type >(val3); - { - std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_integer_t___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_integer_t___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'"); - } - arg4 = ptr; - } try { - std_vector_Sl_int_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< int,std::allocator< int > > const &)*arg4); + std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -13598,29 +13525,27 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice____SWIG_1(PyObject *SWIGU } resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } SWIGINTERN PyObject *_wrap_vector_integer_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13633,14 +13558,14 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice__(PyObject *self, PyObjec _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vector_integer_t___setslice____SWIG_0(self, args); + return _wrap_vector_integer_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13653,10 +13578,10 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice__(PyObject *self, PyObjec _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vector_integer_t___setslice____SWIG_1(self, args); + return _wrap_vector_integer_t___setslice____SWIG_0(self, args); } } } @@ -13666,8 +13591,8 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice__(PyObject *self, PyObjec fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_integer_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type)\n" - " std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type,std::vector< int,std::allocator< int > > const &)\n"); + " std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type,std::vector< int,std::allocator< int > > const &)\n" + " std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type)\n"); return 0; } @@ -13748,9 +13673,6 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___delitem____SWIG_0(PyObject *SWIGUN catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -13823,7 +13745,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setitem____SWIG_0(PyObject *SWIGUN arg2 = (PySliceObject *) obj1; } { - std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; + std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_integer_t___setitem__" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'"); @@ -13929,20 +13851,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_integer_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13955,7 +13877,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___delitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -14015,20 +13937,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_integer_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -14041,7 +13963,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___getitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -14111,20 +14033,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_integer_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -14137,14 +14059,14 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vector_integer_t___setitem____SWIG_0(self, args); @@ -14154,7 +14076,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -14183,34 +14105,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_integer_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< int > *arg1 = (std::vector< int > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< int >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_integer_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t_pop" "', argument " "1"" of type '" "std::vector< int > *""'"); - } - arg1 = reinterpret_cast< std::vector< int > * >(argp1); - try { - result = (std::vector< int >::value_type)std_vector_Sl_int_Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_integer_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; @@ -14265,7 +14159,7 @@ SWIGINTERN PyObject *_wrap_new_vector_integer_t__SWIG_1(PyObject *SWIGUNUSEDPARM if (!PyArg_ParseTuple(args,(char *)"O:new_vector_integer_t",&obj0)) SWIG_fail; { - std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; + std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_integer_t" "', argument " "1"" of type '" "std::vector< int > const &""'"); @@ -14329,6 +14223,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_integer_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< int > *arg1 = (std::vector< int > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_integer_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t_clear" "', argument " "1"" of type '" "std::vector< int > *""'"); + } + arg1 = reinterpret_cast< std::vector< int > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_integer_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; @@ -14362,6 +14277,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_integer_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< int > *arg1 = (std::vector< int > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< int > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_integer_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t_get_allocator" "', argument " "1"" of type '" "std::vector< int > const *""'"); + } + arg1 = reinterpret_cast< std::vector< int > * >(argp1); + result = ((std::vector< int > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(static_cast< const std::vector< int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_integer_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; @@ -14454,49 +14391,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_integer_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< int > *arg1 = (std::vector< int > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_integer_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t_clear" "', argument " "1"" of type '" "std::vector< int > *""'"); - } - arg1 = reinterpret_cast< std::vector< int > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vector_integer_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< int > *arg1 = (std::vector< int > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< int > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_integer_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t_get_allocator" "', argument " "1"" of type '" "std::vector< int > const *""'"); - } - arg1 = reinterpret_cast< std::vector< int > * >(argp1); - result = ((std::vector< int > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(static_cast< const std::vector< int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vector_integer_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< int >::size_type arg1 ; @@ -14662,20 +14556,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_integer_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -14688,7 +14582,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t_erase(PyObject *self, PyObject *args } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -14748,14 +14642,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vector_integer_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -14774,7 +14668,7 @@ SWIGINTERN PyObject *_wrap_new_vector_integer_t(PyObject *self, PyObject *args) } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vector_integer_t__SWIG_1(self, args); @@ -14967,20 +14861,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_integer_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -14994,7 +14888,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t_resize(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15128,20 +15022,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_integer_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -15160,7 +15054,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t_insert(PyObject *self, PyObject *arg } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -15363,6 +15257,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_longinteger_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< unsigned long >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_longinteger_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t_pop" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); + } + arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1); + try { + result = (std::vector< unsigned long >::value_type)std_vector_Sl_unsigned_SS_long_Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_longinteger_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; @@ -15417,17 +15339,20 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice____SWIG_0(PyObject *S std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; std::vector< unsigned long >::difference_type arg2 ; std::vector< unsigned long >::difference_type arg3 ; + std::vector< unsigned long,std::allocator< unsigned long > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOO:vector_longinteger_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_longinteger_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t___setslice__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); @@ -15443,8 +15368,19 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice____SWIG_0(PyObject *S SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_longinteger_t___setslice__" "', argument " "3"" of type '" "std::vector< unsigned long >::difference_type""'"); } arg3 = static_cast< std::vector< unsigned long >::difference_type >(val3); + { + std::vector<unsigned long,std::allocator< unsigned long > > *ptr = (std::vector<unsigned long,std::allocator< unsigned long > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_longinteger_t___setslice__" "', argument " "4"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_longinteger_t___setslice__" "', argument " "4"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); + } + arg4 = ptr; + } try { - std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< unsigned long,std::allocator< unsigned long > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -15454,8 +15390,10 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice____SWIG_0(PyObject *S } resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } @@ -15465,20 +15403,17 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice____SWIG_1(PyObject *S std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; std::vector< unsigned long >::difference_type arg2 ; std::vector< unsigned long >::difference_type arg3 ; - std::vector< unsigned long,std::allocator< unsigned long > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_longinteger_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOO:vector_longinteger_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t___setslice__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); @@ -15494,19 +15429,8 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice____SWIG_1(PyObject *S SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_longinteger_t___setslice__" "', argument " "3"" of type '" "std::vector< unsigned long >::difference_type""'"); } arg3 = static_cast< std::vector< unsigned long >::difference_type >(val3); - { - std::vector< unsigned long,std::allocator< unsigned long > > *ptr = (std::vector< unsigned long,std::allocator< unsigned long > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_longinteger_t___setslice__" "', argument " "4"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_longinteger_t___setslice__" "', argument " "4"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); - } - arg4 = ptr; - } try { - std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< unsigned long,std::allocator< unsigned long > > const &)*arg4); + std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -15516,29 +15440,27 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice____SWIG_1(PyObject *S } resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15551,14 +15473,14 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice__(PyObject *self, PyO _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vector_longinteger_t___setslice____SWIG_0(self, args); + return _wrap_vector_longinteger_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15571,10 +15493,10 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice__(PyObject *self, PyO _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vector_longinteger_t___setslice____SWIG_1(self, args); + return _wrap_vector_longinteger_t___setslice____SWIG_0(self, args); } } } @@ -15584,8 +15506,8 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice__(PyObject *self, PyO fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_longinteger_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned long >::__setslice__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::difference_type)\n" - " std::vector< unsigned long >::__setslice__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::difference_type,std::vector< unsigned long,std::allocator< unsigned long > > const &)\n"); + " std::vector< unsigned long >::__setslice__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::difference_type,std::vector< unsigned long,std::allocator< unsigned long > > const &)\n" + " std::vector< unsigned long >::__setslice__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::difference_type)\n"); return 0; } @@ -15666,9 +15588,6 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___delitem____SWIG_0(PyObject *SW catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -15741,7 +15660,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setitem____SWIG_0(PyObject *SW arg2 = (PySliceObject *) obj1; } { - std::vector< unsigned long,std::allocator< unsigned long > > *ptr = (std::vector< unsigned long,std::allocator< unsigned long > > *)0; + std::vector<unsigned long,std::allocator< unsigned long > > *ptr = (std::vector<unsigned long,std::allocator< unsigned long > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_longinteger_t___setitem__" "', argument " "3"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); @@ -15847,20 +15766,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_longinteger_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15873,7 +15792,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___delitem__(PyObject *self, PyOb } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15933,20 +15852,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_longinteger_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15959,7 +15878,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___getitem__(PyObject *self, PyOb } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -16029,20 +15948,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_longinteger_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -16055,14 +15974,14 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setitem__(PyObject *self, PyOb } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vector_longinteger_t___setitem____SWIG_0(self, args); @@ -16072,7 +15991,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setitem__(PyObject *self, PyOb } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -16101,34 +16020,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_longinteger_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< unsigned long >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_longinteger_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t_pop" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); - } - arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1); - try { - result = (std::vector< unsigned long >::value_type)std_vector_Sl_unsigned_SS_long_Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_longinteger_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; @@ -16183,7 +16074,7 @@ SWIGINTERN PyObject *_wrap_new_vector_longinteger_t__SWIG_1(PyObject *SWIGUNUSED if (!PyArg_ParseTuple(args,(char *)"O:new_vector_longinteger_t",&obj0)) SWIG_fail; { - std::vector< unsigned long,std::allocator< unsigned long > > *ptr = (std::vector< unsigned long,std::allocator< unsigned long > > *)0; + std::vector<unsigned long,std::allocator< unsigned long > > *ptr = (std::vector<unsigned long,std::allocator< unsigned long > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_longinteger_t" "', argument " "1"" of type '" "std::vector< unsigned long > const &""'"); @@ -16247,6 +16138,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_longinteger_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_longinteger_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t_clear" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); + } + arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_longinteger_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; @@ -16280,6 +16192,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_longinteger_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< unsigned long > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_longinteger_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t_get_allocator" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); + } + arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1); + result = ((std::vector< unsigned long > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< unsigned long >::allocator_type(static_cast< const std::vector< unsigned long >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_long_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_longinteger_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; @@ -16372,49 +16306,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_longinteger_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_longinteger_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t_clear" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); - } - arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vector_longinteger_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< unsigned long > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_longinteger_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t_get_allocator" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); - } - arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1); - result = ((std::vector< unsigned long > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< unsigned long >::allocator_type(static_cast< const std::vector< unsigned long >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_long_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vector_longinteger_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< unsigned long >::size_type arg1 ; @@ -16580,20 +16471,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_longinteger_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -16606,7 +16497,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t_erase(PyObject *self, PyObject * } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -16666,14 +16557,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vector_longinteger_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -16692,7 +16583,7 @@ SWIGINTERN PyObject *_wrap_new_vector_longinteger_t(PyObject *self, PyObject *ar } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vector_longinteger_t__SWIG_1(self, args); @@ -16885,20 +16776,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_longinteger_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -16912,7 +16803,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t_resize(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17046,20 +16937,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_longinteger_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -17078,7 +16969,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t_insert(PyObject *self, PyObject } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -17281,6 +17172,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_complex_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< std::complex< double > >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_pop" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); + try { + result = std_vector_Sl_std_complex_Sl_double_Sg__Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_From_std_complex_Sl_double_Sg_(static_cast< std::complex<double> >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_complex_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; @@ -17331,6 +17250,70 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; + std::vector< std::complex< double > >::difference_type arg2 ; + std::vector< std::complex< double > >::difference_type arg3 ; + std::vector< std::complex< double >,std::allocator< std::complex< double > > > *arg4 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + ptrdiff_t val2 ; + int ecode2 = 0 ; + ptrdiff_t val3 ; + int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_complex_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t___setslice__" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); + ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_complex_t___setslice__" "', argument " "2"" of type '" "std::vector< std::complex< double > >::difference_type""'"); + } + arg2 = static_cast< std::vector< std::complex< double > >::difference_type >(val2); + ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_complex_t___setslice__" "', argument " "3"" of type '" "std::vector< std::complex< double > >::difference_type""'"); + } + arg3 = static_cast< std::vector< std::complex< double > >::difference_type >(val3); + { + std::vector<std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector<std::complex< double >,std::allocator< std::complex< double > > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_complex_t___setslice__" "', argument " "4"" of type '" "std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_complex_t___setslice__" "', argument " "4"" of type '" "std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &""'"); + } + arg4 = ptr; + } + try { + std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &)*arg4); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + catch(std::invalid_argument &_e) { + SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); + } + + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; + return resultobj; +fail: + if (SWIG_IsNewObj(res4)) delete arg4; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_vector_complex_t___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; std::vector< std::complex< double > >::difference_type arg2 ; @@ -17378,85 +17361,21 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_complex_t___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; - std::vector< std::complex< double > >::difference_type arg2 ; - std::vector< std::complex< double > >::difference_type arg3 ; - std::vector< std::complex< double >,std::allocator< std::complex< double > > > *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - ptrdiff_t val2 ; - int ecode2 = 0 ; - ptrdiff_t val3 ; - int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_complex_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t___setslice__" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); - ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_complex_t___setslice__" "', argument " "2"" of type '" "std::vector< std::complex< double > >::difference_type""'"); - } - arg2 = static_cast< std::vector< std::complex< double > >::difference_type >(val2); - ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_complex_t___setslice__" "', argument " "3"" of type '" "std::vector< std::complex< double > >::difference_type""'"); - } - arg3 = static_cast< std::vector< std::complex< double > >::difference_type >(val3); - { - std::vector< std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector< std::complex< double >,std::allocator< std::complex< double > > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_complex_t___setslice__" "', argument " "4"" of type '" "std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_complex_t___setslice__" "', argument " "4"" of type '" "std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &""'"); - } - arg4 = ptr; - } - try { - std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &)*arg4); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } - - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; - return resultobj; -fail: - if (SWIG_IsNewObj(res4)) delete arg4; - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_complex_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17469,14 +17388,14 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setslice__(PyObject *self, PyObjec _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vector_complex_t___setslice____SWIG_0(self, args); + return _wrap_vector_complex_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17489,10 +17408,10 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setslice__(PyObject *self, PyObjec _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vector_complex_t___setslice____SWIG_1(self, args); + return _wrap_vector_complex_t___setslice____SWIG_0(self, args); } } } @@ -17502,8 +17421,8 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setslice__(PyObject *self, PyObjec fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_complex_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::complex< double > >::__setslice__(std::vector< std::complex< double > >::difference_type,std::vector< std::complex< double > >::difference_type)\n" - " std::vector< std::complex< double > >::__setslice__(std::vector< std::complex< double > >::difference_type,std::vector< std::complex< double > >::difference_type,std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &)\n"); + " std::vector< std::complex< double > >::__setslice__(std::vector< std::complex< double > >::difference_type,std::vector< std::complex< double > >::difference_type,std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &)\n" + " std::vector< std::complex< double > >::__setslice__(std::vector< std::complex< double > >::difference_type,std::vector< std::complex< double > >::difference_type)\n"); return 0; } @@ -17584,9 +17503,6 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___delitem____SWIG_0(PyObject *SWIGUN catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -17659,7 +17575,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setitem____SWIG_0(PyObject *SWIGUN arg2 = (PySliceObject *) obj1; } { - std::vector< std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector< std::complex< double >,std::allocator< std::complex< double > > > *)0; + std::vector<std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector<std::complex< double >,std::allocator< std::complex< double > > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_complex_t___setitem__" "', argument " "3"" of type '" "std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &""'"); @@ -17765,20 +17681,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17791,7 +17707,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___delitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17851,20 +17767,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17877,7 +17793,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___getitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17947,20 +17863,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17973,14 +17889,14 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vector_complex_t___setitem____SWIG_0(self, args); @@ -17990,7 +17906,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -18019,34 +17935,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_complex_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< std::complex< double > >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_pop" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); - try { - result = std_vector_Sl_std_complex_Sl_double_Sg__Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_From_std_complex_Sl_double_Sg_(static_cast< std::complex<double> >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_complex_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; @@ -18101,7 +17989,7 @@ SWIGINTERN PyObject *_wrap_new_vector_complex_t__SWIG_1(PyObject *SWIGUNUSEDPARM if (!PyArg_ParseTuple(args,(char *)"O:new_vector_complex_t",&obj0)) SWIG_fail; { - std::vector< std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector< std::complex< double >,std::allocator< std::complex< double > > > *)0; + std::vector<std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector<std::complex< double >,std::allocator< std::complex< double > > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_complex_t" "', argument " "1"" of type '" "std::vector< std::complex< double > > const &""'"); @@ -18165,6 +18053,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_complex_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_clear" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_complex_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; @@ -18198,6 +18107,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_complex_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< std::complex< double > > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_get_allocator" "', argument " "1"" of type '" "std::vector< std::complex< double > > const *""'"); + } + arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); + result = ((std::vector< std::complex< double > > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< std::complex< double > >::allocator_type(static_cast< const std::vector< std::complex< double > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__complexT_double_t_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_complex_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; @@ -18290,49 +18221,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_complex_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_clear" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vector_complex_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< std::complex< double > > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_get_allocator" "', argument " "1"" of type '" "std::vector< std::complex< double > > const *""'"); - } - arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); - result = ((std::vector< std::complex< double > > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::complex< double > >::allocator_type(static_cast< const std::vector< std::complex< double > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__complexT_double_t_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vector_complex_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > >::size_type arg1 ; @@ -18498,20 +18386,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -18524,7 +18412,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t_erase(PyObject *self, PyObject *args } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -18584,14 +18472,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vector_complex_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -18610,7 +18498,7 @@ SWIGINTERN PyObject *_wrap_new_vector_complex_t(PyObject *self, PyObject *args) } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vector_complex_t__SWIG_1(self, args); @@ -18803,20 +18691,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -18830,7 +18718,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t_resize(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -18964,20 +18852,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -18996,7 +18884,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t_insert(PyObject *self, PyObject *arg } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -19199,6 +19087,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_string_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< std::string >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_string_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t_pop" "', argument " "1"" of type '" "std::vector< std::string > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); + try { + result = std_vector_Sl_std_string_Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_string_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; @@ -19249,6 +19165,70 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; + std::vector< std::string >::difference_type arg2 ; + std::vector< std::string >::difference_type arg3 ; + std::vector< std::string,std::allocator< std::string > > *arg4 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + ptrdiff_t val2 ; + int ecode2 = 0 ; + ptrdiff_t val3 ; + int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_string_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t___setslice__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); + ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string_t___setslice__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'"); + } + arg2 = static_cast< std::vector< std::string >::difference_type >(val2); + ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_string_t___setslice__" "', argument " "3"" of type '" "std::vector< std::string >::difference_type""'"); + } + arg3 = static_cast< std::vector< std::string >::difference_type >(val3); + { + std::vector<std::string,std::allocator< std::string > > *ptr = (std::vector<std::string,std::allocator< std::string > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_string_t___setslice__" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string_t___setslice__" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + arg4 = ptr; + } + try { + std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< std::string,std::allocator< std::string > > const &)*arg4); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + catch(std::invalid_argument &_e) { + SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); + } + + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; + return resultobj; +fail: + if (SWIG_IsNewObj(res4)) delete arg4; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_vector_string_t___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::difference_type arg2 ; @@ -19296,85 +19276,21 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_string_t___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - std::vector< std::string >::difference_type arg2 ; - std::vector< std::string >::difference_type arg3 ; - std::vector< std::string,std::allocator< std::string > > *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - ptrdiff_t val2 ; - int ecode2 = 0 ; - ptrdiff_t val3 ; - int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_string_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t___setslice__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); - ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_string_t___setslice__" "', argument " "2"" of type '" "std::vector< std::string >::difference_type""'"); - } - arg2 = static_cast< std::vector< std::string >::difference_type >(val2); - ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_string_t___setslice__" "', argument " "3"" of type '" "std::vector< std::string >::difference_type""'"); - } - arg3 = static_cast< std::vector< std::string >::difference_type >(val3); - { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_string_t___setslice__" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string_t___setslice__" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - arg4 = ptr; - } - try { - std_vector_Sl_std_string_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::string,std::allocator< std::string > > const &)*arg4); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } - - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; - return resultobj; -fail: - if (SWIG_IsNewObj(res4)) delete arg4; - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_string_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -19387,14 +19303,14 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setslice__(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vector_string_t___setslice____SWIG_0(self, args); + return _wrap_vector_string_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -19407,10 +19323,10 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setslice__(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vector_string_t___setslice____SWIG_1(self, args); + return _wrap_vector_string_t___setslice____SWIG_0(self, args); } } } @@ -19420,8 +19336,8 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setslice__(PyObject *self, PyObject fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_string_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::string >::__setslice__(std::vector< std::string >::difference_type,std::vector< std::string >::difference_type)\n" - " std::vector< std::string >::__setslice__(std::vector< std::string >::difference_type,std::vector< std::string >::difference_type,std::vector< std::string,std::allocator< std::string > > const &)\n"); + " std::vector< std::string >::__setslice__(std::vector< std::string >::difference_type,std::vector< std::string >::difference_type,std::vector< std::string,std::allocator< std::string > > const &)\n" + " std::vector< std::string >::__setslice__(std::vector< std::string >::difference_type,std::vector< std::string >::difference_type)\n"); return 0; } @@ -19502,9 +19418,6 @@ SWIGINTERN PyObject *_wrap_vector_string_t___delitem____SWIG_0(PyObject *SWIGUNU catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -19577,7 +19490,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setitem____SWIG_0(PyObject *SWIGUNU arg2 = (PySliceObject *) obj1; } { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + std::vector<std::string,std::allocator< std::string > > *ptr = (std::vector<std::string,std::allocator< std::string > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_string_t___setitem__" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); @@ -19683,20 +19596,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -19709,7 +19622,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t___delitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -19769,20 +19682,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -19795,7 +19708,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t___getitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -19870,20 +19783,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -19896,14 +19809,14 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vector_string_t___setitem____SWIG_0(self, args); @@ -19913,7 +19826,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -19940,34 +19853,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_string_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< std::string >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_string_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t_pop" "', argument " "1"" of type '" "std::vector< std::string > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); - try { - result = std_vector_Sl_std_string_Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_string_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; @@ -20027,7 +19912,7 @@ SWIGINTERN PyObject *_wrap_new_vector_string_t__SWIG_1(PyObject *SWIGUNUSEDPARM( if (!PyArg_ParseTuple(args,(char *)"O:new_vector_string_t",&obj0)) SWIG_fail; { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + std::vector<std::string,std::allocator< std::string > > *ptr = (std::vector<std::string,std::allocator< std::string > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_string_t" "', argument " "1"" of type '" "std::vector< std::string > const &""'"); @@ -20091,6 +19976,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_string_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_string_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t_clear" "', argument " "1"" of type '" "std::vector< std::string > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_string_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; @@ -20124,6 +20030,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_string_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< std::string > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_string_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t_get_allocator" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); + } + arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); + result = ((std::vector< std::string > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< std::string >::allocator_type(static_cast< const std::vector< std::string >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_string_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; @@ -20216,49 +20144,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_string_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_string_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t_clear" "', argument " "1"" of type '" "std::vector< std::string > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vector_string_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< std::string > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_string_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t_get_allocator" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); - } - arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); - result = ((std::vector< std::string > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::string >::allocator_type(static_cast< const std::vector< std::string >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vector_string_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::string >::size_type arg1 ; @@ -20424,20 +20309,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -20450,7 +20335,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t_erase(PyObject *self, PyObject *args) } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -20515,14 +20400,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vector_string_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -20541,7 +20426,7 @@ SWIGINTERN PyObject *_wrap_new_vector_string_t(PyObject *self, PyObject *args) { } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vector_string_t__SWIG_1(self, args); @@ -20747,20 +20632,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -20774,7 +20659,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t_resize(PyObject *self, PyObject *args } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -20916,20 +20801,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -20946,7 +20831,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t_insert(PyObject *self, PyObject *args } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -21780,14 +21665,14 @@ fail: SWIGINTERN PyObject *_wrap_new_INamed(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -21989,14 +21874,14 @@ fail: SWIGINTERN PyObject *_wrap_new_IParameterized(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -22530,14 +22415,14 @@ fail: SWIGINTERN PyObject *_wrap_IParameterized_registerParameter(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -22705,14 +22590,14 @@ fail: SWIGINTERN PyObject *_wrap_new_ParameterPattern(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -23093,14 +22978,14 @@ fail: SWIGINTERN PyObject *_wrap_new_kvector_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -23947,6 +23832,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_kvector_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< Geometry::BasicVector3D< double > >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_kvector_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_double_t_std__allocatorT_Geometry__BasicVector3DT_double_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_kvector_t_pop" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< double > > *""'"); + } + arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< double > > * >(argp1); + try { + result = std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_NewPointerObj((new std::vector< Geometry::BasicVector3D< double > >::value_type(static_cast< const std::vector< Geometry::BasicVector3D< double > >::value_type& >(result))), SWIGTYPE_p_Geometry__BasicVector3DT_double_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_kvector_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; @@ -23997,6 +23910,70 @@ fail: SWIGINTERN PyObject *_wrap_vector_kvector_t___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; + std::vector< Geometry::BasicVector3D< double > >::difference_type arg2 ; + std::vector< Geometry::BasicVector3D< double > >::difference_type arg3 ; + std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *arg4 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + ptrdiff_t val2 ; + int ecode2 = 0 ; + ptrdiff_t val3 ; + int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_kvector_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_double_t_std__allocatorT_Geometry__BasicVector3DT_double_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_kvector_t___setslice__" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< double > > *""'"); + } + arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< double > > * >(argp1); + ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_kvector_t___setslice__" "', argument " "2"" of type '" "std::vector< Geometry::BasicVector3D< double > >::difference_type""'"); + } + arg2 = static_cast< std::vector< Geometry::BasicVector3D< double > >::difference_type >(val2); + ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_kvector_t___setslice__" "', argument " "3"" of type '" "std::vector< Geometry::BasicVector3D< double > >::difference_type""'"); + } + arg3 = static_cast< std::vector< Geometry::BasicVector3D< double > >::difference_type >(val3); + { + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_kvector_t___setslice__" "', argument " "4"" of type '" "std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_kvector_t___setslice__" "', argument " "4"" of type '" "std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > const &""'"); + } + arg4 = ptr; + } + try { + std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > const &)*arg4); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + catch(std::invalid_argument &_e) { + SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); + } + + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; + return resultobj; +fail: + if (SWIG_IsNewObj(res4)) delete arg4; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_vector_kvector_t___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; std::vector< Geometry::BasicVector3D< double > >::difference_type arg2 ; @@ -24044,85 +24021,21 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_kvector_t___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; - std::vector< Geometry::BasicVector3D< double > >::difference_type arg2 ; - std::vector< Geometry::BasicVector3D< double > >::difference_type arg3 ; - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - ptrdiff_t val2 ; - int ecode2 = 0 ; - ptrdiff_t val3 ; - int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_kvector_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_double_t_std__allocatorT_Geometry__BasicVector3DT_double_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_kvector_t___setslice__" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< double > > *""'"); - } - arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< double > > * >(argp1); - ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_kvector_t___setslice__" "', argument " "2"" of type '" "std::vector< Geometry::BasicVector3D< double > >::difference_type""'"); - } - arg2 = static_cast< std::vector< Geometry::BasicVector3D< double > >::difference_type >(val2); - ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_kvector_t___setslice__" "', argument " "3"" of type '" "std::vector< Geometry::BasicVector3D< double > >::difference_type""'"); - } - arg3 = static_cast< std::vector< Geometry::BasicVector3D< double > >::difference_type >(val3); - { - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_kvector_t___setslice__" "', argument " "4"" of type '" "std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_kvector_t___setslice__" "', argument " "4"" of type '" "std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > const &""'"); - } - arg4 = ptr; - } - try { - std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > const &)*arg4); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } - - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; - return resultobj; -fail: - if (SWIG_IsNewObj(res4)) delete arg4; - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_kvector_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -24135,14 +24048,14 @@ SWIGINTERN PyObject *_wrap_vector_kvector_t___setslice__(PyObject *self, PyObjec _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vector_kvector_t___setslice____SWIG_0(self, args); + return _wrap_vector_kvector_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -24155,10 +24068,10 @@ SWIGINTERN PyObject *_wrap_vector_kvector_t___setslice__(PyObject *self, PyObjec _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vector_kvector_t___setslice____SWIG_1(self, args); + return _wrap_vector_kvector_t___setslice____SWIG_0(self, args); } } } @@ -24168,8 +24081,8 @@ SWIGINTERN PyObject *_wrap_vector_kvector_t___setslice__(PyObject *self, PyObjec fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_kvector_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< Geometry::BasicVector3D< double > >::__setslice__(std::vector< Geometry::BasicVector3D< double > >::difference_type,std::vector< Geometry::BasicVector3D< double > >::difference_type)\n" - " std::vector< Geometry::BasicVector3D< double > >::__setslice__(std::vector< Geometry::BasicVector3D< double > >::difference_type,std::vector< Geometry::BasicVector3D< double > >::difference_type,std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > const &)\n"); + " std::vector< Geometry::BasicVector3D< double > >::__setslice__(std::vector< Geometry::BasicVector3D< double > >::difference_type,std::vector< Geometry::BasicVector3D< double > >::difference_type,std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > const &)\n" + " std::vector< Geometry::BasicVector3D< double > >::__setslice__(std::vector< Geometry::BasicVector3D< double > >::difference_type,std::vector< Geometry::BasicVector3D< double > >::difference_type)\n"); return 0; } @@ -24250,9 +24163,6 @@ SWIGINTERN PyObject *_wrap_vector_kvector_t___delitem____SWIG_0(PyObject *SWIGUN catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -24325,7 +24235,7 @@ SWIGINTERN PyObject *_wrap_vector_kvector_t___setitem____SWIG_0(PyObject *SWIGUN arg2 = (PySliceObject *) obj1; } { - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_kvector_t___setitem__" "', argument " "3"" of type '" "std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > const &""'"); @@ -24431,20 +24341,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_kvector_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -24457,7 +24367,7 @@ SWIGINTERN PyObject *_wrap_vector_kvector_t___delitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -24517,20 +24427,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_kvector_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -24543,7 +24453,7 @@ SWIGINTERN PyObject *_wrap_vector_kvector_t___getitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -24614,20 +24524,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_kvector_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -24640,14 +24550,14 @@ SWIGINTERN PyObject *_wrap_vector_kvector_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vector_kvector_t___setitem____SWIG_0(self, args); @@ -24657,7 +24567,7 @@ SWIGINTERN PyObject *_wrap_vector_kvector_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -24684,34 +24594,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_kvector_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< Geometry::BasicVector3D< double > >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_kvector_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_double_t_std__allocatorT_Geometry__BasicVector3DT_double_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_kvector_t_pop" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< double > > *""'"); - } - arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< double > > * >(argp1); - try { - result = std_vector_Sl_Geometry_BasicVector3D_Sl_double_Sg__Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_NewPointerObj((new std::vector< Geometry::BasicVector3D< double > >::value_type(static_cast< const std::vector< Geometry::BasicVector3D< double > >::value_type& >(result))), SWIGTYPE_p_Geometry__BasicVector3DT_double_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_kvector_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; @@ -24767,7 +24649,7 @@ SWIGINTERN PyObject *_wrap_new_vector_kvector_t__SWIG_1(PyObject *SWIGUNUSEDPARM if (!PyArg_ParseTuple(args,(char *)"O:new_vector_kvector_t",&obj0)) SWIG_fail; { - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_kvector_t" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< double > > const &""'"); @@ -24831,6 +24713,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_kvector_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_kvector_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_double_t_std__allocatorT_Geometry__BasicVector3DT_double_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_kvector_t_clear" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< double > > *""'"); + } + arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< double > > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_kvector_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; @@ -24864,6 +24767,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_kvector_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< Geometry::BasicVector3D< double > > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_kvector_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_double_t_std__allocatorT_Geometry__BasicVector3DT_double_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_kvector_t_get_allocator" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< double > > const *""'"); + } + arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< double > > * >(argp1); + result = ((std::vector< Geometry::BasicVector3D< double > > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< Geometry::BasicVector3D< double > >::allocator_type(static_cast< const std::vector< Geometry::BasicVector3D< double > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_Geometry__BasicVector3DT_double_t_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_kvector_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; @@ -24956,49 +24881,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_kvector_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_kvector_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_double_t_std__allocatorT_Geometry__BasicVector3DT_double_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_kvector_t_clear" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< double > > *""'"); - } - arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< double > > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vector_kvector_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< Geometry::BasicVector3D< double > > *arg1 = (std::vector< Geometry::BasicVector3D< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< Geometry::BasicVector3D< double > > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_kvector_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_double_t_std__allocatorT_Geometry__BasicVector3DT_double_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_kvector_t_get_allocator" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< double > > const *""'"); - } - arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< double > > * >(argp1); - result = ((std::vector< Geometry::BasicVector3D< double > > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< Geometry::BasicVector3D< double > >::allocator_type(static_cast< const std::vector< Geometry::BasicVector3D< double > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_Geometry__BasicVector3DT_double_t_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vector_kvector_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< Geometry::BasicVector3D< double > >::size_type arg1 ; @@ -25164,20 +25046,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_kvector_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -25190,7 +25072,7 @@ SWIGINTERN PyObject *_wrap_vector_kvector_t_erase(PyObject *self, PyObject *args } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -25251,14 +25133,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vector_kvector_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -25277,7 +25159,7 @@ SWIGINTERN PyObject *_wrap_new_vector_kvector_t(PyObject *self, PyObject *args) } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vector_kvector_t__SWIG_1(self, args); @@ -25471,20 +25353,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_kvector_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -25498,7 +25380,7 @@ SWIGINTERN PyObject *_wrap_vector_kvector_t_resize(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -25632,20 +25514,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_kvector_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -25662,7 +25544,7 @@ SWIGINTERN PyObject *_wrap_vector_kvector_t_insert(PyObject *self, PyObject *arg } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -25827,14 +25709,14 @@ fail: SWIGINTERN PyObject *_wrap_new_cvector_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -26441,6 +26323,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_cvector_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< Geometry::BasicVector3D< std::complex< double > > >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_cvector_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_std__complexT_double_t_t_std__allocatorT_Geometry__BasicVector3DT_std__complexT_double_t_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_cvector_t_pop" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > > *""'"); + } + arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< std::complex< double > > > * >(argp1); + try { + result = std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_NewPointerObj((new std::vector< Geometry::BasicVector3D< std::complex< double > > >::value_type(static_cast< const std::vector< Geometry::BasicVector3D< std::complex< double > > >::value_type& >(result))), SWIGTYPE_p_Geometry__BasicVector3DT_std__complexT_double_t_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_cvector_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; @@ -26491,6 +26401,70 @@ fail: SWIGINTERN PyObject *_wrap_vector_cvector_t___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; + std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type arg2 ; + std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type arg3 ; + std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *arg4 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + ptrdiff_t val2 ; + int ecode2 = 0 ; + ptrdiff_t val3 ; + int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_cvector_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_std__complexT_double_t_t_std__allocatorT_Geometry__BasicVector3DT_std__complexT_double_t_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_cvector_t___setslice__" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > > *""'"); + } + arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< std::complex< double > > > * >(argp1); + ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_cvector_t___setslice__" "', argument " "2"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type""'"); + } + arg2 = static_cast< std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type >(val2); + ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_cvector_t___setslice__" "', argument " "3"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type""'"); + } + arg3 = static_cast< std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type >(val3); + { + std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *ptr = (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_cvector_t___setslice__" "', argument " "4"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_cvector_t___setslice__" "', argument " "4"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > const &""'"); + } + arg4 = ptr; + } + try { + std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > const &)*arg4); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + catch(std::invalid_argument &_e) { + SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); + } + + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; + return resultobj; +fail: + if (SWIG_IsNewObj(res4)) delete arg4; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_vector_cvector_t___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type arg2 ; @@ -26538,85 +26512,21 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_cvector_t___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; - std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type arg2 ; - std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type arg3 ; - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - ptrdiff_t val2 ; - int ecode2 = 0 ; - ptrdiff_t val3 ; - int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_cvector_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_std__complexT_double_t_t_std__allocatorT_Geometry__BasicVector3DT_std__complexT_double_t_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_cvector_t___setslice__" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > > *""'"); - } - arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< std::complex< double > > > * >(argp1); - ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "vector_cvector_t___setslice__" "', argument " "2"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type""'"); - } - arg2 = static_cast< std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type >(val2); - ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_cvector_t___setslice__" "', argument " "3"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type""'"); - } - arg3 = static_cast< std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type >(val3); - { - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *ptr = (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_cvector_t___setslice__" "', argument " "4"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_cvector_t___setslice__" "', argument " "4"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > const &""'"); - } - arg4 = ptr; - } - try { - std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > const &)*arg4); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } - - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; - return resultobj; -fail: - if (SWIG_IsNewObj(res4)) delete arg4; - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_cvector_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -26629,14 +26539,14 @@ SWIGINTERN PyObject *_wrap_vector_cvector_t___setslice__(PyObject *self, PyObjec _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vector_cvector_t___setslice____SWIG_0(self, args); + return _wrap_vector_cvector_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -26649,10 +26559,10 @@ SWIGINTERN PyObject *_wrap_vector_cvector_t___setslice__(PyObject *self, PyObjec _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vector_cvector_t___setslice____SWIG_1(self, args); + return _wrap_vector_cvector_t___setslice____SWIG_0(self, args); } } } @@ -26662,8 +26572,8 @@ SWIGINTERN PyObject *_wrap_vector_cvector_t___setslice__(PyObject *self, PyObjec fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_cvector_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< Geometry::BasicVector3D< std::complex< double > > >::__setslice__(std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type)\n" - " std::vector< Geometry::BasicVector3D< std::complex< double > > >::__setslice__(std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type,std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > const &)\n"); + " std::vector< Geometry::BasicVector3D< std::complex< double > > >::__setslice__(std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type,std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > const &)\n" + " std::vector< Geometry::BasicVector3D< std::complex< double > > >::__setslice__(std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type,std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type)\n"); return 0; } @@ -26744,9 +26654,6 @@ SWIGINTERN PyObject *_wrap_vector_cvector_t___delitem____SWIG_0(PyObject *SWIGUN catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -26819,7 +26726,7 @@ SWIGINTERN PyObject *_wrap_vector_cvector_t___setitem____SWIG_0(PyObject *SWIGUN arg2 = (PySliceObject *) obj1; } { - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *ptr = (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *)0; + std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *ptr = (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_cvector_t___setitem__" "', argument " "3"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > const &""'"); @@ -26925,20 +26832,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_cvector_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -26951,7 +26858,7 @@ SWIGINTERN PyObject *_wrap_vector_cvector_t___delitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -27011,20 +26918,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_cvector_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -27037,7 +26944,7 @@ SWIGINTERN PyObject *_wrap_vector_cvector_t___getitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -27108,20 +27015,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_cvector_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -27134,14 +27041,14 @@ SWIGINTERN PyObject *_wrap_vector_cvector_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vector_cvector_t___setitem____SWIG_0(self, args); @@ -27151,7 +27058,7 @@ SWIGINTERN PyObject *_wrap_vector_cvector_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -27178,34 +27085,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_cvector_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< Geometry::BasicVector3D< std::complex< double > > >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_cvector_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_std__complexT_double_t_t_std__allocatorT_Geometry__BasicVector3DT_std__complexT_double_t_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_cvector_t_pop" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > > *""'"); - } - arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< std::complex< double > > > * >(argp1); - try { - result = std_vector_Sl_Geometry_BasicVector3D_Sl_std_complex_Sl_double_Sg__Sg__Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_NewPointerObj((new std::vector< Geometry::BasicVector3D< std::complex< double > > >::value_type(static_cast< const std::vector< Geometry::BasicVector3D< std::complex< double > > >::value_type& >(result))), SWIGTYPE_p_Geometry__BasicVector3DT_std__complexT_double_t_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_cvector_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; @@ -27261,7 +27140,7 @@ SWIGINTERN PyObject *_wrap_new_vector_cvector_t__SWIG_1(PyObject *SWIGUNUSEDPARM if (!PyArg_ParseTuple(args,(char *)"O:new_vector_cvector_t",&obj0)) SWIG_fail; { - std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *ptr = (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *)0; + std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *ptr = (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_cvector_t" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > > const &""'"); @@ -27325,6 +27204,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_cvector_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_cvector_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_std__complexT_double_t_t_std__allocatorT_Geometry__BasicVector3DT_std__complexT_double_t_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_cvector_t_clear" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > > *""'"); + } + arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< std::complex< double > > > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_cvector_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; @@ -27358,6 +27258,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_cvector_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< Geometry::BasicVector3D< std::complex< double > > > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_cvector_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_std__complexT_double_t_t_std__allocatorT_Geometry__BasicVector3DT_std__complexT_double_t_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_cvector_t_get_allocator" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > > const *""'"); + } + arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< std::complex< double > > > * >(argp1); + result = ((std::vector< Geometry::BasicVector3D< std::complex< double > > > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< Geometry::BasicVector3D< std::complex< double > > >::allocator_type(static_cast< const std::vector< Geometry::BasicVector3D< std::complex< double > > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_Geometry__BasicVector3DT_std__complexT_double_t_t_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_cvector_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; @@ -27450,49 +27372,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_cvector_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_cvector_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_std__complexT_double_t_t_std__allocatorT_Geometry__BasicVector3DT_std__complexT_double_t_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_cvector_t_clear" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > > *""'"); - } - arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< std::complex< double > > > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vector_cvector_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< Geometry::BasicVector3D< std::complex< double > > > *arg1 = (std::vector< Geometry::BasicVector3D< std::complex< double > > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< Geometry::BasicVector3D< std::complex< double > > > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_cvector_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_Geometry__BasicVector3DT_std__complexT_double_t_t_std__allocatorT_Geometry__BasicVector3DT_std__complexT_double_t_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_cvector_t_get_allocator" "', argument " "1"" of type '" "std::vector< Geometry::BasicVector3D< std::complex< double > > > const *""'"); - } - arg1 = reinterpret_cast< std::vector< Geometry::BasicVector3D< std::complex< double > > > * >(argp1); - result = ((std::vector< Geometry::BasicVector3D< std::complex< double > > > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< Geometry::BasicVector3D< std::complex< double > > >::allocator_type(static_cast< const std::vector< Geometry::BasicVector3D< std::complex< double > > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_Geometry__BasicVector3DT_std__complexT_double_t_t_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vector_cvector_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< Geometry::BasicVector3D< std::complex< double > > >::size_type arg1 ; @@ -27658,20 +27537,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_cvector_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -27684,7 +27563,7 @@ SWIGINTERN PyObject *_wrap_vector_cvector_t_erase(PyObject *self, PyObject *args } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -27745,14 +27624,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vector_cvector_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -27771,7 +27650,7 @@ SWIGINTERN PyObject *_wrap_new_vector_cvector_t(PyObject *self, PyObject *args) } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vector_cvector_t__SWIG_1(self, args); @@ -27965,20 +27844,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_cvector_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -27992,7 +27871,7 @@ SWIGINTERN PyObject *_wrap_vector_cvector_t_resize(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -28126,20 +28005,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_cvector_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -28156,7 +28035,7 @@ SWIGINTERN PyObject *_wrap_vector_cvector_t_insert(PyObject *self, PyObject *arg } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< std::complex< double > >,std::allocator< Geometry::BasicVector3D< std::complex< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -28705,14 +28584,14 @@ fail: SWIGINTERN PyObject *_wrap_new_WavevectorInfo(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -28902,14 +28781,14 @@ fail: SWIGINTERN PyObject *_wrap_new_Beam(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -29233,14 +29112,14 @@ fail: SWIGINTERN PyObject *_wrap_new_Bin1D(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -29556,14 +29435,14 @@ fail: SWIGINTERN PyObject *_wrap_new_Bin1DKVector(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -29894,14 +29773,14 @@ fail: SWIGINTERN PyObject *_wrap_new_Bin1DCVector(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -30418,7 +30297,7 @@ SWIGINTERN PyObject *_wrap_IAxis_getBinCenters(PyObject *SWIGUNUSEDPARM(self), P } arg1 = reinterpret_cast< IAxis * >(argp1); result = ((IAxis const *)arg1)->getBinCenters(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -30440,7 +30319,7 @@ SWIGINTERN PyObject *_wrap_IAxis_getBinBoundaries(PyObject *SWIGUNUSEDPARM(self) } arg1 = reinterpret_cast< IAxis * >(argp1); result = ((IAxis const *)arg1)->getBinBoundaries(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -30628,7 +30507,7 @@ SWIGINTERN PyObject *_wrap_new_VariableBinAxis(PyObject *SWIGUNUSEDPARM(self), P } arg2 = static_cast< size_t >(val2); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_VariableBinAxis" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -30867,7 +30746,7 @@ SWIGINTERN PyObject *_wrap_VariableBinAxis_getBinCenters(PyObject *SWIGUNUSEDPAR } arg1 = reinterpret_cast< VariableBinAxis * >(argp1); result = ((VariableBinAxis const *)arg1)->getBinCenters(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -30889,7 +30768,7 @@ SWIGINTERN PyObject *_wrap_VariableBinAxis_getBinBoundaries(PyObject *SWIGUNUSED } arg1 = reinterpret_cast< VariableBinAxis * >(argp1); result = ((VariableBinAxis const *)arg1)->getBinBoundaries(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -31265,7 +31144,7 @@ SWIGINTERN PyObject *_wrap_CustomBinAxis_getBinCenters(PyObject *SWIGUNUSEDPARM( } arg1 = reinterpret_cast< CustomBinAxis * >(argp1); result = ((CustomBinAxis const *)arg1)->getBinCenters(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -31428,14 +31307,14 @@ fail: SWIGINTERN PyObject *_wrap_IShape2D_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -32071,6 +31950,34 @@ fail: } +SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< ISample * >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:swig_dummy_type_isample_vector_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_p_std__allocatorT_ISample_p_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_isample_vector_pop" "', argument " "1"" of type '" "std::vector< ISample * > *""'"); + } + arg1 = reinterpret_cast< std::vector< ISample * > * >(argp1); + try { + result = (std::vector< ISample * >::value_type)std_vector_Sl_ISample_Sm__Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ISample, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; @@ -32121,6 +32028,70 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; + std::vector< ISample * >::difference_type arg2 ; + std::vector< ISample * >::difference_type arg3 ; + std::vector< ISample *,std::allocator< ISample * > > *arg4 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + ptrdiff_t val2 ; + int ecode2 = 0 ; + ptrdiff_t val3 ; + int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"OOOO:swig_dummy_type_isample_vector___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_p_std__allocatorT_ISample_p_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_isample_vector___setslice__" "', argument " "1"" of type '" "std::vector< ISample * > *""'"); + } + arg1 = reinterpret_cast< std::vector< ISample * > * >(argp1); + ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "swig_dummy_type_isample_vector___setslice__" "', argument " "2"" of type '" "std::vector< ISample * >::difference_type""'"); + } + arg2 = static_cast< std::vector< ISample * >::difference_type >(val2); + ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "swig_dummy_type_isample_vector___setslice__" "', argument " "3"" of type '" "std::vector< ISample * >::difference_type""'"); + } + arg3 = static_cast< std::vector< ISample * >::difference_type >(val3); + { + std::vector<ISample*,std::allocator< ISample * > > *ptr = (std::vector<ISample*,std::allocator< ISample * > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "swig_dummy_type_isample_vector___setslice__" "', argument " "4"" of type '" "std::vector< ISample *,std::allocator< ISample * > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "swig_dummy_type_isample_vector___setslice__" "', argument " "4"" of type '" "std::vector< ISample *,std::allocator< ISample * > > const &""'"); + } + arg4 = ptr; + } + try { + std_vector_Sl_ISample_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< ISample *,std::allocator< ISample * > > const &)*arg4); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + catch(std::invalid_argument &_e) { + SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); + } + + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; + return resultobj; +fail: + if (SWIG_IsNewObj(res4)) delete arg4; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; std::vector< ISample * >::difference_type arg2 ; @@ -32168,85 +32139,21 @@ fail: } -SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; - std::vector< ISample * >::difference_type arg2 ; - std::vector< ISample * >::difference_type arg3 ; - std::vector< ISample *,std::allocator< ISample * > > *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - ptrdiff_t val2 ; - int ecode2 = 0 ; - ptrdiff_t val3 ; - int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"OOOO:swig_dummy_type_isample_vector___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_p_std__allocatorT_ISample_p_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_isample_vector___setslice__" "', argument " "1"" of type '" "std::vector< ISample * > *""'"); - } - arg1 = reinterpret_cast< std::vector< ISample * > * >(argp1); - ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "swig_dummy_type_isample_vector___setslice__" "', argument " "2"" of type '" "std::vector< ISample * >::difference_type""'"); - } - arg2 = static_cast< std::vector< ISample * >::difference_type >(val2); - ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "swig_dummy_type_isample_vector___setslice__" "', argument " "3"" of type '" "std::vector< ISample * >::difference_type""'"); - } - arg3 = static_cast< std::vector< ISample * >::difference_type >(val3); - { - std::vector< ISample*,std::allocator< ISample * > > *ptr = (std::vector< ISample*,std::allocator< ISample * > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "swig_dummy_type_isample_vector___setslice__" "', argument " "4"" of type '" "std::vector< ISample *,std::allocator< ISample * > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "swig_dummy_type_isample_vector___setslice__" "', argument " "4"" of type '" "std::vector< ISample *,std::allocator< ISample * > > const &""'"); - } - arg4 = ptr; - } - try { - std_vector_Sl_ISample_Sm__Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< ISample *,std::allocator< ISample * > > const &)*arg4); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } - - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; - return resultobj; -fail: - if (SWIG_IsNewObj(res4)) delete arg4; - return NULL; -} - - SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -32259,14 +32166,14 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___setslice__(PyObject _v = SWIG_CheckState(res); } if (_v) { - return _wrap_swig_dummy_type_isample_vector___setslice____SWIG_0(self, args); + return _wrap_swig_dummy_type_isample_vector___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -32279,10 +32186,10 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___setslice__(PyObject _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_swig_dummy_type_isample_vector___setslice____SWIG_1(self, args); + return _wrap_swig_dummy_type_isample_vector___setslice____SWIG_0(self, args); } } } @@ -32292,8 +32199,8 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___setslice__(PyObject fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'swig_dummy_type_isample_vector___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< ISample * >::__setslice__(std::vector< ISample * >::difference_type,std::vector< ISample * >::difference_type)\n" - " std::vector< ISample * >::__setslice__(std::vector< ISample * >::difference_type,std::vector< ISample * >::difference_type,std::vector< ISample *,std::allocator< ISample * > > const &)\n"); + " std::vector< ISample * >::__setslice__(std::vector< ISample * >::difference_type,std::vector< ISample * >::difference_type,std::vector< ISample *,std::allocator< ISample * > > const &)\n" + " std::vector< ISample * >::__setslice__(std::vector< ISample * >::difference_type,std::vector< ISample * >::difference_type)\n"); return 0; } @@ -32374,9 +32281,6 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___delitem____SWIG_0(Py catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -32449,7 +32353,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___setitem____SWIG_0(Py arg2 = (PySliceObject *) obj1; } { - std::vector< ISample*,std::allocator< ISample * > > *ptr = (std::vector< ISample*,std::allocator< ISample * > > *)0; + std::vector<ISample*,std::allocator< ISample * > > *ptr = (std::vector<ISample*,std::allocator< ISample * > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "swig_dummy_type_isample_vector___setitem__" "', argument " "3"" of type '" "std::vector< ISample *,std::allocator< ISample * > > const &""'"); @@ -32555,20 +32459,20 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -32581,7 +32485,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___delitem__(PyObject * } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -32641,20 +32545,20 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -32667,7 +32571,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___getitem__(PyObject * } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -32735,20 +32639,20 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -32761,14 +32665,14 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___setitem__(PyObject * } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_swig_dummy_type_isample_vector___setitem____SWIG_0(self, args); @@ -32778,7 +32682,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector___setitem__(PyObject * } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -32806,34 +32710,6 @@ fail: } -SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< ISample * >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:swig_dummy_type_isample_vector_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_p_std__allocatorT_ISample_p_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_isample_vector_pop" "', argument " "1"" of type '" "std::vector< ISample * > *""'"); - } - arg1 = reinterpret_cast< std::vector< ISample * > * >(argp1); - try { - result = (std::vector< ISample * >::value_type)std_vector_Sl_ISample_Sm__Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ISample, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; @@ -32886,7 +32762,7 @@ SWIGINTERN PyObject *_wrap_new_swig_dummy_type_isample_vector__SWIG_1(PyObject * if (!PyArg_ParseTuple(args,(char *)"O:new_swig_dummy_type_isample_vector",&obj0)) SWIG_fail; { - std::vector< ISample*,std::allocator< ISample * > > *ptr = (std::vector< ISample*,std::allocator< ISample * > > *)0; + std::vector<ISample*,std::allocator< ISample * > > *ptr = (std::vector<ISample*,std::allocator< ISample * > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_swig_dummy_type_isample_vector" "', argument " "1"" of type '" "std::vector< ISample * > const &""'"); @@ -32950,6 +32826,27 @@ fail: } +SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:swig_dummy_type_isample_vector_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_p_std__allocatorT_ISample_p_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_isample_vector_clear" "', argument " "1"" of type '" "std::vector< ISample * > *""'"); + } + arg1 = reinterpret_cast< std::vector< ISample * > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; @@ -32983,6 +32880,28 @@ fail: } +SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< ISample * > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:swig_dummy_type_isample_vector_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_p_std__allocatorT_ISample_p_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_isample_vector_get_allocator" "', argument " "1"" of type '" "std::vector< ISample * > const *""'"); + } + arg1 = reinterpret_cast< std::vector< ISample * > * >(argp1); + result = ((std::vector< ISample * > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< ISample * >::allocator_type(static_cast< const std::vector< ISample * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_ISample_p_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; @@ -33075,49 +32994,6 @@ fail: } -SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:swig_dummy_type_isample_vector_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_p_std__allocatorT_ISample_p_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_isample_vector_clear" "', argument " "1"" of type '" "std::vector< ISample * > *""'"); - } - arg1 = reinterpret_cast< std::vector< ISample * > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< ISample * > *arg1 = (std::vector< ISample * > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< ISample * > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:swig_dummy_type_isample_vector_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_p_std__allocatorT_ISample_p_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_isample_vector_get_allocator" "', argument " "1"" of type '" "std::vector< ISample * > const *""'"); - } - arg1 = reinterpret_cast< std::vector< ISample * > * >(argp1); - result = ((std::vector< ISample * > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< ISample * >::allocator_type(static_cast< const std::vector< ISample * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_ISample_p_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_swig_dummy_type_isample_vector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< ISample * >::size_type arg1 ; @@ -33283,20 +33159,20 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -33309,7 +33185,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_erase(PyObject *self, } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -33367,14 +33243,14 @@ fail: SWIGINTERN PyObject *_wrap_new_swig_dummy_type_isample_vector(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -33393,7 +33269,7 @@ SWIGINTERN PyObject *_wrap_new_swig_dummy_type_isample_vector(PyObject *self, Py } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_swig_dummy_type_isample_vector__SWIG_1(self, args); @@ -33579,20 +33455,20 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -33606,7 +33482,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_resize(PyObject *self, } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -33735,20 +33611,20 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -33766,7 +33642,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_isample_vector_insert(PyObject *self, } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample*,std::allocator< ISample * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample*,std::allocator< ISample * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -33968,6 +33844,34 @@ fail: } +SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< ISample const * >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:swig_dummy_type_const_isample_vector_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_const_p_std__allocatorT_ISample_const_p_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_const_isample_vector_pop" "', argument " "1"" of type '" "std::vector< ISample const * > *""'"); + } + arg1 = reinterpret_cast< std::vector< ISample const * > * >(argp1); + try { + result = (std::vector< ISample const * >::value_type)std_vector_Sl_ISample_SS_const_Sm__Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ISample, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; @@ -34018,6 +33922,70 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; + std::vector< ISample const * >::difference_type arg2 ; + std::vector< ISample const * >::difference_type arg3 ; + std::vector< ISample const *,std::allocator< ISample const * > > *arg4 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + ptrdiff_t val2 ; + int ecode2 = 0 ; + ptrdiff_t val3 ; + int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"OOOO:swig_dummy_type_const_isample_vector___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_const_p_std__allocatorT_ISample_const_p_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_const_isample_vector___setslice__" "', argument " "1"" of type '" "std::vector< ISample const * > *""'"); + } + arg1 = reinterpret_cast< std::vector< ISample const * > * >(argp1); + ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "swig_dummy_type_const_isample_vector___setslice__" "', argument " "2"" of type '" "std::vector< ISample const * >::difference_type""'"); + } + arg2 = static_cast< std::vector< ISample const * >::difference_type >(val2); + ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "swig_dummy_type_const_isample_vector___setslice__" "', argument " "3"" of type '" "std::vector< ISample const * >::difference_type""'"); + } + arg3 = static_cast< std::vector< ISample const * >::difference_type >(val3); + { + std::vector<ISample const*,std::allocator< ISample const * > > *ptr = (std::vector<ISample const*,std::allocator< ISample const * > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "swig_dummy_type_const_isample_vector___setslice__" "', argument " "4"" of type '" "std::vector< ISample const *,std::allocator< ISample const * > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "swig_dummy_type_const_isample_vector___setslice__" "', argument " "4"" of type '" "std::vector< ISample const *,std::allocator< ISample const * > > const &""'"); + } + arg4 = ptr; + } + try { + std_vector_Sl_ISample_SS_const_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< ISample const *,std::allocator< ISample const * > > const &)*arg4); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + catch(std::invalid_argument &_e) { + SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); + } + + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; + return resultobj; +fail: + if (SWIG_IsNewObj(res4)) delete arg4; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; std::vector< ISample const * >::difference_type arg2 ; @@ -34065,85 +34033,21 @@ fail: } -SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; - std::vector< ISample const * >::difference_type arg2 ; - std::vector< ISample const * >::difference_type arg3 ; - std::vector< ISample const *,std::allocator< ISample const * > > *arg4 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - ptrdiff_t val2 ; - int ecode2 = 0 ; - ptrdiff_t val3 ; - int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; - PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"OOOO:swig_dummy_type_const_isample_vector___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_const_p_std__allocatorT_ISample_const_p_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_const_isample_vector___setslice__" "', argument " "1"" of type '" "std::vector< ISample const * > *""'"); - } - arg1 = reinterpret_cast< std::vector< ISample const * > * >(argp1); - ecode2 = SWIG_AsVal_ptrdiff_t(obj1, &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "swig_dummy_type_const_isample_vector___setslice__" "', argument " "2"" of type '" "std::vector< ISample const * >::difference_type""'"); - } - arg2 = static_cast< std::vector< ISample const * >::difference_type >(val2); - ecode3 = SWIG_AsVal_ptrdiff_t(obj2, &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "swig_dummy_type_const_isample_vector___setslice__" "', argument " "3"" of type '" "std::vector< ISample const * >::difference_type""'"); - } - arg3 = static_cast< std::vector< ISample const * >::difference_type >(val3); - { - std::vector< ISample const*,std::allocator< ISample const * > > *ptr = (std::vector< ISample const*,std::allocator< ISample const * > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "swig_dummy_type_const_isample_vector___setslice__" "', argument " "4"" of type '" "std::vector< ISample const *,std::allocator< ISample const * > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "swig_dummy_type_const_isample_vector___setslice__" "', argument " "4"" of type '" "std::vector< ISample const *,std::allocator< ISample const * > > const &""'"); - } - arg4 = ptr; - } - try { - std_vector_Sl_ISample_SS_const_Sm__Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< ISample const *,std::allocator< ISample const * > > const &)*arg4); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } - - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; - return resultobj; -fail: - if (SWIG_IsNewObj(res4)) delete arg4; - return NULL; -} - - SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -34156,14 +34060,14 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___setslice__(PyO _v = SWIG_CheckState(res); } if (_v) { - return _wrap_swig_dummy_type_const_isample_vector___setslice____SWIG_0(self, args); + return _wrap_swig_dummy_type_const_isample_vector___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -34176,10 +34080,10 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___setslice__(PyO _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_swig_dummy_type_const_isample_vector___setslice____SWIG_1(self, args); + return _wrap_swig_dummy_type_const_isample_vector___setslice____SWIG_0(self, args); } } } @@ -34189,8 +34093,8 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___setslice__(PyO fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'swig_dummy_type_const_isample_vector___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< ISample const * >::__setslice__(std::vector< ISample const * >::difference_type,std::vector< ISample const * >::difference_type)\n" - " std::vector< ISample const * >::__setslice__(std::vector< ISample const * >::difference_type,std::vector< ISample const * >::difference_type,std::vector< ISample const *,std::allocator< ISample const * > > const &)\n"); + " std::vector< ISample const * >::__setslice__(std::vector< ISample const * >::difference_type,std::vector< ISample const * >::difference_type,std::vector< ISample const *,std::allocator< ISample const * > > const &)\n" + " std::vector< ISample const * >::__setslice__(std::vector< ISample const * >::difference_type,std::vector< ISample const * >::difference_type)\n"); return 0; } @@ -34271,9 +34175,6 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___delitem____SWI catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -34346,7 +34247,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___setitem____SWI arg2 = (PySliceObject *) obj1; } { - std::vector< ISample const*,std::allocator< ISample const * > > *ptr = (std::vector< ISample const*,std::allocator< ISample const * > > *)0; + std::vector<ISample const*,std::allocator< ISample const * > > *ptr = (std::vector<ISample const*,std::allocator< ISample const * > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "swig_dummy_type_const_isample_vector___setitem__" "', argument " "3"" of type '" "std::vector< ISample const *,std::allocator< ISample const * > > const &""'"); @@ -34452,20 +34353,20 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -34478,7 +34379,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___delitem__(PyOb } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -34538,20 +34439,20 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -34564,7 +34465,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___getitem__(PyOb } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -34632,20 +34533,20 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -34658,14 +34559,14 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___setitem__(PyOb } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_swig_dummy_type_const_isample_vector___setitem____SWIG_0(self, args); @@ -34675,7 +34576,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector___setitem__(PyOb } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -34703,34 +34604,6 @@ fail: } -SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< ISample const * >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:swig_dummy_type_const_isample_vector_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_const_p_std__allocatorT_ISample_const_p_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_const_isample_vector_pop" "', argument " "1"" of type '" "std::vector< ISample const * > *""'"); - } - arg1 = reinterpret_cast< std::vector< ISample const * > * >(argp1); - try { - result = (std::vector< ISample const * >::value_type)std_vector_Sl_ISample_SS_const_Sm__Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_ISample, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; @@ -34783,7 +34656,7 @@ SWIGINTERN PyObject *_wrap_new_swig_dummy_type_const_isample_vector__SWIG_1(PyOb if (!PyArg_ParseTuple(args,(char *)"O:new_swig_dummy_type_const_isample_vector",&obj0)) SWIG_fail; { - std::vector< ISample const*,std::allocator< ISample const * > > *ptr = (std::vector< ISample const*,std::allocator< ISample const * > > *)0; + std::vector<ISample const*,std::allocator< ISample const * > > *ptr = (std::vector<ISample const*,std::allocator< ISample const * > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_swig_dummy_type_const_isample_vector" "', argument " "1"" of type '" "std::vector< ISample const * > const &""'"); @@ -34847,6 +34720,27 @@ fail: } +SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:swig_dummy_type_const_isample_vector_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_const_p_std__allocatorT_ISample_const_p_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_const_isample_vector_clear" "', argument " "1"" of type '" "std::vector< ISample const * > *""'"); + } + arg1 = reinterpret_cast< std::vector< ISample const * > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; @@ -34880,6 +34774,28 @@ fail: } +SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< ISample const * > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:swig_dummy_type_const_isample_vector_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_const_p_std__allocatorT_ISample_const_p_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_const_isample_vector_get_allocator" "', argument " "1"" of type '" "std::vector< ISample const * > const *""'"); + } + arg1 = reinterpret_cast< std::vector< ISample const * > * >(argp1); + result = ((std::vector< ISample const * > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< ISample const * >::allocator_type(static_cast< const std::vector< ISample const * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_ISample_const_p_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; @@ -34972,49 +34888,6 @@ fail: } -SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:swig_dummy_type_const_isample_vector_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_const_p_std__allocatorT_ISample_const_p_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_const_isample_vector_clear" "', argument " "1"" of type '" "std::vector< ISample const * > *""'"); - } - arg1 = reinterpret_cast< std::vector< ISample const * > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< ISample const * > *arg1 = (std::vector< ISample const * > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< ISample const * > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:swig_dummy_type_const_isample_vector_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_ISample_const_p_std__allocatorT_ISample_const_p_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "swig_dummy_type_const_isample_vector_get_allocator" "', argument " "1"" of type '" "std::vector< ISample const * > const *""'"); - } - arg1 = reinterpret_cast< std::vector< ISample const * > * >(argp1); - result = ((std::vector< ISample const * > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< ISample const * >::allocator_type(static_cast< const std::vector< ISample const * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_ISample_const_p_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_swig_dummy_type_const_isample_vector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< ISample const * >::size_type arg1 ; @@ -35180,20 +35053,20 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -35206,7 +35079,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_erase(PyObject * } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -35264,14 +35137,14 @@ fail: SWIGINTERN PyObject *_wrap_new_swig_dummy_type_const_isample_vector(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -35290,7 +35163,7 @@ SWIGINTERN PyObject *_wrap_new_swig_dummy_type_const_isample_vector(PyObject *se } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_swig_dummy_type_const_isample_vector__SWIG_1(self, args); @@ -35476,20 +35349,20 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -35503,7 +35376,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_resize(PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -35632,20 +35505,20 @@ fail: SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -35663,7 +35536,7 @@ SWIGINTERN PyObject *_wrap_swig_dummy_type_const_isample_vector_insert(PyObject } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< ISample const*,std::allocator< ISample const * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<ISample const*,std::allocator< ISample const * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -36204,14 +36077,14 @@ fail: SWIGINTERN PyObject *_wrap_ISampleBuilder_registerParameter(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -38616,14 +38489,14 @@ fail: SWIGINTERN PyObject *_wrap_ISampleVisitor_visit(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -40026,7 +39899,7 @@ SWIGINTERN PyObject *_wrap_ICompositeSample_getChildren(PyObject *SWIGUNUSEDPARM } arg1 = reinterpret_cast< ICompositeSample * >(argp1); result = ((ICompositeSample const *)arg1)->getChildren(); - resultobj = swig::from(static_cast< std::vector< ISample const*,std::allocator< ISample const * > > >(result)); + resultobj = swig::from(static_cast< std::vector<ISample const*,std::allocator< ISample const * > > >(result)); return resultobj; fail: return NULL; @@ -40854,14 +40727,14 @@ fail: SWIGINTERN PyObject *_wrap_IDistribution1D_generateSamples(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -41010,7 +40883,7 @@ SWIGINTERN PyObject *_wrap_IDistribution1D_generateValueList__SWIG_0(PyObject *S } arg4 = reinterpret_cast< AttLimits * >(argp4); result = ((IDistribution1D const *)arg1)->generateValueList(arg2,arg3,(AttLimits const &)*arg4); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -41050,7 +40923,7 @@ SWIGINTERN PyObject *_wrap_IDistribution1D_generateValueList__SWIG_1(PyObject *S } arg3 = static_cast< double >(val3); result = ((IDistribution1D const *)arg1)->generateValueList(arg2,arg3); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -41058,14 +40931,14 @@ fail: SWIGINTERN PyObject *_wrap_IDistribution1D_generateValueList(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -41167,7 +41040,7 @@ SWIGINTERN PyObject *_wrap_IDistribution1D_generateValues(PyObject *SWIGUNUSEDPA } arg4 = static_cast< double >(val4); result = ((IDistribution1D const *)arg1)->generateValues(arg2,arg3,arg4); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -41226,14 +41099,14 @@ fail: SWIGINTERN PyObject *_wrap_new_DistributionGate(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -41451,7 +41324,7 @@ SWIGINTERN PyObject *_wrap_DistributionGate_generateValueList__SWIG_0(PyObject * } arg4 = reinterpret_cast< AttLimits * >(argp4); result = ((DistributionGate const *)arg1)->generateValueList(arg2,arg3,(AttLimits const &)*arg4); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -41491,7 +41364,7 @@ SWIGINTERN PyObject *_wrap_DistributionGate_generateValueList__SWIG_1(PyObject * } arg3 = static_cast< double >(val3); result = ((DistributionGate const *)arg1)->generateValueList(arg2,arg3); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -41499,14 +41372,14 @@ fail: SWIGINTERN PyObject *_wrap_DistributionGate_generateValueList(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -41618,14 +41491,14 @@ fail: SWIGINTERN PyObject *_wrap_new_DistributionLorentz(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -41821,7 +41694,7 @@ SWIGINTERN PyObject *_wrap_DistributionLorentz_generateValueList__SWIG_0(PyObjec } arg4 = reinterpret_cast< AttLimits * >(argp4); result = ((DistributionLorentz const *)arg1)->generateValueList(arg2,arg3,(AttLimits const &)*arg4); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -41861,7 +41734,7 @@ SWIGINTERN PyObject *_wrap_DistributionLorentz_generateValueList__SWIG_1(PyObjec } arg3 = static_cast< double >(val3); result = ((DistributionLorentz const *)arg1)->generateValueList(arg2,arg3); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -41869,14 +41742,14 @@ fail: SWIGINTERN PyObject *_wrap_DistributionLorentz_generateValueList(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -41988,14 +41861,14 @@ fail: SWIGINTERN PyObject *_wrap_new_DistributionGaussian(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -42191,7 +42064,7 @@ SWIGINTERN PyObject *_wrap_DistributionGaussian_generateValueList__SWIG_0(PyObje } arg4 = reinterpret_cast< AttLimits * >(argp4); result = ((DistributionGaussian const *)arg1)->generateValueList(arg2,arg3,(AttLimits const &)*arg4); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -42231,7 +42104,7 @@ SWIGINTERN PyObject *_wrap_DistributionGaussian_generateValueList__SWIG_1(PyObje } arg3 = static_cast< double >(val3); result = ((DistributionGaussian const *)arg1)->generateValueList(arg2,arg3); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -42239,14 +42112,14 @@ fail: SWIGINTERN PyObject *_wrap_DistributionGaussian_generateValueList(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -42367,14 +42240,14 @@ fail: SWIGINTERN PyObject *_wrap_new_DistributionLogNormal(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -42599,7 +42472,7 @@ SWIGINTERN PyObject *_wrap_DistributionLogNormal_generateValueList__SWIG_0(PyObj } arg4 = reinterpret_cast< AttLimits * >(argp4); result = ((DistributionLogNormal const *)arg1)->generateValueList(arg2,arg3,(AttLimits const &)*arg4); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -42639,7 +42512,7 @@ SWIGINTERN PyObject *_wrap_DistributionLogNormal_generateValueList__SWIG_1(PyObj } arg3 = static_cast< double >(val3); result = ((DistributionLogNormal const *)arg1)->generateValueList(arg2,arg3); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -42647,14 +42520,14 @@ fail: SWIGINTERN PyObject *_wrap_DistributionLogNormal_generateValueList(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -42766,14 +42639,14 @@ fail: SWIGINTERN PyObject *_wrap_new_DistributionCosine(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -42969,7 +42842,7 @@ SWIGINTERN PyObject *_wrap_DistributionCosine_generateValueList__SWIG_0(PyObject } arg4 = reinterpret_cast< AttLimits * >(argp4); result = ((DistributionCosine const *)arg1)->generateValueList(arg2,arg3,(AttLimits const &)*arg4); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -43009,7 +42882,7 @@ SWIGINTERN PyObject *_wrap_DistributionCosine_generateValueList__SWIG_1(PyObject } arg3 = static_cast< double >(val3); result = ((DistributionCosine const *)arg1)->generateValueList(arg2,arg3); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -43017,14 +42890,14 @@ fail: SWIGINTERN PyObject *_wrap_DistributionCosine_generateValueList(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -43199,14 +43072,14 @@ fail: SWIGINTERN PyObject *_wrap_new_Ellipse(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[6] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -43391,14 +43264,14 @@ fail: SWIGINTERN PyObject *_wrap_Ellipse_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -46755,7 +46628,7 @@ SWIGINTERN PyObject *_wrap_FixedBinAxis_getBinCenters(PyObject *SWIGUNUSEDPARM(s } arg1 = reinterpret_cast< FixedBinAxis * >(argp1); result = ((FixedBinAxis const *)arg1)->getBinCenters(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -46777,7 +46650,7 @@ SWIGINTERN PyObject *_wrap_FixedBinAxis_getBinBoundaries(PyObject *SWIGUNUSEDPAR } arg1 = reinterpret_cast< FixedBinAxis * >(argp1); result = ((FixedBinAxis const *)arg1)->getBinBoundaries(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -47413,6 +47286,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< IFormFactor * > *arg1 = (std::vector< IFormFactor * > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< IFormFactor * >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_IFormFactorPtr_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_IFormFactor_p_std__allocatorT_IFormFactor_p_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_IFormFactorPtr_t_pop" "', argument " "1"" of type '" "std::vector< IFormFactor * > *""'"); + } + arg1 = reinterpret_cast< std::vector< IFormFactor * > * >(argp1); + try { + result = (std::vector< IFormFactor * >::value_type)std_vector_Sl_IFormFactor_Sm__Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_IFormFactor, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< IFormFactor * > *arg1 = (std::vector< IFormFactor * > *) 0 ; @@ -47467,17 +47368,20 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setslice____SWIG_0(PyObject std::vector< IFormFactor * > *arg1 = (std::vector< IFormFactor * > *) 0 ; std::vector< IFormFactor * >::difference_type arg2 ; std::vector< IFormFactor * >::difference_type arg3 ; + std::vector< IFormFactor *,std::allocator< IFormFactor * > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOO:vector_IFormFactorPtr_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_IFormFactorPtr_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_IFormFactor_p_std__allocatorT_IFormFactor_p_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_IFormFactorPtr_t___setslice__" "', argument " "1"" of type '" "std::vector< IFormFactor * > *""'"); @@ -47493,8 +47397,19 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setslice____SWIG_0(PyObject SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_IFormFactorPtr_t___setslice__" "', argument " "3"" of type '" "std::vector< IFormFactor * >::difference_type""'"); } arg3 = static_cast< std::vector< IFormFactor * >::difference_type >(val3); + { + std::vector<IFormFactor*,std::allocator< IFormFactor * > > *ptr = (std::vector<IFormFactor*,std::allocator< IFormFactor * > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_IFormFactorPtr_t___setslice__" "', argument " "4"" of type '" "std::vector< IFormFactor *,std::allocator< IFormFactor * > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_IFormFactorPtr_t___setslice__" "', argument " "4"" of type '" "std::vector< IFormFactor *,std::allocator< IFormFactor * > > const &""'"); + } + arg4 = ptr; + } try { - std_vector_Sl_IFormFactor_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_IFormFactor_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< IFormFactor *,std::allocator< IFormFactor * > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -47504,8 +47419,10 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setslice____SWIG_0(PyObject } resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } @@ -47515,20 +47432,17 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setslice____SWIG_1(PyObject std::vector< IFormFactor * > *arg1 = (std::vector< IFormFactor * > *) 0 ; std::vector< IFormFactor * >::difference_type arg2 ; std::vector< IFormFactor * >::difference_type arg3 ; - std::vector< IFormFactor *,std::allocator< IFormFactor * > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_IFormFactorPtr_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOO:vector_IFormFactorPtr_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_IFormFactor_p_std__allocatorT_IFormFactor_p_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_IFormFactorPtr_t___setslice__" "', argument " "1"" of type '" "std::vector< IFormFactor * > *""'"); @@ -47544,19 +47458,8 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setslice____SWIG_1(PyObject SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_IFormFactorPtr_t___setslice__" "', argument " "3"" of type '" "std::vector< IFormFactor * >::difference_type""'"); } arg3 = static_cast< std::vector< IFormFactor * >::difference_type >(val3); - { - std::vector< IFormFactor*,std::allocator< IFormFactor * > > *ptr = (std::vector< IFormFactor*,std::allocator< IFormFactor * > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_IFormFactorPtr_t___setslice__" "', argument " "4"" of type '" "std::vector< IFormFactor *,std::allocator< IFormFactor * > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_IFormFactorPtr_t___setslice__" "', argument " "4"" of type '" "std::vector< IFormFactor *,std::allocator< IFormFactor * > > const &""'"); - } - arg4 = ptr; - } try { - std_vector_Sl_IFormFactor_Sm__Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< IFormFactor *,std::allocator< IFormFactor * > > const &)*arg4); + std_vector_Sl_IFormFactor_Sm__Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -47566,29 +47469,27 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setslice____SWIG_1(PyObject } resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -47601,14 +47502,14 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setslice__(PyObject *self, _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vector_IFormFactorPtr_t___setslice____SWIG_0(self, args); + return _wrap_vector_IFormFactorPtr_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -47621,10 +47522,10 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setslice__(PyObject *self, _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vector_IFormFactorPtr_t___setslice____SWIG_1(self, args); + return _wrap_vector_IFormFactorPtr_t___setslice____SWIG_0(self, args); } } } @@ -47634,8 +47535,8 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setslice__(PyObject *self, fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_IFormFactorPtr_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< IFormFactor * >::__setslice__(std::vector< IFormFactor * >::difference_type,std::vector< IFormFactor * >::difference_type)\n" - " std::vector< IFormFactor * >::__setslice__(std::vector< IFormFactor * >::difference_type,std::vector< IFormFactor * >::difference_type,std::vector< IFormFactor *,std::allocator< IFormFactor * > > const &)\n"); + " std::vector< IFormFactor * >::__setslice__(std::vector< IFormFactor * >::difference_type,std::vector< IFormFactor * >::difference_type,std::vector< IFormFactor *,std::allocator< IFormFactor * > > const &)\n" + " std::vector< IFormFactor * >::__setslice__(std::vector< IFormFactor * >::difference_type,std::vector< IFormFactor * >::difference_type)\n"); return 0; } @@ -47716,9 +47617,6 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___delitem____SWIG_0(PyObject catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -47791,7 +47689,7 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setitem____SWIG_0(PyObject arg2 = (PySliceObject *) obj1; } { - std::vector< IFormFactor*,std::allocator< IFormFactor * > > *ptr = (std::vector< IFormFactor*,std::allocator< IFormFactor * > > *)0; + std::vector<IFormFactor*,std::allocator< IFormFactor * > > *ptr = (std::vector<IFormFactor*,std::allocator< IFormFactor * > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_IFormFactorPtr_t___setitem__" "', argument " "3"" of type '" "std::vector< IFormFactor *,std::allocator< IFormFactor * > > const &""'"); @@ -47897,20 +47795,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -47923,7 +47821,7 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___delitem__(PyObject *self, P } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -47983,20 +47881,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -48009,7 +47907,7 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___getitem__(PyObject *self, P } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -48077,20 +47975,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -48103,14 +48001,14 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setitem__(PyObject *self, P } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vector_IFormFactorPtr_t___setitem____SWIG_0(self, args); @@ -48120,7 +48018,7 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t___setitem__(PyObject *self, P } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -48148,34 +48046,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< IFormFactor * > *arg1 = (std::vector< IFormFactor * > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< IFormFactor * >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_IFormFactorPtr_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_IFormFactor_p_std__allocatorT_IFormFactor_p_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_IFormFactorPtr_t_pop" "', argument " "1"" of type '" "std::vector< IFormFactor * > *""'"); - } - arg1 = reinterpret_cast< std::vector< IFormFactor * > * >(argp1); - try { - result = (std::vector< IFormFactor * >::value_type)std_vector_Sl_IFormFactor_Sm__Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_IFormFactor, 0 | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< IFormFactor * > *arg1 = (std::vector< IFormFactor * > *) 0 ; @@ -48228,7 +48098,7 @@ SWIGINTERN PyObject *_wrap_new_vector_IFormFactorPtr_t__SWIG_1(PyObject *SWIGUNU if (!PyArg_ParseTuple(args,(char *)"O:new_vector_IFormFactorPtr_t",&obj0)) SWIG_fail; { - std::vector< IFormFactor*,std::allocator< IFormFactor * > > *ptr = (std::vector< IFormFactor*,std::allocator< IFormFactor * > > *)0; + std::vector<IFormFactor*,std::allocator< IFormFactor * > > *ptr = (std::vector<IFormFactor*,std::allocator< IFormFactor * > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_IFormFactorPtr_t" "', argument " "1"" of type '" "std::vector< IFormFactor * > const &""'"); @@ -48292,6 +48162,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< IFormFactor * > *arg1 = (std::vector< IFormFactor * > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_IFormFactorPtr_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_IFormFactor_p_std__allocatorT_IFormFactor_p_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_IFormFactorPtr_t_clear" "', argument " "1"" of type '" "std::vector< IFormFactor * > *""'"); + } + arg1 = reinterpret_cast< std::vector< IFormFactor * > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< IFormFactor * > *arg1 = (std::vector< IFormFactor * > *) 0 ; @@ -48325,6 +48216,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< IFormFactor * > *arg1 = (std::vector< IFormFactor * > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< IFormFactor * > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_IFormFactorPtr_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_IFormFactor_p_std__allocatorT_IFormFactor_p_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_IFormFactorPtr_t_get_allocator" "', argument " "1"" of type '" "std::vector< IFormFactor * > const *""'"); + } + arg1 = reinterpret_cast< std::vector< IFormFactor * > * >(argp1); + result = ((std::vector< IFormFactor * > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< IFormFactor * >::allocator_type(static_cast< const std::vector< IFormFactor * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_IFormFactor_p_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< IFormFactor * > *arg1 = (std::vector< IFormFactor * > *) 0 ; @@ -48417,49 +48330,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< IFormFactor * > *arg1 = (std::vector< IFormFactor * > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_IFormFactorPtr_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_IFormFactor_p_std__allocatorT_IFormFactor_p_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_IFormFactorPtr_t_clear" "', argument " "1"" of type '" "std::vector< IFormFactor * > *""'"); - } - arg1 = reinterpret_cast< std::vector< IFormFactor * > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< IFormFactor * > *arg1 = (std::vector< IFormFactor * > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< IFormFactor * > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_IFormFactorPtr_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_IFormFactor_p_std__allocatorT_IFormFactor_p_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_IFormFactorPtr_t_get_allocator" "', argument " "1"" of type '" "std::vector< IFormFactor * > const *""'"); - } - arg1 = reinterpret_cast< std::vector< IFormFactor * > * >(argp1); - result = ((std::vector< IFormFactor * > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< IFormFactor * >::allocator_type(static_cast< const std::vector< IFormFactor * >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_IFormFactor_p_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vector_IFormFactorPtr_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< IFormFactor * >::size_type arg1 ; @@ -48625,20 +48495,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -48651,7 +48521,7 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_erase(PyObject *self, PyObjec } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -48709,14 +48579,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vector_IFormFactorPtr_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -48735,7 +48605,7 @@ SWIGINTERN PyObject *_wrap_new_vector_IFormFactorPtr_t(PyObject *self, PyObject } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vector_IFormFactorPtr_t__SWIG_1(self, args); @@ -48921,20 +48791,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -48948,7 +48818,7 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_resize(PyObject *self, PyObje } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -49077,20 +48947,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -49108,7 +48978,7 @@ SWIGINTERN PyObject *_wrap_vector_IFormFactorPtr_t_insert(PyObject *self, PyObje } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< IFormFactor*,std::allocator< IFormFactor * > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<IFormFactor*,std::allocator< IFormFactor * > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -50318,7 +50188,7 @@ SWIGINTERN PyObject *_wrap_PolyhedralFace_diameter(PyObject *SWIGUNUSEDPARM(self if (!PyArg_ParseTuple(args,(char *)"O:PolyhedralFace_diameter",&obj0)) SWIG_fail; { - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PolyhedralFace_diameter" "', argument " "1"" of type '" "std::vector< kvector_t,std::allocator< kvector_t > > const &""'"); @@ -50351,7 +50221,7 @@ SWIGINTERN PyObject *_wrap_new_PolyhedralFace__SWIG_0(PyObject *SWIGUNUSEDPARM(s if (!PyArg_ParseTuple(args,(char *)"OO:new_PolyhedralFace",&obj0,&obj1)) SWIG_fail; { - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PolyhedralFace" "', argument " "1"" of type '" "std::vector< kvector_t,std::allocator< kvector_t > > const &""'"); @@ -50385,7 +50255,7 @@ SWIGINTERN PyObject *_wrap_new_PolyhedralFace__SWIG_1(PyObject *SWIGUNUSEDPARM(s if (!PyArg_ParseTuple(args,(char *)"O:new_PolyhedralFace",&obj0)) SWIG_fail; { - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PolyhedralFace" "', argument " "1"" of type '" "std::vector< kvector_t,std::allocator< kvector_t > > const &""'"); @@ -50419,14 +50289,14 @@ fail: SWIGINTERN PyObject *_wrap_new_PolyhedralFace(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -50435,7 +50305,7 @@ SWIGINTERN PyObject *_wrap_new_PolyhedralFace(PyObject *self, PyObject *args) { } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_PolyhedralFace__SWIG_1(self, args); @@ -50443,7 +50313,7 @@ SWIGINTERN PyObject *_wrap_new_PolyhedralFace(PyObject *self, PyObject *args) { } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -52835,14 +52705,14 @@ fail: SWIGINTERN PyObject *_wrap_new_FormFactorDecoratorDebyeWaller(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -53786,14 +53656,14 @@ fail: SWIGINTERN PyObject *_wrap_new_FormFactorGauss(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -55965,14 +55835,14 @@ fail: SWIGINTERN PyObject *_wrap_new_FormFactorLorentz(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -58758,14 +58628,14 @@ fail: SWIGINTERN PyObject *_wrap_FormFactorWeighted_addFormFactor(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -59188,14 +59058,14 @@ fail: SWIGINTERN PyObject *_wrap_Simulation_getDetectorIntensity(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -59471,14 +59341,14 @@ fail: SWIGINTERN PyObject *_wrap_Simulation_addParameterDistribution(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[7] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -59692,14 +59562,14 @@ fail: SWIGINTERN PyObject *_wrap_Simulation_getOptions(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -59886,14 +59756,14 @@ fail: SWIGINTERN PyObject *_wrap_SimulationOptions_setMonteCarloIntegration(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -60227,14 +60097,14 @@ fail: SWIGINTERN PyObject *_wrap_new_GISASSimulation(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -60430,14 +60300,14 @@ fail: SWIGINTERN PyObject *_wrap_GISASSimulation_getDetectorIntensity(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -60529,14 +60399,14 @@ fail: SWIGINTERN PyObject *_wrap_GISASSimulation_getIntensityData(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -60652,14 +60522,14 @@ fail: SWIGINTERN PyObject *_wrap_GISASSimulation_getInstrument(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -60982,14 +60852,14 @@ fail: SWIGINTERN PyObject *_wrap_GISASSimulation_setDetectorParameters(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[8] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -61233,14 +61103,14 @@ fail: SWIGINTERN PyObject *_wrap_GISASSimulation_setAnalyzerProperties(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -61395,14 +61265,14 @@ fail: SWIGINTERN PyObject *_wrap_GISASSimulation_addMask(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -61811,14 +61681,14 @@ fail: SWIGINTERN PyObject *_wrap_IHistogram_getGlobalBin(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -62104,14 +61974,14 @@ fail: SWIGINTERN PyObject *_wrap_IHistogram_getBinContent(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -62311,14 +62181,14 @@ fail: SWIGINTERN PyObject *_wrap_IHistogram_getBinError(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -62440,14 +62310,14 @@ fail: SWIGINTERN PyObject *_wrap_IHistogram_getBinAverage(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -62569,14 +62439,14 @@ fail: SWIGINTERN PyObject *_wrap_IHistogram_getBinNumberOfEntries(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -62820,14 +62690,14 @@ fail: SWIGINTERN PyObject *_wrap_IHistogram_getArray(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -62994,14 +62864,14 @@ fail: SWIGINTERN PyObject *_wrap_IHistogram_createOutputData(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -63314,7 +63184,7 @@ SWIGINTERN PyObject *_wrap_new_Histogram1D__SWIG_1(PyObject *SWIGUNUSEDPARM(self } arg1 = static_cast< int >(val1); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Histogram1D" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -63385,14 +63255,14 @@ fail: SWIGINTERN PyObject *_wrap_new_Histogram1D(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -63419,7 +63289,7 @@ SWIGINTERN PyObject *_wrap_new_Histogram1D(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[1], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[1], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_Histogram1D__SWIG_1(self, args); @@ -63576,14 +63446,14 @@ fail: SWIGINTERN PyObject *_wrap_Histogram1D_fill(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -63648,7 +63518,7 @@ SWIGINTERN PyObject *_wrap_Histogram1D_getBinCenters(PyObject *SWIGUNUSEDPARM(se } arg1 = reinterpret_cast< Histogram1D * >(argp1); result = ((Histogram1D const *)arg1)->getBinCenters(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -63670,7 +63540,7 @@ SWIGINTERN PyObject *_wrap_Histogram1D_getBinValues(PyObject *SWIGUNUSEDPARM(sel } arg1 = reinterpret_cast< Histogram1D * >(argp1); result = ((Histogram1D const *)arg1)->getBinValues(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -63692,7 +63562,7 @@ SWIGINTERN PyObject *_wrap_Histogram1D_getBinErrors(PyObject *SWIGUNUSEDPARM(sel } arg1 = reinterpret_cast< Histogram1D * >(argp1); result = ((Histogram1D const *)arg1)->getBinErrors(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -63947,7 +63817,7 @@ SWIGINTERN PyObject *_wrap_new_Histogram2D__SWIG_1(PyObject *SWIGUNUSEDPARM(self } arg1 = static_cast< int >(val1); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_Histogram2D" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -63963,7 +63833,7 @@ SWIGINTERN PyObject *_wrap_new_Histogram2D__SWIG_1(PyObject *SWIGUNUSEDPARM(self } arg3 = static_cast< int >(val3); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res4 = swig::asptr(obj3, &ptr); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_Histogram2D" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -64048,14 +63918,14 @@ fail: SWIGINTERN PyObject *_wrap_new_Histogram2D(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[7] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -64086,7 +63956,7 @@ SWIGINTERN PyObject *_wrap_new_Histogram2D(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[1], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[1], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -64094,7 +63964,7 @@ SWIGINTERN PyObject *_wrap_new_Histogram2D(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_Histogram2D__SWIG_1(self, args); @@ -64289,14 +64159,14 @@ fail: SWIGINTERN PyObject *_wrap_Histogram2D_fill(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -64452,14 +64322,14 @@ fail: SWIGINTERN PyObject *_wrap_Histogram2D_projectionX(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -64613,14 +64483,14 @@ fail: SWIGINTERN PyObject *_wrap_Histogram2D_projectionY(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -65031,14 +64901,14 @@ fail: SWIGINTERN PyObject *_wrap_new_HomogeneousMaterial(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -65342,14 +65212,14 @@ fail: SWIGINTERN PyObject *_wrap_new_HomogeneousMagneticMaterial(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -66093,14 +65963,14 @@ fail: SWIGINTERN PyObject *_wrap_IDetector2D_setAnalyzerProperties(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -66255,14 +66125,14 @@ fail: SWIGINTERN PyObject *_wrap_IDetector2D_addMask(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -67852,14 +67722,14 @@ fail: SWIGINTERN PyObject *_wrap_IParticle_setPosition(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -68782,14 +68652,14 @@ fail: SWIGINTERN PyObject *_wrap_new_RotationZ(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -69492,14 +69362,14 @@ fail: SWIGINTERN PyObject *_wrap_new_Instrument(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -69783,14 +69653,14 @@ fail: SWIGINTERN PyObject *_wrap_Instrument_getDetector(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -70198,14 +70068,14 @@ fail: SWIGINTERN PyObject *_wrap_Instrument_setAnalyzerProperties(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -70371,14 +70241,14 @@ fail: SWIGINTERN PyObject *_wrap_Instrument_getDetectorIntensity(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -70564,14 +70434,14 @@ fail: SWIGINTERN PyObject *_wrap_IntensityDataFunctions_getRelativeDifference(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -71208,14 +71078,14 @@ fail: SWIGINTERN PyObject *_wrap_new_InterferenceFunctionRadialParaCrystal(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -71698,14 +71568,14 @@ fail: SWIGINTERN PyObject *_wrap_new_InterferenceFunction2DLattice(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -71896,14 +71766,14 @@ fail: SWIGINTERN PyObject *_wrap_InterferenceFunction2DLattice_createSquare(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -71997,14 +71867,14 @@ fail: SWIGINTERN PyObject *_wrap_InterferenceFunction2DLattice_createHexagonal(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -72337,14 +72207,14 @@ fail: SWIGINTERN PyObject *_wrap_new_InterferenceFunction2DParaCrystal(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[6] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -72659,14 +72529,14 @@ fail: SWIGINTERN PyObject *_wrap_InterferenceFunction2DParaCrystal_createSquare(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -72901,14 +72771,14 @@ fail: SWIGINTERN PyObject *_wrap_InterferenceFunction2DParaCrystal_createHexagonal(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -73168,7 +73038,7 @@ SWIGINTERN PyObject *_wrap_InterferenceFunction2DParaCrystal_getDomainSizes(PyOb } arg1 = reinterpret_cast< InterferenceFunction2DParaCrystal * >(argp1); result = ((InterferenceFunction2DParaCrystal const *)arg1)->getDomainSizes(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -73731,14 +73601,14 @@ fail: SWIGINTERN PyObject *_wrap_new_SphericalDetector(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[7] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -74295,14 +74165,14 @@ fail: SWIGINTERN PyObject *_wrap_new_IsGISAXSDetector(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[7] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -74521,14 +74391,14 @@ fail: SWIGINTERN PyObject *_wrap_new_Lattice(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -75538,14 +75408,14 @@ fail: SWIGINTERN PyObject *_wrap_new_Layer(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -76236,14 +76106,14 @@ fail: SWIGINTERN PyObject *_wrap_new_LayerRoughness(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -76754,14 +76624,14 @@ fail: SWIGINTERN PyObject *_wrap_Line_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -76972,14 +76842,14 @@ fail: SWIGINTERN PyObject *_wrap_VerticalLine_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -77212,14 +77082,14 @@ fail: SWIGINTERN PyObject *_wrap_HorizontalLine_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -77512,14 +77382,14 @@ fail: SWIGINTERN PyObject *_wrap_sinc(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -77695,14 +77565,14 @@ fail: SWIGINTERN PyObject *_wrap_Bessel_J0(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -77759,14 +77629,14 @@ fail: SWIGINTERN PyObject *_wrap_Bessel_J1(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -77823,14 +77693,14 @@ fail: SWIGINTERN PyObject *_wrap_Bessel_J1c(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -77899,7 +77769,7 @@ SWIGINTERN PyObject *_wrap_FastFourierTransform__SWIG_0(PyObject *SWIGUNUSEDPARM if (!PyArg_ParseTuple(args,(char *)"OO:FastFourierTransform",&obj0,&obj1)) SWIG_fail; { - std::vector< std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector< std::complex< double >,std::allocator< std::complex< double > > > *)0; + std::vector<std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector<std::complex< double >,std::allocator< std::complex< double > > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastFourierTransform" "', argument " "1"" of type '" "std::vector< complex_t,std::allocator< complex_t > > const &""'"); @@ -77915,7 +77785,7 @@ SWIGINTERN PyObject *_wrap_FastFourierTransform__SWIG_0(PyObject *SWIGUNUSEDPARM } arg2 = static_cast< MathFunctions::EFFTDirection >(val2); result = MathFunctions::FastFourierTransform((std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &)*arg1,arg2); - resultobj = swig::from(static_cast< std::vector< std::complex< double >,std::allocator< std::complex< double > > > >(result)); + resultobj = swig::from(static_cast< std::vector<std::complex< double >,std::allocator< std::complex< double > > > >(result)); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: @@ -77937,7 +77807,7 @@ SWIGINTERN PyObject *_wrap_FastFourierTransform__SWIG_1(PyObject *SWIGUNUSEDPARM if (!PyArg_ParseTuple(args,(char *)"OO:FastFourierTransform",&obj0,&obj1)) SWIG_fail; { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastFourierTransform" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -77953,7 +77823,7 @@ SWIGINTERN PyObject *_wrap_FastFourierTransform__SWIG_1(PyObject *SWIGUNUSEDPARM } arg2 = static_cast< MathFunctions::EFFTDirection >(val2); result = MathFunctions::FastFourierTransform((std::vector< double,std::allocator< double > > const &)*arg1,arg2); - resultobj = swig::from(static_cast< std::vector< std::complex< double >,std::allocator< std::complex< double > > > >(result)); + resultobj = swig::from(static_cast< std::vector<std::complex< double >,std::allocator< std::complex< double > > > >(result)); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: @@ -77963,20 +77833,20 @@ fail: SWIGINTERN PyObject *_wrap_FastFourierTransform(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -77990,7 +77860,7 @@ SWIGINTERN PyObject *_wrap_FastFourierTransform(PyObject *self, PyObject *args) } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -78024,7 +77894,7 @@ SWIGINTERN PyObject *_wrap_ConvolveFFT(PyObject *SWIGUNUSEDPARM(self), PyObject if (!PyArg_ParseTuple(args,(char *)"OO:ConvolveFFT",&obj0,&obj1)) SWIG_fail; { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConvolveFFT" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -78035,7 +77905,7 @@ SWIGINTERN PyObject *_wrap_ConvolveFFT(PyObject *SWIGUNUSEDPARM(self), PyObject arg1 = ptr; } { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConvolveFFT" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -78046,7 +77916,7 @@ SWIGINTERN PyObject *_wrap_ConvolveFFT(PyObject *SWIGUNUSEDPARM(self), PyObject arg2 = ptr; } result = MathFunctions::ConvolveFFT((std::vector< double,std::allocator< double > > const &)*arg1,(std::vector< double,std::allocator< double > > const &)*arg2); - resultobj = swig::from(static_cast< std::vector< std::complex< double >,std::allocator< std::complex< double > > > >(result)); + resultobj = swig::from(static_cast< std::vector<std::complex< double >,std::allocator< std::complex< double > > > >(result)); if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -78608,14 +78478,14 @@ fail: SWIGINTERN PyObject *_wrap_Logger_SetLevel(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -78717,14 +78587,14 @@ fail: SWIGINTERN PyObject *_wrap_SetLevel(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -79519,14 +79389,14 @@ fail: SWIGINTERN PyObject *_wrap_new_OffSpecSimulation(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -79722,14 +79592,14 @@ fail: SWIGINTERN PyObject *_wrap_OffSpecSimulation_getDetectorIntensity(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -80072,14 +79942,14 @@ fail: SWIGINTERN PyObject *_wrap_OffSpecSimulation_setDetectorParameters(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[8] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 7) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -80309,14 +80179,14 @@ fail: SWIGINTERN PyObject *_wrap_OffSpecSimulation_setAnalyzerProperties(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -80568,14 +80438,14 @@ fail: SWIGINTERN PyObject *_wrap_IntensityData_addAxis(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[6] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -80703,14 +80573,14 @@ fail: SWIGINTERN PyObject *_wrap_IntensityData_getAxis(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -80871,7 +80741,7 @@ SWIGINTERN PyObject *_wrap_IntensityData_getRawDataVector(PyObject *SWIGUNUSEDPA } arg1 = reinterpret_cast< OutputData< double > * >(argp1); result = ((OutputData< double > const *)arg1)->getRawDataVector(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -80975,14 +80845,14 @@ fail: SWIGINTERN PyObject *_wrap_IntensityData_begin(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -81059,14 +80929,14 @@ fail: SWIGINTERN PyObject *_wrap_IntensityData_end(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -81231,7 +81101,7 @@ SWIGINTERN PyObject *_wrap_IntensityData_getAxesBinIndices(PyObject *SWIGUNUSEDP } arg2 = static_cast< size_t >(val2); result = ((OutputData< double > const *)arg1)->getAxesBinIndices(arg2); - resultobj = swig::from(static_cast< std::vector< int,std::allocator< int > > >(result)); + resultobj = swig::from(static_cast< std::vector<int,std::allocator< int > > >(result)); return resultobj; fail: return NULL; @@ -81326,14 +81196,14 @@ fail: SWIGINTERN PyObject *_wrap_IntensityData_getAxisBinIndex(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -81405,7 +81275,7 @@ SWIGINTERN PyObject *_wrap_IntensityData_toGlobalIndex(PyObject *SWIGUNUSEDPARM( } arg1 = reinterpret_cast< OutputData< double > * >(argp1); { - std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; + std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IntensityData_toGlobalIndex" "', argument " "2"" of type '" "std::vector< int,std::allocator< int > > const &""'"); @@ -81443,7 +81313,7 @@ SWIGINTERN PyObject *_wrap_IntensityData_findGlobalIndex(PyObject *SWIGUNUSEDPAR } arg1 = reinterpret_cast< OutputData< double > * >(argp1); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IntensityData_findGlobalIndex" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -81551,14 +81421,14 @@ fail: SWIGINTERN PyObject *_wrap_IntensityData_getAxisValue(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -81636,7 +81506,7 @@ SWIGINTERN PyObject *_wrap_IntensityData_getAxesValues(PyObject *SWIGUNUSEDPARM( } arg2 = static_cast< size_t >(val2); result = ((OutputData< double > const *)arg1)->getAxesValues(arg2); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -81731,14 +81601,14 @@ fail: SWIGINTERN PyObject *_wrap_IntensityData_getAxisBin(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -81933,7 +81803,7 @@ SWIGINTERN PyObject *_wrap_IntensityData_setRawDataVector(PyObject *SWIGUNUSEDPA } arg1 = reinterpret_cast< OutputData< double > * >(argp1); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IntensityData_setRawDataVector" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -82823,14 +82693,14 @@ fail: SWIGINTERN PyObject *_wrap_new_ParameterDistribution(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[6] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -83134,7 +83004,7 @@ SWIGINTERN PyObject *_wrap_ParameterDistribution_getLinkedParameterNames(PyObjec } arg1 = reinterpret_cast< ParameterDistribution * >(argp1); result = ((ParameterDistribution const *)arg1)->getLinkedParameterNames(); - resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(result)); + resultobj = swig::from(static_cast< std::vector<std::string,std::allocator< std::string > > >(result)); return resultobj; fail: return NULL; @@ -83511,14 +83381,14 @@ fail: SWIGINTERN PyObject *_wrap_ParameterPool_registerParameter(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -83810,7 +83680,7 @@ SWIGINTERN PyObject *_wrap_ParameterPool_getParameterNames(PyObject *SWIGUNUSEDP } arg1 = reinterpret_cast< ParameterPool * >(argp1); result = ((ParameterPool const *)arg1)->getParameterNames(); - resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(result)); + resultobj = swig::from(static_cast< std::vector<std::string,std::allocator< std::string > > >(result)); return resultobj; fail: return NULL; @@ -83949,14 +83819,14 @@ fail: SWIGINTERN PyObject *_wrap_new_Particle(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -84462,7 +84332,7 @@ SWIGINTERN PyObject *_wrap_new_ParticleComposition__SWIG_3(PyObject *SWIGUNUSEDP } arg1 = reinterpret_cast< IParticle * >(argp1); { - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; int res = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res) || !ptr) { SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_ParticleComposition" "', argument " "2"" of type '" "std::vector< kvector_t,std::allocator< kvector_t > >""'"); @@ -84479,14 +84349,14 @@ fail: SWIGINTERN PyObject *_wrap_new_ParticleComposition(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -84518,7 +84388,7 @@ SWIGINTERN PyObject *_wrap_new_ParticleComposition(PyObject *self, PyObject *arg int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_IParticle, 0); _v = SWIG_CheckState(res); if (_v) { - int res = swig::asptr(argv[1], (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); + int res = swig::asptr(argv[1], (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_ParticleComposition__SWIG_3(self, args); @@ -84716,14 +84586,14 @@ fail: SWIGINTERN PyObject *_wrap_ParticleComposition_addParticle(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -84795,7 +84665,7 @@ SWIGINTERN PyObject *_wrap_ParticleComposition_addParticles(PyObject *SWIGUNUSED } arg2 = reinterpret_cast< IParticle * >(argp2); { - std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector< Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; + std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *ptr = (std::vector<Geometry::BasicVector3D< double >,std::allocator< Geometry::BasicVector3D< double > > > *)0; int res = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res) || !ptr) { SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "ParticleComposition_addParticles" "', argument " "3"" of type '" "std::vector< kvector_t,std::allocator< kvector_t > >""'"); @@ -85104,14 +84974,14 @@ fail: SWIGINTERN PyObject *_wrap_new_ParticleCoreShell(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -85775,14 +85645,14 @@ fail: SWIGINTERN PyObject *_wrap_new_ParticleLayout(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -86123,14 +85993,14 @@ fail: SWIGINTERN PyObject *_wrap_ParticleLayout_addParticle(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[6] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -86458,7 +86328,7 @@ SWIGINTERN PyObject *_wrap_new_Polygon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), P if (!PyArg_ParseTuple(args,(char *)"OO:new_Polygon",&obj0,&obj1)) SWIG_fail; { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; int res = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res) || !ptr) { SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Polygon" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > >""'"); @@ -86467,7 +86337,7 @@ SWIGINTERN PyObject *_wrap_new_Polygon__SWIG_0(PyObject *SWIGUNUSEDPARM(self), P if (SWIG_IsNewObj(res)) delete ptr; } { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; int res = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res) || !ptr) { SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Polygon" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > >""'"); @@ -86491,7 +86361,7 @@ SWIGINTERN PyObject *_wrap_new_Polygon__SWIG_1(PyObject *SWIGUNUSEDPARM(self), P if (!PyArg_ParseTuple(args,(char *)"O:new_Polygon",&obj0)) SWIG_fail; { - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; int res = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res) || !ptr) { SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Polygon" "', argument " "1"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >""'"); @@ -86508,20 +86378,20 @@ fail: SWIGINTERN PyObject *_wrap_new_Polygon(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_Polygon__SWIG_1(self, args); @@ -86529,10 +86399,10 @@ SWIGINTERN PyObject *_wrap_new_Polygon(PyObject *self, PyObject *args) { } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - int res = swig::asptr(argv[1], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[1], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_Polygon__SWIG_0(self, args); @@ -86679,14 +86549,14 @@ fail: SWIGINTERN PyObject *_wrap_Polygon_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -86912,14 +86782,14 @@ fail: SWIGINTERN PyObject *_wrap_new_RealParameterWrapper(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -87345,14 +87215,14 @@ fail: SWIGINTERN PyObject *_wrap_Rectangle_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -87617,14 +87487,14 @@ fail: SWIGINTERN PyObject *_wrap_new_RectangularDetector(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -87880,14 +87750,14 @@ fail: SWIGINTERN PyObject *_wrap_RectangularDetector_setPosition(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[6] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -88169,14 +88039,14 @@ fail: SWIGINTERN PyObject *_wrap_RectangularDetector_setPerpendicularToReflectedBeam(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -89146,14 +89016,14 @@ fail: SWIGINTERN PyObject *_wrap_new_SpecularSimulation(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -89472,14 +89342,14 @@ fail: SWIGINTERN PyObject *_wrap_SpecularSimulation_setBeamParameters(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[6] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -89627,14 +89497,14 @@ fail: SWIGINTERN PyObject *_wrap_SpecularSimulation_setEvanescentWaveAxis(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -89734,7 +89604,7 @@ SWIGINTERN PyObject *_wrap_SpecularSimulation_getScalarR(PyObject *SWIGUNUSEDPAR } arg2 = static_cast< size_t >(val2); result = ((SpecularSimulation const *)arg1)->getScalarR(arg2); - resultobj = swig::from(static_cast< std::vector< std::complex< double >,std::allocator< std::complex< double > > > >(result)); + resultobj = swig::from(static_cast< std::vector<std::complex< double >,std::allocator< std::complex< double > > > >(result)); return resultobj; fail: return NULL; @@ -89765,7 +89635,7 @@ SWIGINTERN PyObject *_wrap_SpecularSimulation_getScalarT(PyObject *SWIGUNUSEDPAR } arg2 = static_cast< size_t >(val2); result = ((SpecularSimulation const *)arg1)->getScalarT(arg2); - resultobj = swig::from(static_cast< std::vector< std::complex< double >,std::allocator< std::complex< double > > > >(result)); + resultobj = swig::from(static_cast< std::vector<std::complex< double >,std::allocator< std::complex< double > > > >(result)); return resultobj; fail: return NULL; @@ -89796,7 +89666,7 @@ SWIGINTERN PyObject *_wrap_SpecularSimulation_getScalarKz(PyObject *SWIGUNUSEDPA } arg2 = static_cast< size_t >(val2); result = ((SpecularSimulation const *)arg1)->getScalarKz(arg2); - resultobj = swig::from(static_cast< std::vector< std::complex< double >,std::allocator< std::complex< double > > > >(result)); + resultobj = swig::from(static_cast< std::vector<std::complex< double >,std::allocator< std::complex< double > > > >(result)); return resultobj; fail: return NULL; @@ -90308,14 +90178,14 @@ fail: SWIGINTERN PyObject *_wrap_SampleBuilderFactory_registerItem(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -90455,14 +90325,14 @@ fail: SWIGINTERN PyObject *_wrap_SampleBuilderFactory_begin(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -90539,14 +90409,14 @@ fail: SWIGINTERN PyObject *_wrap_SampleBuilderFactory_end(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -90763,14 +90633,14 @@ fail: SWIGINTERN PyObject *_wrap_SimulationFactory_registerItem(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -90910,14 +90780,14 @@ fail: SWIGINTERN PyObject *_wrap_SimulationFactory_begin(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -90994,14 +90864,14 @@ fail: SWIGINTERN PyObject *_wrap_SimulationFactory_end(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -91074,10 +90944,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vdouble1d_t___nonzero__", _wrap_vdouble1d_t___nonzero__, METH_VARARGS, (char *)"vdouble1d_t___nonzero__(vdouble1d_t self) -> bool"}, { (char *)"vdouble1d_t___bool__", _wrap_vdouble1d_t___bool__, METH_VARARGS, (char *)"vdouble1d_t___bool__(vdouble1d_t self) -> bool"}, { (char *)"vdouble1d_t___len__", _wrap_vdouble1d_t___len__, METH_VARARGS, (char *)"vdouble1d_t___len__(vdouble1d_t self) -> std::vector< double >::size_type"}, + { (char *)"vdouble1d_t_pop", _wrap_vdouble1d_t_pop, METH_VARARGS, (char *)"vdouble1d_t_pop(vdouble1d_t self) -> std::vector< double >::value_type"}, { (char *)"vdouble1d_t___getslice__", _wrap_vdouble1d_t___getslice__, METH_VARARGS, (char *)"vdouble1d_t___getslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> vdouble1d_t"}, { (char *)"vdouble1d_t___setslice__", _wrap_vdouble1d_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< double >::difference_type i, std::vector< double >::difference_type j)\n" - "vdouble1d_t___setslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j, vdouble1d_t v)\n" + "__setslice__(std::vector< double >::difference_type i, std::vector< double >::difference_type j, vdouble1d_t v)\n" + "vdouble1d_t___setslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)\n" ""}, { (char *)"vdouble1d_t___delslice__", _wrap_vdouble1d_t___delslice__, METH_VARARGS, (char *)"vdouble1d_t___delslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"}, { (char *)"vdouble1d_t___delitem__", _wrap_vdouble1d_t___delitem__, METH_VARARGS, (char *)"\n" @@ -91093,17 +90964,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vdouble1d_t___setitem__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)\n" ""}, - { (char *)"vdouble1d_t_pop", _wrap_vdouble1d_t_pop, METH_VARARGS, (char *)"vdouble1d_t_pop(vdouble1d_t self) -> std::vector< double >::value_type"}, { (char *)"vdouble1d_t_append", _wrap_vdouble1d_t_append, METH_VARARGS, (char *)"vdouble1d_t_append(vdouble1d_t self, std::vector< double >::value_type const & x)"}, { (char *)"vdouble1d_t_empty", _wrap_vdouble1d_t_empty, METH_VARARGS, (char *)"vdouble1d_t_empty(vdouble1d_t self) -> bool"}, { (char *)"vdouble1d_t_size", _wrap_vdouble1d_t_size, METH_VARARGS, (char *)"vdouble1d_t_size(vdouble1d_t self) -> std::vector< double >::size_type"}, + { (char *)"vdouble1d_t_clear", _wrap_vdouble1d_t_clear, METH_VARARGS, (char *)"vdouble1d_t_clear(vdouble1d_t self)"}, { (char *)"vdouble1d_t_swap", _wrap_vdouble1d_t_swap, METH_VARARGS, (char *)"vdouble1d_t_swap(vdouble1d_t self, vdouble1d_t v)"}, + { (char *)"vdouble1d_t_get_allocator", _wrap_vdouble1d_t_get_allocator, METH_VARARGS, (char *)"vdouble1d_t_get_allocator(vdouble1d_t self) -> std::vector< double >::allocator_type"}, { (char *)"vdouble1d_t_begin", _wrap_vdouble1d_t_begin, METH_VARARGS, (char *)"vdouble1d_t_begin(vdouble1d_t self) -> std::vector< double >::iterator"}, { (char *)"vdouble1d_t_end", _wrap_vdouble1d_t_end, METH_VARARGS, (char *)"vdouble1d_t_end(vdouble1d_t self) -> std::vector< double >::iterator"}, { (char *)"vdouble1d_t_rbegin", _wrap_vdouble1d_t_rbegin, METH_VARARGS, (char *)"vdouble1d_t_rbegin(vdouble1d_t self) -> std::vector< double >::reverse_iterator"}, { (char *)"vdouble1d_t_rend", _wrap_vdouble1d_t_rend, METH_VARARGS, (char *)"vdouble1d_t_rend(vdouble1d_t self) -> std::vector< double >::reverse_iterator"}, - { (char *)"vdouble1d_t_clear", _wrap_vdouble1d_t_clear, METH_VARARGS, (char *)"vdouble1d_t_clear(vdouble1d_t self)"}, - { (char *)"vdouble1d_t_get_allocator", _wrap_vdouble1d_t_get_allocator, METH_VARARGS, (char *)"vdouble1d_t_get_allocator(vdouble1d_t self) -> std::vector< double >::allocator_type"}, { (char *)"vdouble1d_t_pop_back", _wrap_vdouble1d_t_pop_back, METH_VARARGS, (char *)"vdouble1d_t_pop_back(vdouble1d_t self)"}, { (char *)"vdouble1d_t_erase", _wrap_vdouble1d_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< double >::iterator pos) -> std::vector< double >::iterator\n" @@ -91135,10 +91005,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vdouble2d_t___nonzero__", _wrap_vdouble2d_t___nonzero__, METH_VARARGS, (char *)"vdouble2d_t___nonzero__(vdouble2d_t self) -> bool"}, { (char *)"vdouble2d_t___bool__", _wrap_vdouble2d_t___bool__, METH_VARARGS, (char *)"vdouble2d_t___bool__(vdouble2d_t self) -> bool"}, { (char *)"vdouble2d_t___len__", _wrap_vdouble2d_t___len__, METH_VARARGS, (char *)"vdouble2d_t___len__(vdouble2d_t self) -> std::vector< std::vector< double > >::size_type"}, + { (char *)"vdouble2d_t_pop", _wrap_vdouble2d_t_pop, METH_VARARGS, (char *)"vdouble2d_t_pop(vdouble2d_t self) -> vdouble1d_t"}, { (char *)"vdouble2d_t___getslice__", _wrap_vdouble2d_t___getslice__, METH_VARARGS, (char *)"vdouble2d_t___getslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j) -> vdouble2d_t"}, { (char *)"vdouble2d_t___setslice__", _wrap_vdouble2d_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j)\n" - "vdouble2d_t___setslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j, vdouble2d_t v)\n" + "__setslice__(std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j, vdouble2d_t v)\n" + "vdouble2d_t___setslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j)\n" ""}, { (char *)"vdouble2d_t___delslice__", _wrap_vdouble2d_t___delslice__, METH_VARARGS, (char *)"vdouble2d_t___delslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j)"}, { (char *)"vdouble2d_t___delitem__", _wrap_vdouble2d_t___delitem__, METH_VARARGS, (char *)"\n" @@ -91154,17 +91025,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vdouble2d_t___setitem__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, vdouble1d_t x)\n" ""}, - { (char *)"vdouble2d_t_pop", _wrap_vdouble2d_t_pop, METH_VARARGS, (char *)"vdouble2d_t_pop(vdouble2d_t self) -> vdouble1d_t"}, { (char *)"vdouble2d_t_append", _wrap_vdouble2d_t_append, METH_VARARGS, (char *)"vdouble2d_t_append(vdouble2d_t self, vdouble1d_t x)"}, { (char *)"vdouble2d_t_empty", _wrap_vdouble2d_t_empty, METH_VARARGS, (char *)"vdouble2d_t_empty(vdouble2d_t self) -> bool"}, { (char *)"vdouble2d_t_size", _wrap_vdouble2d_t_size, METH_VARARGS, (char *)"vdouble2d_t_size(vdouble2d_t self) -> std::vector< std::vector< double > >::size_type"}, + { (char *)"vdouble2d_t_clear", _wrap_vdouble2d_t_clear, METH_VARARGS, (char *)"vdouble2d_t_clear(vdouble2d_t self)"}, { (char *)"vdouble2d_t_swap", _wrap_vdouble2d_t_swap, METH_VARARGS, (char *)"vdouble2d_t_swap(vdouble2d_t self, vdouble2d_t v)"}, + { (char *)"vdouble2d_t_get_allocator", _wrap_vdouble2d_t_get_allocator, METH_VARARGS, (char *)"vdouble2d_t_get_allocator(vdouble2d_t self) -> std::vector< std::vector< double > >::allocator_type"}, { (char *)"vdouble2d_t_begin", _wrap_vdouble2d_t_begin, METH_VARARGS, (char *)"vdouble2d_t_begin(vdouble2d_t self) -> std::vector< std::vector< double > >::iterator"}, { (char *)"vdouble2d_t_end", _wrap_vdouble2d_t_end, METH_VARARGS, (char *)"vdouble2d_t_end(vdouble2d_t self) -> std::vector< std::vector< double > >::iterator"}, { (char *)"vdouble2d_t_rbegin", _wrap_vdouble2d_t_rbegin, METH_VARARGS, (char *)"vdouble2d_t_rbegin(vdouble2d_t self) -> std::vector< std::vector< double > >::reverse_iterator"}, { (char *)"vdouble2d_t_rend", _wrap_vdouble2d_t_rend, METH_VARARGS, (char *)"vdouble2d_t_rend(vdouble2d_t self) -> std::vector< std::vector< double > >::reverse_iterator"}, - { (char *)"vdouble2d_t_clear", _wrap_vdouble2d_t_clear, METH_VARARGS, (char *)"vdouble2d_t_clear(vdouble2d_t self)"}, - { (char *)"vdouble2d_t_get_allocator", _wrap_vdouble2d_t_get_allocator, METH_VARARGS, (char *)"vdouble2d_t_get_allocator(vdouble2d_t self) -> std::vector< std::vector< double > >::allocator_type"}, { (char *)"vdouble2d_t_pop_back", _wrap_vdouble2d_t_pop_back, METH_VARARGS, (char *)"vdouble2d_t_pop_back(vdouble2d_t self)"}, { (char *)"vdouble2d_t_erase", _wrap_vdouble2d_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< std::vector< double > >::iterator pos) -> std::vector< std::vector< double > >::iterator\n" @@ -91196,10 +91066,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vector_integer_t___nonzero__", _wrap_vector_integer_t___nonzero__, METH_VARARGS, (char *)"vector_integer_t___nonzero__(vector_integer_t self) -> bool"}, { (char *)"vector_integer_t___bool__", _wrap_vector_integer_t___bool__, METH_VARARGS, (char *)"vector_integer_t___bool__(vector_integer_t self) -> bool"}, { (char *)"vector_integer_t___len__", _wrap_vector_integer_t___len__, METH_VARARGS, (char *)"vector_integer_t___len__(vector_integer_t self) -> std::vector< int >::size_type"}, + { (char *)"vector_integer_t_pop", _wrap_vector_integer_t_pop, METH_VARARGS, (char *)"vector_integer_t_pop(vector_integer_t self) -> std::vector< int >::value_type"}, { (char *)"vector_integer_t___getslice__", _wrap_vector_integer_t___getslice__, METH_VARARGS, (char *)"vector_integer_t___getslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> vector_integer_t"}, { (char *)"vector_integer_t___setslice__", _wrap_vector_integer_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< int >::difference_type i, std::vector< int >::difference_type j)\n" - "vector_integer_t___setslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, vector_integer_t v)\n" + "__setslice__(std::vector< int >::difference_type i, std::vector< int >::difference_type j, vector_integer_t v)\n" + "vector_integer_t___setslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)\n" ""}, { (char *)"vector_integer_t___delslice__", _wrap_vector_integer_t___delslice__, METH_VARARGS, (char *)"vector_integer_t___delslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)"}, { (char *)"vector_integer_t___delitem__", _wrap_vector_integer_t___delitem__, METH_VARARGS, (char *)"\n" @@ -91215,17 +91086,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vector_integer_t___setitem__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x)\n" ""}, - { (char *)"vector_integer_t_pop", _wrap_vector_integer_t_pop, METH_VARARGS, (char *)"vector_integer_t_pop(vector_integer_t self) -> std::vector< int >::value_type"}, { (char *)"vector_integer_t_append", _wrap_vector_integer_t_append, METH_VARARGS, (char *)"vector_integer_t_append(vector_integer_t self, std::vector< int >::value_type const & x)"}, { (char *)"vector_integer_t_empty", _wrap_vector_integer_t_empty, METH_VARARGS, (char *)"vector_integer_t_empty(vector_integer_t self) -> bool"}, { (char *)"vector_integer_t_size", _wrap_vector_integer_t_size, METH_VARARGS, (char *)"vector_integer_t_size(vector_integer_t self) -> std::vector< int >::size_type"}, + { (char *)"vector_integer_t_clear", _wrap_vector_integer_t_clear, METH_VARARGS, (char *)"vector_integer_t_clear(vector_integer_t self)"}, { (char *)"vector_integer_t_swap", _wrap_vector_integer_t_swap, METH_VARARGS, (char *)"vector_integer_t_swap(vector_integer_t self, vector_integer_t v)"}, + { (char *)"vector_integer_t_get_allocator", _wrap_vector_integer_t_get_allocator, METH_VARARGS, (char *)"vector_integer_t_get_allocator(vector_integer_t self) -> std::vector< int >::allocator_type"}, { (char *)"vector_integer_t_begin", _wrap_vector_integer_t_begin, METH_VARARGS, (char *)"vector_integer_t_begin(vector_integer_t self) -> std::vector< int >::iterator"}, { (char *)"vector_integer_t_end", _wrap_vector_integer_t_end, METH_VARARGS, (char *)"vector_integer_t_end(vector_integer_t self) -> std::vector< int >::iterator"}, { (char *)"vector_integer_t_rbegin", _wrap_vector_integer_t_rbegin, METH_VARARGS, (char *)"vector_integer_t_rbegin(vector_integer_t self) -> std::vector< int >::reverse_iterator"}, { (char *)"vector_integer_t_rend", _wrap_vector_integer_t_rend, METH_VARARGS, (char *)"vector_integer_t_rend(vector_integer_t self) -> std::vector< int >::reverse_iterator"}, - { (char *)"vector_integer_t_clear", _wrap_vector_integer_t_clear, METH_VARARGS, (char *)"vector_integer_t_clear(vector_integer_t self)"}, - { (char *)"vector_integer_t_get_allocator", _wrap_vector_integer_t_get_allocator, METH_VARARGS, (char *)"vector_integer_t_get_allocator(vector_integer_t self) -> std::vector< int >::allocator_type"}, { (char *)"vector_integer_t_pop_back", _wrap_vector_integer_t_pop_back, METH_VARARGS, (char *)"vector_integer_t_pop_back(vector_integer_t self)"}, { (char *)"vector_integer_t_erase", _wrap_vector_integer_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< int >::iterator pos) -> std::vector< int >::iterator\n" @@ -91257,10 +91127,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vector_longinteger_t___nonzero__", _wrap_vector_longinteger_t___nonzero__, METH_VARARGS, (char *)"vector_longinteger_t___nonzero__(vector_longinteger_t self) -> bool"}, { (char *)"vector_longinteger_t___bool__", _wrap_vector_longinteger_t___bool__, METH_VARARGS, (char *)"vector_longinteger_t___bool__(vector_longinteger_t self) -> bool"}, { (char *)"vector_longinteger_t___len__", _wrap_vector_longinteger_t___len__, METH_VARARGS, (char *)"vector_longinteger_t___len__(vector_longinteger_t self) -> std::vector< unsigned long >::size_type"}, + { (char *)"vector_longinteger_t_pop", _wrap_vector_longinteger_t_pop, METH_VARARGS, (char *)"vector_longinteger_t_pop(vector_longinteger_t self) -> std::vector< unsigned long >::value_type"}, { (char *)"vector_longinteger_t___getslice__", _wrap_vector_longinteger_t___getslice__, METH_VARARGS, (char *)"vector_longinteger_t___getslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j) -> vector_longinteger_t"}, { (char *)"vector_longinteger_t___setslice__", _wrap_vector_longinteger_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j)\n" - "vector_longinteger_t___setslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j, vector_longinteger_t v)\n" + "__setslice__(std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j, vector_longinteger_t v)\n" + "vector_longinteger_t___setslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j)\n" ""}, { (char *)"vector_longinteger_t___delslice__", _wrap_vector_longinteger_t___delslice__, METH_VARARGS, (char *)"vector_longinteger_t___delslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j)"}, { (char *)"vector_longinteger_t___delitem__", _wrap_vector_longinteger_t___delitem__, METH_VARARGS, (char *)"\n" @@ -91276,17 +91147,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vector_longinteger_t___setitem__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::value_type const & x)\n" ""}, - { (char *)"vector_longinteger_t_pop", _wrap_vector_longinteger_t_pop, METH_VARARGS, (char *)"vector_longinteger_t_pop(vector_longinteger_t self) -> std::vector< unsigned long >::value_type"}, { (char *)"vector_longinteger_t_append", _wrap_vector_longinteger_t_append, METH_VARARGS, (char *)"vector_longinteger_t_append(vector_longinteger_t self, std::vector< unsigned long >::value_type const & x)"}, { (char *)"vector_longinteger_t_empty", _wrap_vector_longinteger_t_empty, METH_VARARGS, (char *)"vector_longinteger_t_empty(vector_longinteger_t self) -> bool"}, { (char *)"vector_longinteger_t_size", _wrap_vector_longinteger_t_size, METH_VARARGS, (char *)"vector_longinteger_t_size(vector_longinteger_t self) -> std::vector< unsigned long >::size_type"}, + { (char *)"vector_longinteger_t_clear", _wrap_vector_longinteger_t_clear, METH_VARARGS, (char *)"vector_longinteger_t_clear(vector_longinteger_t self)"}, { (char *)"vector_longinteger_t_swap", _wrap_vector_longinteger_t_swap, METH_VARARGS, (char *)"vector_longinteger_t_swap(vector_longinteger_t self, vector_longinteger_t v)"}, + { (char *)"vector_longinteger_t_get_allocator", _wrap_vector_longinteger_t_get_allocator, METH_VARARGS, (char *)"vector_longinteger_t_get_allocator(vector_longinteger_t self) -> std::vector< unsigned long >::allocator_type"}, { (char *)"vector_longinteger_t_begin", _wrap_vector_longinteger_t_begin, METH_VARARGS, (char *)"vector_longinteger_t_begin(vector_longinteger_t self) -> std::vector< unsigned long >::iterator"}, { (char *)"vector_longinteger_t_end", _wrap_vector_longinteger_t_end, METH_VARARGS, (char *)"vector_longinteger_t_end(vector_longinteger_t self) -> std::vector< unsigned long >::iterator"}, { (char *)"vector_longinteger_t_rbegin", _wrap_vector_longinteger_t_rbegin, METH_VARARGS, (char *)"vector_longinteger_t_rbegin(vector_longinteger_t self) -> std::vector< unsigned long >::reverse_iterator"}, { (char *)"vector_longinteger_t_rend", _wrap_vector_longinteger_t_rend, METH_VARARGS, (char *)"vector_longinteger_t_rend(vector_longinteger_t self) -> std::vector< unsigned long >::reverse_iterator"}, - { (char *)"vector_longinteger_t_clear", _wrap_vector_longinteger_t_clear, METH_VARARGS, (char *)"vector_longinteger_t_clear(vector_longinteger_t self)"}, - { (char *)"vector_longinteger_t_get_allocator", _wrap_vector_longinteger_t_get_allocator, METH_VARARGS, (char *)"vector_longinteger_t_get_allocator(vector_longinteger_t self) -> std::vector< unsigned long >::allocator_type"}, { (char *)"vector_longinteger_t_pop_back", _wrap_vector_longinteger_t_pop_back, METH_VARARGS, (char *)"vector_longinteger_t_pop_back(vector_longinteger_t self)"}, { (char *)"vector_longinteger_t_erase", _wrap_vector_longinteger_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< unsigned long >::iterator pos) -> std::vector< unsigned long >::iterator\n" @@ -91318,10 +91188,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vector_complex_t___nonzero__", _wrap_vector_complex_t___nonzero__, METH_VARARGS, (char *)"vector_complex_t___nonzero__(vector_complex_t self) -> bool"}, { (char *)"vector_complex_t___bool__", _wrap_vector_complex_t___bool__, METH_VARARGS, (char *)"vector_complex_t___bool__(vector_complex_t self) -> bool"}, { (char *)"vector_complex_t___len__", _wrap_vector_complex_t___len__, METH_VARARGS, (char *)"vector_complex_t___len__(vector_complex_t self) -> std::vector< std::complex< double > >::size_type"}, + { (char *)"vector_complex_t_pop", _wrap_vector_complex_t_pop, METH_VARARGS, (char *)"vector_complex_t_pop(vector_complex_t self) -> std::vector< std::complex< double > >::value_type"}, { (char *)"vector_complex_t___getslice__", _wrap_vector_complex_t___getslice__, METH_VARARGS, (char *)"vector_complex_t___getslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j) -> vector_complex_t"}, { (char *)"vector_complex_t___setslice__", _wrap_vector_complex_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j)\n" - "vector_complex_t___setslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j, vector_complex_t v)\n" + "__setslice__(std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j, vector_complex_t v)\n" + "vector_complex_t___setslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j)\n" ""}, { (char *)"vector_complex_t___delslice__", _wrap_vector_complex_t___delslice__, METH_VARARGS, (char *)"vector_complex_t___delslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j)"}, { (char *)"vector_complex_t___delitem__", _wrap_vector_complex_t___delitem__, METH_VARARGS, (char *)"\n" @@ -91337,17 +91208,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vector_complex_t___setitem__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::value_type const & x)\n" ""}, - { (char *)"vector_complex_t_pop", _wrap_vector_complex_t_pop, METH_VARARGS, (char *)"vector_complex_t_pop(vector_complex_t self) -> std::vector< std::complex< double > >::value_type"}, { (char *)"vector_complex_t_append", _wrap_vector_complex_t_append, METH_VARARGS, (char *)"vector_complex_t_append(vector_complex_t self, std::vector< std::complex< double > >::value_type const & x)"}, { (char *)"vector_complex_t_empty", _wrap_vector_complex_t_empty, METH_VARARGS, (char *)"vector_complex_t_empty(vector_complex_t self) -> bool"}, { (char *)"vector_complex_t_size", _wrap_vector_complex_t_size, METH_VARARGS, (char *)"vector_complex_t_size(vector_complex_t self) -> std::vector< std::complex< double > >::size_type"}, + { (char *)"vector_complex_t_clear", _wrap_vector_complex_t_clear, METH_VARARGS, (char *)"vector_complex_t_clear(vector_complex_t self)"}, { (char *)"vector_complex_t_swap", _wrap_vector_complex_t_swap, METH_VARARGS, (char *)"vector_complex_t_swap(vector_complex_t self, vector_complex_t v)"}, + { (char *)"vector_complex_t_get_allocator", _wrap_vector_complex_t_get_allocator, METH_VARARGS, (char *)"vector_complex_t_get_allocator(vector_complex_t self) -> std::vector< std::complex< double > >::allocator_type"}, { (char *)"vector_complex_t_begin", _wrap_vector_complex_t_begin, METH_VARARGS, (char *)"vector_complex_t_begin(vector_complex_t self) -> std::vector< std::complex< double > >::iterator"}, { (char *)"vector_complex_t_end", _wrap_vector_complex_t_end, METH_VARARGS, (char *)"vector_complex_t_end(vector_complex_t self) -> std::vector< std::complex< double > >::iterator"}, { (char *)"vector_complex_t_rbegin", _wrap_vector_complex_t_rbegin, METH_VARARGS, (char *)"vector_complex_t_rbegin(vector_complex_t self) -> std::vector< std::complex< double > >::reverse_iterator"}, { (char *)"vector_complex_t_rend", _wrap_vector_complex_t_rend, METH_VARARGS, (char *)"vector_complex_t_rend(vector_complex_t self) -> std::vector< std::complex< double > >::reverse_iterator"}, - { (char *)"vector_complex_t_clear", _wrap_vector_complex_t_clear, METH_VARARGS, (char *)"vector_complex_t_clear(vector_complex_t self)"}, - { (char *)"vector_complex_t_get_allocator", _wrap_vector_complex_t_get_allocator, METH_VARARGS, (char *)"vector_complex_t_get_allocator(vector_complex_t self) -> std::vector< std::complex< double > >::allocator_type"}, { (char *)"vector_complex_t_pop_back", _wrap_vector_complex_t_pop_back, METH_VARARGS, (char *)"vector_complex_t_pop_back(vector_complex_t self)"}, { (char *)"vector_complex_t_erase", _wrap_vector_complex_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< std::complex< double > >::iterator pos) -> std::vector< std::complex< double > >::iterator\n" @@ -91379,10 +91249,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vector_string_t___nonzero__", _wrap_vector_string_t___nonzero__, METH_VARARGS, (char *)"vector_string_t___nonzero__(vector_string_t self) -> bool"}, { (char *)"vector_string_t___bool__", _wrap_vector_string_t___bool__, METH_VARARGS, (char *)"vector_string_t___bool__(vector_string_t self) -> bool"}, { (char *)"vector_string_t___len__", _wrap_vector_string_t___len__, METH_VARARGS, (char *)"vector_string_t___len__(vector_string_t self) -> std::vector< std::string >::size_type"}, + { (char *)"vector_string_t_pop", _wrap_vector_string_t_pop, METH_VARARGS, (char *)"vector_string_t_pop(vector_string_t self) -> std::vector< std::string >::value_type"}, { (char *)"vector_string_t___getslice__", _wrap_vector_string_t___getslice__, METH_VARARGS, (char *)"vector_string_t___getslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j) -> vector_string_t"}, { (char *)"vector_string_t___setslice__", _wrap_vector_string_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j)\n" - "vector_string_t___setslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j, vector_string_t v)\n" + "__setslice__(std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j, vector_string_t v)\n" + "vector_string_t___setslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j)\n" ""}, { (char *)"vector_string_t___delslice__", _wrap_vector_string_t___delslice__, METH_VARARGS, (char *)"vector_string_t___delslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j)"}, { (char *)"vector_string_t___delitem__", _wrap_vector_string_t___delitem__, METH_VARARGS, (char *)"\n" @@ -91398,17 +91269,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vector_string_t___setitem__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::value_type const & x)\n" ""}, - { (char *)"vector_string_t_pop", _wrap_vector_string_t_pop, METH_VARARGS, (char *)"vector_string_t_pop(vector_string_t self) -> std::vector< std::string >::value_type"}, { (char *)"vector_string_t_append", _wrap_vector_string_t_append, METH_VARARGS, (char *)"vector_string_t_append(vector_string_t self, std::vector< std::string >::value_type const & x)"}, { (char *)"vector_string_t_empty", _wrap_vector_string_t_empty, METH_VARARGS, (char *)"vector_string_t_empty(vector_string_t self) -> bool"}, { (char *)"vector_string_t_size", _wrap_vector_string_t_size, METH_VARARGS, (char *)"vector_string_t_size(vector_string_t self) -> std::vector< std::string >::size_type"}, + { (char *)"vector_string_t_clear", _wrap_vector_string_t_clear, METH_VARARGS, (char *)"vector_string_t_clear(vector_string_t self)"}, { (char *)"vector_string_t_swap", _wrap_vector_string_t_swap, METH_VARARGS, (char *)"vector_string_t_swap(vector_string_t self, vector_string_t v)"}, + { (char *)"vector_string_t_get_allocator", _wrap_vector_string_t_get_allocator, METH_VARARGS, (char *)"vector_string_t_get_allocator(vector_string_t self) -> std::vector< std::string >::allocator_type"}, { (char *)"vector_string_t_begin", _wrap_vector_string_t_begin, METH_VARARGS, (char *)"vector_string_t_begin(vector_string_t self) -> std::vector< std::string >::iterator"}, { (char *)"vector_string_t_end", _wrap_vector_string_t_end, METH_VARARGS, (char *)"vector_string_t_end(vector_string_t self) -> std::vector< std::string >::iterator"}, { (char *)"vector_string_t_rbegin", _wrap_vector_string_t_rbegin, METH_VARARGS, (char *)"vector_string_t_rbegin(vector_string_t self) -> std::vector< std::string >::reverse_iterator"}, { (char *)"vector_string_t_rend", _wrap_vector_string_t_rend, METH_VARARGS, (char *)"vector_string_t_rend(vector_string_t self) -> std::vector< std::string >::reverse_iterator"}, - { (char *)"vector_string_t_clear", _wrap_vector_string_t_clear, METH_VARARGS, (char *)"vector_string_t_clear(vector_string_t self)"}, - { (char *)"vector_string_t_get_allocator", _wrap_vector_string_t_get_allocator, METH_VARARGS, (char *)"vector_string_t_get_allocator(vector_string_t self) -> std::vector< std::string >::allocator_type"}, { (char *)"vector_string_t_pop_back", _wrap_vector_string_t_pop_back, METH_VARARGS, (char *)"vector_string_t_pop_back(vector_string_t self)"}, { (char *)"vector_string_t_erase", _wrap_vector_string_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< std::string >::iterator pos) -> std::vector< std::string >::iterator\n" @@ -91878,12 +91748,16 @@ static PyMethodDef SwigMethods[] = { "\n" "double Geometry::BasicVector3D< double >::cosTheta() const\n" "\n" + "Returns cosine of polar angle. \n" + "\n" ""}, { (char *)"kvector_t_sin2Theta", _wrap_kvector_t_sin2Theta, METH_VARARGS, (char *)"\n" "kvector_t_sin2Theta(kvector_t self) -> double\n" "\n" "double Geometry::BasicVector3D< double >::sin2Theta() const\n" "\n" + "Returns squared sine of polar angle. \n" + "\n" ""}, { (char *)"kvector_t_unit", _wrap_kvector_t_unit, METH_VARARGS, (char *)"\n" "kvector_t_unit(kvector_t self) -> kvector_t\n" @@ -91904,6 +91778,8 @@ static PyMethodDef SwigMethods[] = { "\n" "double Geometry::BasicVector3D< double >::angle(const BasicVector3D< double > &v) const\n" "\n" + "Returns angle with respect to another vector. \n" + "\n" ""}, { (char *)"kvector_t_project", _wrap_kvector_t_project, METH_VARARGS, (char *)"\n" "kvector_t_project(kvector_t self, kvector_t v) -> kvector_t\n" @@ -91922,10 +91798,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vector_kvector_t___nonzero__", _wrap_vector_kvector_t___nonzero__, METH_VARARGS, (char *)"vector_kvector_t___nonzero__(vector_kvector_t self) -> bool"}, { (char *)"vector_kvector_t___bool__", _wrap_vector_kvector_t___bool__, METH_VARARGS, (char *)"vector_kvector_t___bool__(vector_kvector_t self) -> bool"}, { (char *)"vector_kvector_t___len__", _wrap_vector_kvector_t___len__, METH_VARARGS, (char *)"vector_kvector_t___len__(vector_kvector_t self) -> std::vector< Geometry::BasicVector3D< double > >::size_type"}, + { (char *)"vector_kvector_t_pop", _wrap_vector_kvector_t_pop, METH_VARARGS, (char *)"vector_kvector_t_pop(vector_kvector_t self) -> kvector_t"}, { (char *)"vector_kvector_t___getslice__", _wrap_vector_kvector_t___getslice__, METH_VARARGS, (char *)"vector_kvector_t___getslice__(vector_kvector_t self, std::vector< Geometry::BasicVector3D< double > >::difference_type i, std::vector< Geometry::BasicVector3D< double > >::difference_type j) -> vector_kvector_t"}, { (char *)"vector_kvector_t___setslice__", _wrap_vector_kvector_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< Geometry::BasicVector3D< double > >::difference_type i, std::vector< Geometry::BasicVector3D< double > >::difference_type j)\n" - "vector_kvector_t___setslice__(vector_kvector_t self, std::vector< Geometry::BasicVector3D< double > >::difference_type i, std::vector< Geometry::BasicVector3D< double > >::difference_type j, vector_kvector_t v)\n" + "__setslice__(std::vector< Geometry::BasicVector3D< double > >::difference_type i, std::vector< Geometry::BasicVector3D< double > >::difference_type j, vector_kvector_t v)\n" + "vector_kvector_t___setslice__(vector_kvector_t self, std::vector< Geometry::BasicVector3D< double > >::difference_type i, std::vector< Geometry::BasicVector3D< double > >::difference_type j)\n" ""}, { (char *)"vector_kvector_t___delslice__", _wrap_vector_kvector_t___delslice__, METH_VARARGS, (char *)"vector_kvector_t___delslice__(vector_kvector_t self, std::vector< Geometry::BasicVector3D< double > >::difference_type i, std::vector< Geometry::BasicVector3D< double > >::difference_type j)"}, { (char *)"vector_kvector_t___delitem__", _wrap_vector_kvector_t___delitem__, METH_VARARGS, (char *)"\n" @@ -91941,17 +91818,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vector_kvector_t___setitem__(vector_kvector_t self, std::vector< Geometry::BasicVector3D< double > >::difference_type i, kvector_t x)\n" ""}, - { (char *)"vector_kvector_t_pop", _wrap_vector_kvector_t_pop, METH_VARARGS, (char *)"vector_kvector_t_pop(vector_kvector_t self) -> kvector_t"}, { (char *)"vector_kvector_t_append", _wrap_vector_kvector_t_append, METH_VARARGS, (char *)"vector_kvector_t_append(vector_kvector_t self, kvector_t x)"}, { (char *)"vector_kvector_t_empty", _wrap_vector_kvector_t_empty, METH_VARARGS, (char *)"vector_kvector_t_empty(vector_kvector_t self) -> bool"}, { (char *)"vector_kvector_t_size", _wrap_vector_kvector_t_size, METH_VARARGS, (char *)"vector_kvector_t_size(vector_kvector_t self) -> std::vector< Geometry::BasicVector3D< double > >::size_type"}, + { (char *)"vector_kvector_t_clear", _wrap_vector_kvector_t_clear, METH_VARARGS, (char *)"vector_kvector_t_clear(vector_kvector_t self)"}, { (char *)"vector_kvector_t_swap", _wrap_vector_kvector_t_swap, METH_VARARGS, (char *)"vector_kvector_t_swap(vector_kvector_t self, vector_kvector_t v)"}, + { (char *)"vector_kvector_t_get_allocator", _wrap_vector_kvector_t_get_allocator, METH_VARARGS, (char *)"vector_kvector_t_get_allocator(vector_kvector_t self) -> std::vector< Geometry::BasicVector3D< double > >::allocator_type"}, { (char *)"vector_kvector_t_begin", _wrap_vector_kvector_t_begin, METH_VARARGS, (char *)"vector_kvector_t_begin(vector_kvector_t self) -> std::vector< Geometry::BasicVector3D< double > >::iterator"}, { (char *)"vector_kvector_t_end", _wrap_vector_kvector_t_end, METH_VARARGS, (char *)"vector_kvector_t_end(vector_kvector_t self) -> std::vector< Geometry::BasicVector3D< double > >::iterator"}, { (char *)"vector_kvector_t_rbegin", _wrap_vector_kvector_t_rbegin, METH_VARARGS, (char *)"vector_kvector_t_rbegin(vector_kvector_t self) -> std::vector< Geometry::BasicVector3D< double > >::reverse_iterator"}, { (char *)"vector_kvector_t_rend", _wrap_vector_kvector_t_rend, METH_VARARGS, (char *)"vector_kvector_t_rend(vector_kvector_t self) -> std::vector< Geometry::BasicVector3D< double > >::reverse_iterator"}, - { (char *)"vector_kvector_t_clear", _wrap_vector_kvector_t_clear, METH_VARARGS, (char *)"vector_kvector_t_clear(vector_kvector_t self)"}, - { (char *)"vector_kvector_t_get_allocator", _wrap_vector_kvector_t_get_allocator, METH_VARARGS, (char *)"vector_kvector_t_get_allocator(vector_kvector_t self) -> std::vector< Geometry::BasicVector3D< double > >::allocator_type"}, { (char *)"vector_kvector_t_pop_back", _wrap_vector_kvector_t_pop_back, METH_VARARGS, (char *)"vector_kvector_t_pop_back(vector_kvector_t self)"}, { (char *)"vector_kvector_t_erase", _wrap_vector_kvector_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< Geometry::BasicVector3D< double > >::iterator pos) -> std::vector< Geometry::BasicVector3D< double > >::iterator\n" @@ -92106,10 +91982,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vector_cvector_t___nonzero__", _wrap_vector_cvector_t___nonzero__, METH_VARARGS, (char *)"vector_cvector_t___nonzero__(vector_cvector_t self) -> bool"}, { (char *)"vector_cvector_t___bool__", _wrap_vector_cvector_t___bool__, METH_VARARGS, (char *)"vector_cvector_t___bool__(vector_cvector_t self) -> bool"}, { (char *)"vector_cvector_t___len__", _wrap_vector_cvector_t___len__, METH_VARARGS, (char *)"vector_cvector_t___len__(vector_cvector_t self) -> std::vector< Geometry::BasicVector3D< std::complex< double > > >::size_type"}, + { (char *)"vector_cvector_t_pop", _wrap_vector_cvector_t_pop, METH_VARARGS, (char *)"vector_cvector_t_pop(vector_cvector_t self) -> cvector_t"}, { (char *)"vector_cvector_t___getslice__", _wrap_vector_cvector_t___getslice__, METH_VARARGS, (char *)"vector_cvector_t___getslice__(vector_cvector_t self, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j) -> vector_cvector_t"}, { (char *)"vector_cvector_t___setslice__", _wrap_vector_cvector_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j)\n" - "vector_cvector_t___setslice__(vector_cvector_t self, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j, vector_cvector_t v)\n" + "__setslice__(std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j, vector_cvector_t v)\n" + "vector_cvector_t___setslice__(vector_cvector_t self, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j)\n" ""}, { (char *)"vector_cvector_t___delslice__", _wrap_vector_cvector_t___delslice__, METH_VARARGS, (char *)"vector_cvector_t___delslice__(vector_cvector_t self, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type j)"}, { (char *)"vector_cvector_t___delitem__", _wrap_vector_cvector_t___delitem__, METH_VARARGS, (char *)"\n" @@ -92125,17 +92002,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vector_cvector_t___setitem__(vector_cvector_t self, std::vector< Geometry::BasicVector3D< std::complex< double > > >::difference_type i, cvector_t x)\n" ""}, - { (char *)"vector_cvector_t_pop", _wrap_vector_cvector_t_pop, METH_VARARGS, (char *)"vector_cvector_t_pop(vector_cvector_t self) -> cvector_t"}, { (char *)"vector_cvector_t_append", _wrap_vector_cvector_t_append, METH_VARARGS, (char *)"vector_cvector_t_append(vector_cvector_t self, cvector_t x)"}, { (char *)"vector_cvector_t_empty", _wrap_vector_cvector_t_empty, METH_VARARGS, (char *)"vector_cvector_t_empty(vector_cvector_t self) -> bool"}, { (char *)"vector_cvector_t_size", _wrap_vector_cvector_t_size, METH_VARARGS, (char *)"vector_cvector_t_size(vector_cvector_t self) -> std::vector< Geometry::BasicVector3D< std::complex< double > > >::size_type"}, + { (char *)"vector_cvector_t_clear", _wrap_vector_cvector_t_clear, METH_VARARGS, (char *)"vector_cvector_t_clear(vector_cvector_t self)"}, { (char *)"vector_cvector_t_swap", _wrap_vector_cvector_t_swap, METH_VARARGS, (char *)"vector_cvector_t_swap(vector_cvector_t self, vector_cvector_t v)"}, + { (char *)"vector_cvector_t_get_allocator", _wrap_vector_cvector_t_get_allocator, METH_VARARGS, (char *)"vector_cvector_t_get_allocator(vector_cvector_t self) -> std::vector< Geometry::BasicVector3D< std::complex< double > > >::allocator_type"}, { (char *)"vector_cvector_t_begin", _wrap_vector_cvector_t_begin, METH_VARARGS, (char *)"vector_cvector_t_begin(vector_cvector_t self) -> std::vector< Geometry::BasicVector3D< std::complex< double > > >::iterator"}, { (char *)"vector_cvector_t_end", _wrap_vector_cvector_t_end, METH_VARARGS, (char *)"vector_cvector_t_end(vector_cvector_t self) -> std::vector< Geometry::BasicVector3D< std::complex< double > > >::iterator"}, { (char *)"vector_cvector_t_rbegin", _wrap_vector_cvector_t_rbegin, METH_VARARGS, (char *)"vector_cvector_t_rbegin(vector_cvector_t self) -> std::vector< Geometry::BasicVector3D< std::complex< double > > >::reverse_iterator"}, { (char *)"vector_cvector_t_rend", _wrap_vector_cvector_t_rend, METH_VARARGS, (char *)"vector_cvector_t_rend(vector_cvector_t self) -> std::vector< Geometry::BasicVector3D< std::complex< double > > >::reverse_iterator"}, - { (char *)"vector_cvector_t_clear", _wrap_vector_cvector_t_clear, METH_VARARGS, (char *)"vector_cvector_t_clear(vector_cvector_t self)"}, - { (char *)"vector_cvector_t_get_allocator", _wrap_vector_cvector_t_get_allocator, METH_VARARGS, (char *)"vector_cvector_t_get_allocator(vector_cvector_t self) -> std::vector< Geometry::BasicVector3D< std::complex< double > > >::allocator_type"}, { (char *)"vector_cvector_t_pop_back", _wrap_vector_cvector_t_pop_back, METH_VARARGS, (char *)"vector_cvector_t_pop_back(vector_cvector_t self)"}, { (char *)"vector_cvector_t_erase", _wrap_vector_cvector_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< Geometry::BasicVector3D< std::complex< double > > >::iterator pos) -> std::vector< Geometry::BasicVector3D< std::complex< double > > >::iterator\n" @@ -92809,10 +92685,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"swig_dummy_type_isample_vector___nonzero__", _wrap_swig_dummy_type_isample_vector___nonzero__, METH_VARARGS, (char *)"swig_dummy_type_isample_vector___nonzero__(swig_dummy_type_isample_vector self) -> bool"}, { (char *)"swig_dummy_type_isample_vector___bool__", _wrap_swig_dummy_type_isample_vector___bool__, METH_VARARGS, (char *)"swig_dummy_type_isample_vector___bool__(swig_dummy_type_isample_vector self) -> bool"}, { (char *)"swig_dummy_type_isample_vector___len__", _wrap_swig_dummy_type_isample_vector___len__, METH_VARARGS, (char *)"swig_dummy_type_isample_vector___len__(swig_dummy_type_isample_vector self) -> std::vector< ISample * >::size_type"}, + { (char *)"swig_dummy_type_isample_vector_pop", _wrap_swig_dummy_type_isample_vector_pop, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_pop(swig_dummy_type_isample_vector self) -> ISample"}, { (char *)"swig_dummy_type_isample_vector___getslice__", _wrap_swig_dummy_type_isample_vector___getslice__, METH_VARARGS, (char *)"swig_dummy_type_isample_vector___getslice__(swig_dummy_type_isample_vector self, std::vector< ISample * >::difference_type i, std::vector< ISample * >::difference_type j) -> swig_dummy_type_isample_vector"}, { (char *)"swig_dummy_type_isample_vector___setslice__", _wrap_swig_dummy_type_isample_vector___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< ISample * >::difference_type i, std::vector< ISample * >::difference_type j)\n" - "swig_dummy_type_isample_vector___setslice__(swig_dummy_type_isample_vector self, std::vector< ISample * >::difference_type i, std::vector< ISample * >::difference_type j, swig_dummy_type_isample_vector v)\n" + "__setslice__(std::vector< ISample * >::difference_type i, std::vector< ISample * >::difference_type j, swig_dummy_type_isample_vector v)\n" + "swig_dummy_type_isample_vector___setslice__(swig_dummy_type_isample_vector self, std::vector< ISample * >::difference_type i, std::vector< ISample * >::difference_type j)\n" ""}, { (char *)"swig_dummy_type_isample_vector___delslice__", _wrap_swig_dummy_type_isample_vector___delslice__, METH_VARARGS, (char *)"swig_dummy_type_isample_vector___delslice__(swig_dummy_type_isample_vector self, std::vector< ISample * >::difference_type i, std::vector< ISample * >::difference_type j)"}, { (char *)"swig_dummy_type_isample_vector___delitem__", _wrap_swig_dummy_type_isample_vector___delitem__, METH_VARARGS, (char *)"\n" @@ -92828,17 +92705,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "swig_dummy_type_isample_vector___setitem__(swig_dummy_type_isample_vector self, std::vector< ISample * >::difference_type i, ISample x)\n" ""}, - { (char *)"swig_dummy_type_isample_vector_pop", _wrap_swig_dummy_type_isample_vector_pop, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_pop(swig_dummy_type_isample_vector self) -> ISample"}, { (char *)"swig_dummy_type_isample_vector_append", _wrap_swig_dummy_type_isample_vector_append, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_append(swig_dummy_type_isample_vector self, ISample x)"}, { (char *)"swig_dummy_type_isample_vector_empty", _wrap_swig_dummy_type_isample_vector_empty, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_empty(swig_dummy_type_isample_vector self) -> bool"}, { (char *)"swig_dummy_type_isample_vector_size", _wrap_swig_dummy_type_isample_vector_size, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_size(swig_dummy_type_isample_vector self) -> std::vector< ISample * >::size_type"}, + { (char *)"swig_dummy_type_isample_vector_clear", _wrap_swig_dummy_type_isample_vector_clear, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_clear(swig_dummy_type_isample_vector self)"}, { (char *)"swig_dummy_type_isample_vector_swap", _wrap_swig_dummy_type_isample_vector_swap, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_swap(swig_dummy_type_isample_vector self, swig_dummy_type_isample_vector v)"}, + { (char *)"swig_dummy_type_isample_vector_get_allocator", _wrap_swig_dummy_type_isample_vector_get_allocator, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_get_allocator(swig_dummy_type_isample_vector self) -> std::vector< ISample * >::allocator_type"}, { (char *)"swig_dummy_type_isample_vector_begin", _wrap_swig_dummy_type_isample_vector_begin, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_begin(swig_dummy_type_isample_vector self) -> std::vector< ISample * >::iterator"}, { (char *)"swig_dummy_type_isample_vector_end", _wrap_swig_dummy_type_isample_vector_end, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_end(swig_dummy_type_isample_vector self) -> std::vector< ISample * >::iterator"}, { (char *)"swig_dummy_type_isample_vector_rbegin", _wrap_swig_dummy_type_isample_vector_rbegin, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_rbegin(swig_dummy_type_isample_vector self) -> std::vector< ISample * >::reverse_iterator"}, { (char *)"swig_dummy_type_isample_vector_rend", _wrap_swig_dummy_type_isample_vector_rend, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_rend(swig_dummy_type_isample_vector self) -> std::vector< ISample * >::reverse_iterator"}, - { (char *)"swig_dummy_type_isample_vector_clear", _wrap_swig_dummy_type_isample_vector_clear, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_clear(swig_dummy_type_isample_vector self)"}, - { (char *)"swig_dummy_type_isample_vector_get_allocator", _wrap_swig_dummy_type_isample_vector_get_allocator, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_get_allocator(swig_dummy_type_isample_vector self) -> std::vector< ISample * >::allocator_type"}, { (char *)"swig_dummy_type_isample_vector_pop_back", _wrap_swig_dummy_type_isample_vector_pop_back, METH_VARARGS, (char *)"swig_dummy_type_isample_vector_pop_back(swig_dummy_type_isample_vector self)"}, { (char *)"swig_dummy_type_isample_vector_erase", _wrap_swig_dummy_type_isample_vector_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< ISample * >::iterator pos) -> std::vector< ISample * >::iterator\n" @@ -92870,10 +92746,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"swig_dummy_type_const_isample_vector___nonzero__", _wrap_swig_dummy_type_const_isample_vector___nonzero__, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector___nonzero__(swig_dummy_type_const_isample_vector self) -> bool"}, { (char *)"swig_dummy_type_const_isample_vector___bool__", _wrap_swig_dummy_type_const_isample_vector___bool__, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector___bool__(swig_dummy_type_const_isample_vector self) -> bool"}, { (char *)"swig_dummy_type_const_isample_vector___len__", _wrap_swig_dummy_type_const_isample_vector___len__, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector___len__(swig_dummy_type_const_isample_vector self) -> std::vector< ISample const * >::size_type"}, + { (char *)"swig_dummy_type_const_isample_vector_pop", _wrap_swig_dummy_type_const_isample_vector_pop, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_pop(swig_dummy_type_const_isample_vector self) -> ISample"}, { (char *)"swig_dummy_type_const_isample_vector___getslice__", _wrap_swig_dummy_type_const_isample_vector___getslice__, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector___getslice__(swig_dummy_type_const_isample_vector self, std::vector< ISample const * >::difference_type i, std::vector< ISample const * >::difference_type j) -> swig_dummy_type_const_isample_vector"}, { (char *)"swig_dummy_type_const_isample_vector___setslice__", _wrap_swig_dummy_type_const_isample_vector___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< ISample const * >::difference_type i, std::vector< ISample const * >::difference_type j)\n" - "swig_dummy_type_const_isample_vector___setslice__(swig_dummy_type_const_isample_vector self, std::vector< ISample const * >::difference_type i, std::vector< ISample const * >::difference_type j, swig_dummy_type_const_isample_vector v)\n" + "__setslice__(std::vector< ISample const * >::difference_type i, std::vector< ISample const * >::difference_type j, swig_dummy_type_const_isample_vector v)\n" + "swig_dummy_type_const_isample_vector___setslice__(swig_dummy_type_const_isample_vector self, std::vector< ISample const * >::difference_type i, std::vector< ISample const * >::difference_type j)\n" ""}, { (char *)"swig_dummy_type_const_isample_vector___delslice__", _wrap_swig_dummy_type_const_isample_vector___delslice__, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector___delslice__(swig_dummy_type_const_isample_vector self, std::vector< ISample const * >::difference_type i, std::vector< ISample const * >::difference_type j)"}, { (char *)"swig_dummy_type_const_isample_vector___delitem__", _wrap_swig_dummy_type_const_isample_vector___delitem__, METH_VARARGS, (char *)"\n" @@ -92889,17 +92766,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "swig_dummy_type_const_isample_vector___setitem__(swig_dummy_type_const_isample_vector self, std::vector< ISample const * >::difference_type i, ISample x)\n" ""}, - { (char *)"swig_dummy_type_const_isample_vector_pop", _wrap_swig_dummy_type_const_isample_vector_pop, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_pop(swig_dummy_type_const_isample_vector self) -> ISample"}, { (char *)"swig_dummy_type_const_isample_vector_append", _wrap_swig_dummy_type_const_isample_vector_append, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_append(swig_dummy_type_const_isample_vector self, ISample x)"}, { (char *)"swig_dummy_type_const_isample_vector_empty", _wrap_swig_dummy_type_const_isample_vector_empty, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_empty(swig_dummy_type_const_isample_vector self) -> bool"}, { (char *)"swig_dummy_type_const_isample_vector_size", _wrap_swig_dummy_type_const_isample_vector_size, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_size(swig_dummy_type_const_isample_vector self) -> std::vector< ISample const * >::size_type"}, + { (char *)"swig_dummy_type_const_isample_vector_clear", _wrap_swig_dummy_type_const_isample_vector_clear, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_clear(swig_dummy_type_const_isample_vector self)"}, { (char *)"swig_dummy_type_const_isample_vector_swap", _wrap_swig_dummy_type_const_isample_vector_swap, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_swap(swig_dummy_type_const_isample_vector self, swig_dummy_type_const_isample_vector v)"}, + { (char *)"swig_dummy_type_const_isample_vector_get_allocator", _wrap_swig_dummy_type_const_isample_vector_get_allocator, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_get_allocator(swig_dummy_type_const_isample_vector self) -> std::vector< ISample const * >::allocator_type"}, { (char *)"swig_dummy_type_const_isample_vector_begin", _wrap_swig_dummy_type_const_isample_vector_begin, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_begin(swig_dummy_type_const_isample_vector self) -> std::vector< ISample const * >::iterator"}, { (char *)"swig_dummy_type_const_isample_vector_end", _wrap_swig_dummy_type_const_isample_vector_end, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_end(swig_dummy_type_const_isample_vector self) -> std::vector< ISample const * >::iterator"}, { (char *)"swig_dummy_type_const_isample_vector_rbegin", _wrap_swig_dummy_type_const_isample_vector_rbegin, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_rbegin(swig_dummy_type_const_isample_vector self) -> std::vector< ISample const * >::reverse_iterator"}, { (char *)"swig_dummy_type_const_isample_vector_rend", _wrap_swig_dummy_type_const_isample_vector_rend, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_rend(swig_dummy_type_const_isample_vector self) -> std::vector< ISample const * >::reverse_iterator"}, - { (char *)"swig_dummy_type_const_isample_vector_clear", _wrap_swig_dummy_type_const_isample_vector_clear, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_clear(swig_dummy_type_const_isample_vector self)"}, - { (char *)"swig_dummy_type_const_isample_vector_get_allocator", _wrap_swig_dummy_type_const_isample_vector_get_allocator, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_get_allocator(swig_dummy_type_const_isample_vector self) -> std::vector< ISample const * >::allocator_type"}, { (char *)"swig_dummy_type_const_isample_vector_pop_back", _wrap_swig_dummy_type_const_isample_vector_pop_back, METH_VARARGS, (char *)"swig_dummy_type_const_isample_vector_pop_back(swig_dummy_type_const_isample_vector self)"}, { (char *)"swig_dummy_type_const_isample_vector_erase", _wrap_swig_dummy_type_const_isample_vector_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< ISample const * >::iterator pos) -> std::vector< ISample const * >::iterator\n" @@ -94593,10 +94469,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vector_IFormFactorPtr_t___nonzero__", _wrap_vector_IFormFactorPtr_t___nonzero__, METH_VARARGS, (char *)"vector_IFormFactorPtr_t___nonzero__(vector_IFormFactorPtr_t self) -> bool"}, { (char *)"vector_IFormFactorPtr_t___bool__", _wrap_vector_IFormFactorPtr_t___bool__, METH_VARARGS, (char *)"vector_IFormFactorPtr_t___bool__(vector_IFormFactorPtr_t self) -> bool"}, { (char *)"vector_IFormFactorPtr_t___len__", _wrap_vector_IFormFactorPtr_t___len__, METH_VARARGS, (char *)"vector_IFormFactorPtr_t___len__(vector_IFormFactorPtr_t self) -> std::vector< IFormFactor * >::size_type"}, + { (char *)"vector_IFormFactorPtr_t_pop", _wrap_vector_IFormFactorPtr_t_pop, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_pop(vector_IFormFactorPtr_t self) -> IFormFactor"}, { (char *)"vector_IFormFactorPtr_t___getslice__", _wrap_vector_IFormFactorPtr_t___getslice__, METH_VARARGS, (char *)"vector_IFormFactorPtr_t___getslice__(vector_IFormFactorPtr_t self, std::vector< IFormFactor * >::difference_type i, std::vector< IFormFactor * >::difference_type j) -> vector_IFormFactorPtr_t"}, { (char *)"vector_IFormFactorPtr_t___setslice__", _wrap_vector_IFormFactorPtr_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< IFormFactor * >::difference_type i, std::vector< IFormFactor * >::difference_type j)\n" - "vector_IFormFactorPtr_t___setslice__(vector_IFormFactorPtr_t self, std::vector< IFormFactor * >::difference_type i, std::vector< IFormFactor * >::difference_type j, vector_IFormFactorPtr_t v)\n" + "__setslice__(std::vector< IFormFactor * >::difference_type i, std::vector< IFormFactor * >::difference_type j, vector_IFormFactorPtr_t v)\n" + "vector_IFormFactorPtr_t___setslice__(vector_IFormFactorPtr_t self, std::vector< IFormFactor * >::difference_type i, std::vector< IFormFactor * >::difference_type j)\n" ""}, { (char *)"vector_IFormFactorPtr_t___delslice__", _wrap_vector_IFormFactorPtr_t___delslice__, METH_VARARGS, (char *)"vector_IFormFactorPtr_t___delslice__(vector_IFormFactorPtr_t self, std::vector< IFormFactor * >::difference_type i, std::vector< IFormFactor * >::difference_type j)"}, { (char *)"vector_IFormFactorPtr_t___delitem__", _wrap_vector_IFormFactorPtr_t___delitem__, METH_VARARGS, (char *)"\n" @@ -94612,17 +94489,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vector_IFormFactorPtr_t___setitem__(vector_IFormFactorPtr_t self, std::vector< IFormFactor * >::difference_type i, IFormFactor x)\n" ""}, - { (char *)"vector_IFormFactorPtr_t_pop", _wrap_vector_IFormFactorPtr_t_pop, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_pop(vector_IFormFactorPtr_t self) -> IFormFactor"}, { (char *)"vector_IFormFactorPtr_t_append", _wrap_vector_IFormFactorPtr_t_append, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_append(vector_IFormFactorPtr_t self, IFormFactor x)"}, { (char *)"vector_IFormFactorPtr_t_empty", _wrap_vector_IFormFactorPtr_t_empty, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_empty(vector_IFormFactorPtr_t self) -> bool"}, { (char *)"vector_IFormFactorPtr_t_size", _wrap_vector_IFormFactorPtr_t_size, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_size(vector_IFormFactorPtr_t self) -> std::vector< IFormFactor * >::size_type"}, + { (char *)"vector_IFormFactorPtr_t_clear", _wrap_vector_IFormFactorPtr_t_clear, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_clear(vector_IFormFactorPtr_t self)"}, { (char *)"vector_IFormFactorPtr_t_swap", _wrap_vector_IFormFactorPtr_t_swap, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_swap(vector_IFormFactorPtr_t self, vector_IFormFactorPtr_t v)"}, + { (char *)"vector_IFormFactorPtr_t_get_allocator", _wrap_vector_IFormFactorPtr_t_get_allocator, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_get_allocator(vector_IFormFactorPtr_t self) -> std::vector< IFormFactor * >::allocator_type"}, { (char *)"vector_IFormFactorPtr_t_begin", _wrap_vector_IFormFactorPtr_t_begin, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_begin(vector_IFormFactorPtr_t self) -> std::vector< IFormFactor * >::iterator"}, { (char *)"vector_IFormFactorPtr_t_end", _wrap_vector_IFormFactorPtr_t_end, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_end(vector_IFormFactorPtr_t self) -> std::vector< IFormFactor * >::iterator"}, { (char *)"vector_IFormFactorPtr_t_rbegin", _wrap_vector_IFormFactorPtr_t_rbegin, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_rbegin(vector_IFormFactorPtr_t self) -> std::vector< IFormFactor * >::reverse_iterator"}, { (char *)"vector_IFormFactorPtr_t_rend", _wrap_vector_IFormFactorPtr_t_rend, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_rend(vector_IFormFactorPtr_t self) -> std::vector< IFormFactor * >::reverse_iterator"}, - { (char *)"vector_IFormFactorPtr_t_clear", _wrap_vector_IFormFactorPtr_t_clear, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_clear(vector_IFormFactorPtr_t self)"}, - { (char *)"vector_IFormFactorPtr_t_get_allocator", _wrap_vector_IFormFactorPtr_t_get_allocator, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_get_allocator(vector_IFormFactorPtr_t self) -> std::vector< IFormFactor * >::allocator_type"}, { (char *)"vector_IFormFactorPtr_t_pop_back", _wrap_vector_IFormFactorPtr_t_pop_back, METH_VARARGS, (char *)"vector_IFormFactorPtr_t_pop_back(vector_IFormFactorPtr_t self)"}, { (char *)"vector_IFormFactorPtr_t_erase", _wrap_vector_IFormFactorPtr_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< IFormFactor * >::iterator pos) -> std::vector< IFormFactor * >::iterator\n" @@ -106027,19 +105903,10 @@ extern "C" { 0, /* tp_del */ #endif #if PY_VERSION_HEX >= 0x02060000 - 0, /* tp_version_tag */ -#endif -#if PY_VERSION_HEX >= 0x03040000 - 0, /* tp_finalize */ + 0, /* tp_version */ #endif #ifdef COUNT_ALLOCS - 0, /* tp_allocs */ - 0, /* tp_frees */ - 0, /* tp_maxalloc */ -#if PY_VERSION_HEX >= 0x02050000 - 0, /* tp_prev */ -#endif - 0 /* tp_next */ + 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; varlink_type = tmp; diff --git a/auto/Wrap/libBornAgainCore_wrap.h b/auto/Wrap/libBornAgainCore_wrap.h index 0e772db2f9602c583763473639c41fc557eaf899..81677e0f13f85f5f8e5be26e420b87bae23e6017 100644 --- a/auto/Wrap/libBornAgainCore_wrap.h +++ b/auto/Wrap/libBornAgainCore_wrap.h @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.8 + * Version 3.0.7 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make diff --git a/auto/Wrap/libBornAgainFit.py b/auto/Wrap/libBornAgainFit.py index d3b00df34b1da37d55cae5c38865ef09e4e4ecff..3db01f69d53fc98cf7cca1a029416617da24a8d1 100644 --- a/auto/Wrap/libBornAgainFit.py +++ b/auto/Wrap/libBornAgainFit.py @@ -1,5 +1,5 @@ # This file was automatically generated by SWIG (http://www.swig.org). -# Version 3.0.8 +# Version 3.0.7 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. @@ -77,7 +77,7 @@ def _swig_getattr(self, class_type, name): def _swig_repr(self): try: strthis = "proxy of " + self.this.__repr__() - except Exception: + except: strthis = "" return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) @@ -93,13 +93,12 @@ except AttributeError: try: import weakref weakref_proxy = weakref.proxy -except Exception: +except: weakref_proxy = lambda x: x class SwigPyIterator(_object): - """Proxy of C++ swig::SwigPyIterator class.""" - + """Proxy of C++ swig::SwigPyIterator class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value) __swig_getmethods__ = {} @@ -208,8 +207,7 @@ SwigPyIterator_swigregister(SwigPyIterator) _libBornAgainFit.SHARED_PTR_DISOWN_swigconstant(_libBornAgainFit) SHARED_PTR_DISOWN = _libBornAgainFit.SHARED_PTR_DISOWN class vdouble1d_t(_object): - """Proxy of C++ std::vector<(double)> class.""" - + """Proxy of C++ std::vector<(double)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vdouble1d_t, name, value) __swig_getmethods__ = {} @@ -238,6 +236,11 @@ class vdouble1d_t(_object): return _libBornAgainFit.vdouble1d_t___len__(self) + def pop(self): + """pop(vdouble1d_t self) -> std::vector< double >::value_type""" + return _libBornAgainFit.vdouble1d_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> vdouble1d_t""" return _libBornAgainFit.vdouble1d_t___getslice__(self, i, j) @@ -245,8 +248,8 @@ class vdouble1d_t(_object): def __setslice__(self, *args): """ - __setslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) __setslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j, vdouble1d_t v) + __setslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) """ return _libBornAgainFit.vdouble1d_t___setslice__(self, *args) @@ -281,11 +284,6 @@ class vdouble1d_t(_object): return _libBornAgainFit.vdouble1d_t___setitem__(self, *args) - def pop(self): - """pop(vdouble1d_t self) -> std::vector< double >::value_type""" - return _libBornAgainFit.vdouble1d_t_pop(self) - - def append(self, x): """append(vdouble1d_t self, std::vector< double >::value_type const & x)""" return _libBornAgainFit.vdouble1d_t_append(self, x) @@ -301,11 +299,21 @@ class vdouble1d_t(_object): return _libBornAgainFit.vdouble1d_t_size(self) + def clear(self): + """clear(vdouble1d_t self)""" + return _libBornAgainFit.vdouble1d_t_clear(self) + + def swap(self, v): """swap(vdouble1d_t self, vdouble1d_t v)""" return _libBornAgainFit.vdouble1d_t_swap(self, v) + def get_allocator(self): + """get_allocator(vdouble1d_t self) -> std::vector< double >::allocator_type""" + return _libBornAgainFit.vdouble1d_t_get_allocator(self) + + def begin(self): """begin(vdouble1d_t self) -> std::vector< double >::iterator""" return _libBornAgainFit.vdouble1d_t_begin(self) @@ -326,16 +334,6 @@ class vdouble1d_t(_object): return _libBornAgainFit.vdouble1d_t_rend(self) - def clear(self): - """clear(vdouble1d_t self)""" - return _libBornAgainFit.vdouble1d_t_clear(self) - - - def get_allocator(self): - """get_allocator(vdouble1d_t self) -> std::vector< double >::allocator_type""" - return _libBornAgainFit.vdouble1d_t_get_allocator(self) - - def pop_back(self): """pop_back(vdouble1d_t self)""" return _libBornAgainFit.vdouble1d_t_pop_back(self) @@ -359,7 +357,7 @@ class vdouble1d_t(_object): this = _libBornAgainFit.new_vdouble1d_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -413,8 +411,7 @@ vdouble1d_t_swigregister = _libBornAgainFit.vdouble1d_t_swigregister vdouble1d_t_swigregister(vdouble1d_t) class vdouble2d_t(_object): - """Proxy of C++ std::vector<(std::vector<(double)>)> class.""" - + """Proxy of C++ std::vector<(std::vector<(double)>)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vdouble2d_t, name, value) __swig_getmethods__ = {} @@ -443,6 +440,11 @@ class vdouble2d_t(_object): return _libBornAgainFit.vdouble2d_t___len__(self) + def pop(self): + """pop(vdouble2d_t self) -> vdouble1d_t""" + return _libBornAgainFit.vdouble2d_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j) -> vdouble2d_t""" return _libBornAgainFit.vdouble2d_t___getslice__(self, i, j) @@ -450,8 +452,8 @@ class vdouble2d_t(_object): def __setslice__(self, *args): """ - __setslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j) __setslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j, vdouble2d_t v) + __setslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j) """ return _libBornAgainFit.vdouble2d_t___setslice__(self, *args) @@ -486,11 +488,6 @@ class vdouble2d_t(_object): return _libBornAgainFit.vdouble2d_t___setitem__(self, *args) - def pop(self): - """pop(vdouble2d_t self) -> vdouble1d_t""" - return _libBornAgainFit.vdouble2d_t_pop(self) - - def append(self, x): """append(vdouble2d_t self, vdouble1d_t x)""" return _libBornAgainFit.vdouble2d_t_append(self, x) @@ -506,11 +503,21 @@ class vdouble2d_t(_object): return _libBornAgainFit.vdouble2d_t_size(self) + def clear(self): + """clear(vdouble2d_t self)""" + return _libBornAgainFit.vdouble2d_t_clear(self) + + def swap(self, v): """swap(vdouble2d_t self, vdouble2d_t v)""" return _libBornAgainFit.vdouble2d_t_swap(self, v) + def get_allocator(self): + """get_allocator(vdouble2d_t self) -> std::vector< std::vector< double > >::allocator_type""" + return _libBornAgainFit.vdouble2d_t_get_allocator(self) + + def begin(self): """begin(vdouble2d_t self) -> std::vector< std::vector< double > >::iterator""" return _libBornAgainFit.vdouble2d_t_begin(self) @@ -531,16 +538,6 @@ class vdouble2d_t(_object): return _libBornAgainFit.vdouble2d_t_rend(self) - def clear(self): - """clear(vdouble2d_t self)""" - return _libBornAgainFit.vdouble2d_t_clear(self) - - - def get_allocator(self): - """get_allocator(vdouble2d_t self) -> std::vector< std::vector< double > >::allocator_type""" - return _libBornAgainFit.vdouble2d_t_get_allocator(self) - - def pop_back(self): """pop_back(vdouble2d_t self)""" return _libBornAgainFit.vdouble2d_t_pop_back(self) @@ -564,7 +561,7 @@ class vdouble2d_t(_object): this = _libBornAgainFit.new_vdouble2d_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -618,8 +615,7 @@ vdouble2d_t_swigregister = _libBornAgainFit.vdouble2d_t_swigregister vdouble2d_t_swigregister(vdouble2d_t) class vector_integer_t(_object): - """Proxy of C++ std::vector<(int)> class.""" - + """Proxy of C++ std::vector<(int)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vector_integer_t, name, value) __swig_getmethods__ = {} @@ -648,6 +644,11 @@ class vector_integer_t(_object): return _libBornAgainFit.vector_integer_t___len__(self) + def pop(self): + """pop(vector_integer_t self) -> std::vector< int >::value_type""" + return _libBornAgainFit.vector_integer_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> vector_integer_t""" return _libBornAgainFit.vector_integer_t___getslice__(self, i, j) @@ -655,8 +656,8 @@ class vector_integer_t(_object): def __setslice__(self, *args): """ - __setslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) __setslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, vector_integer_t v) + __setslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) """ return _libBornAgainFit.vector_integer_t___setslice__(self, *args) @@ -691,11 +692,6 @@ class vector_integer_t(_object): return _libBornAgainFit.vector_integer_t___setitem__(self, *args) - def pop(self): - """pop(vector_integer_t self) -> std::vector< int >::value_type""" - return _libBornAgainFit.vector_integer_t_pop(self) - - def append(self, x): """append(vector_integer_t self, std::vector< int >::value_type const & x)""" return _libBornAgainFit.vector_integer_t_append(self, x) @@ -711,11 +707,21 @@ class vector_integer_t(_object): return _libBornAgainFit.vector_integer_t_size(self) + def clear(self): + """clear(vector_integer_t self)""" + return _libBornAgainFit.vector_integer_t_clear(self) + + def swap(self, v): """swap(vector_integer_t self, vector_integer_t v)""" return _libBornAgainFit.vector_integer_t_swap(self, v) + def get_allocator(self): + """get_allocator(vector_integer_t self) -> std::vector< int >::allocator_type""" + return _libBornAgainFit.vector_integer_t_get_allocator(self) + + def begin(self): """begin(vector_integer_t self) -> std::vector< int >::iterator""" return _libBornAgainFit.vector_integer_t_begin(self) @@ -736,16 +742,6 @@ class vector_integer_t(_object): return _libBornAgainFit.vector_integer_t_rend(self) - def clear(self): - """clear(vector_integer_t self)""" - return _libBornAgainFit.vector_integer_t_clear(self) - - - def get_allocator(self): - """get_allocator(vector_integer_t self) -> std::vector< int >::allocator_type""" - return _libBornAgainFit.vector_integer_t_get_allocator(self) - - def pop_back(self): """pop_back(vector_integer_t self)""" return _libBornAgainFit.vector_integer_t_pop_back(self) @@ -769,7 +765,7 @@ class vector_integer_t(_object): this = _libBornAgainFit.new_vector_integer_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -823,8 +819,7 @@ vector_integer_t_swigregister = _libBornAgainFit.vector_integer_t_swigregister vector_integer_t_swigregister(vector_integer_t) class vector_longinteger_t(_object): - """Proxy of C++ std::vector<(unsigned long)> class.""" - + """Proxy of C++ std::vector<(unsigned long)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vector_longinteger_t, name, value) __swig_getmethods__ = {} @@ -853,6 +848,11 @@ class vector_longinteger_t(_object): return _libBornAgainFit.vector_longinteger_t___len__(self) + def pop(self): + """pop(vector_longinteger_t self) -> std::vector< unsigned long >::value_type""" + return _libBornAgainFit.vector_longinteger_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j) -> vector_longinteger_t""" return _libBornAgainFit.vector_longinteger_t___getslice__(self, i, j) @@ -860,8 +860,8 @@ class vector_longinteger_t(_object): def __setslice__(self, *args): """ - __setslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j) __setslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j, vector_longinteger_t v) + __setslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j) """ return _libBornAgainFit.vector_longinteger_t___setslice__(self, *args) @@ -896,11 +896,6 @@ class vector_longinteger_t(_object): return _libBornAgainFit.vector_longinteger_t___setitem__(self, *args) - def pop(self): - """pop(vector_longinteger_t self) -> std::vector< unsigned long >::value_type""" - return _libBornAgainFit.vector_longinteger_t_pop(self) - - def append(self, x): """append(vector_longinteger_t self, std::vector< unsigned long >::value_type const & x)""" return _libBornAgainFit.vector_longinteger_t_append(self, x) @@ -916,11 +911,21 @@ class vector_longinteger_t(_object): return _libBornAgainFit.vector_longinteger_t_size(self) + def clear(self): + """clear(vector_longinteger_t self)""" + return _libBornAgainFit.vector_longinteger_t_clear(self) + + def swap(self, v): """swap(vector_longinteger_t self, vector_longinteger_t v)""" return _libBornAgainFit.vector_longinteger_t_swap(self, v) + def get_allocator(self): + """get_allocator(vector_longinteger_t self) -> std::vector< unsigned long >::allocator_type""" + return _libBornAgainFit.vector_longinteger_t_get_allocator(self) + + def begin(self): """begin(vector_longinteger_t self) -> std::vector< unsigned long >::iterator""" return _libBornAgainFit.vector_longinteger_t_begin(self) @@ -941,16 +946,6 @@ class vector_longinteger_t(_object): return _libBornAgainFit.vector_longinteger_t_rend(self) - def clear(self): - """clear(vector_longinteger_t self)""" - return _libBornAgainFit.vector_longinteger_t_clear(self) - - - def get_allocator(self): - """get_allocator(vector_longinteger_t self) -> std::vector< unsigned long >::allocator_type""" - return _libBornAgainFit.vector_longinteger_t_get_allocator(self) - - def pop_back(self): """pop_back(vector_longinteger_t self)""" return _libBornAgainFit.vector_longinteger_t_pop_back(self) @@ -974,7 +969,7 @@ class vector_longinteger_t(_object): this = _libBornAgainFit.new_vector_longinteger_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -1028,8 +1023,7 @@ vector_longinteger_t_swigregister = _libBornAgainFit.vector_longinteger_t_swigre vector_longinteger_t_swigregister(vector_longinteger_t) class vector_complex_t(_object): - """Proxy of C++ std::vector<(std::complex<(double)>)> class.""" - + """Proxy of C++ std::vector<(std::complex<(double)>)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vector_complex_t, name, value) __swig_getmethods__ = {} @@ -1058,6 +1052,11 @@ class vector_complex_t(_object): return _libBornAgainFit.vector_complex_t___len__(self) + def pop(self): + """pop(vector_complex_t self) -> std::vector< std::complex< double > >::value_type""" + return _libBornAgainFit.vector_complex_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j) -> vector_complex_t""" return _libBornAgainFit.vector_complex_t___getslice__(self, i, j) @@ -1065,8 +1064,8 @@ class vector_complex_t(_object): def __setslice__(self, *args): """ - __setslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j) __setslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j, vector_complex_t v) + __setslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j) """ return _libBornAgainFit.vector_complex_t___setslice__(self, *args) @@ -1101,11 +1100,6 @@ class vector_complex_t(_object): return _libBornAgainFit.vector_complex_t___setitem__(self, *args) - def pop(self): - """pop(vector_complex_t self) -> std::vector< std::complex< double > >::value_type""" - return _libBornAgainFit.vector_complex_t_pop(self) - - def append(self, x): """append(vector_complex_t self, std::vector< std::complex< double > >::value_type const & x)""" return _libBornAgainFit.vector_complex_t_append(self, x) @@ -1121,11 +1115,21 @@ class vector_complex_t(_object): return _libBornAgainFit.vector_complex_t_size(self) + def clear(self): + """clear(vector_complex_t self)""" + return _libBornAgainFit.vector_complex_t_clear(self) + + def swap(self, v): """swap(vector_complex_t self, vector_complex_t v)""" return _libBornAgainFit.vector_complex_t_swap(self, v) + def get_allocator(self): + """get_allocator(vector_complex_t self) -> std::vector< std::complex< double > >::allocator_type""" + return _libBornAgainFit.vector_complex_t_get_allocator(self) + + def begin(self): """begin(vector_complex_t self) -> std::vector< std::complex< double > >::iterator""" return _libBornAgainFit.vector_complex_t_begin(self) @@ -1146,16 +1150,6 @@ class vector_complex_t(_object): return _libBornAgainFit.vector_complex_t_rend(self) - def clear(self): - """clear(vector_complex_t self)""" - return _libBornAgainFit.vector_complex_t_clear(self) - - - def get_allocator(self): - """get_allocator(vector_complex_t self) -> std::vector< std::complex< double > >::allocator_type""" - return _libBornAgainFit.vector_complex_t_get_allocator(self) - - def pop_back(self): """pop_back(vector_complex_t self)""" return _libBornAgainFit.vector_complex_t_pop_back(self) @@ -1179,7 +1173,7 @@ class vector_complex_t(_object): this = _libBornAgainFit.new_vector_complex_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -1233,8 +1227,7 @@ vector_complex_t_swigregister = _libBornAgainFit.vector_complex_t_swigregister vector_complex_t_swigregister(vector_complex_t) class vector_string_t(_object): - """Proxy of C++ std::vector<(std::string)> class.""" - + """Proxy of C++ std::vector<(std::string)> class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, vector_string_t, name, value) __swig_getmethods__ = {} @@ -1263,6 +1256,11 @@ class vector_string_t(_object): return _libBornAgainFit.vector_string_t___len__(self) + def pop(self): + """pop(vector_string_t self) -> std::vector< std::string >::value_type""" + return _libBornAgainFit.vector_string_t_pop(self) + + def __getslice__(self, i, j): """__getslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j) -> vector_string_t""" return _libBornAgainFit.vector_string_t___getslice__(self, i, j) @@ -1270,8 +1268,8 @@ class vector_string_t(_object): def __setslice__(self, *args): """ - __setslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j) __setslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j, vector_string_t v) + __setslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j) """ return _libBornAgainFit.vector_string_t___setslice__(self, *args) @@ -1306,11 +1304,6 @@ class vector_string_t(_object): return _libBornAgainFit.vector_string_t___setitem__(self, *args) - def pop(self): - """pop(vector_string_t self) -> std::vector< std::string >::value_type""" - return _libBornAgainFit.vector_string_t_pop(self) - - def append(self, x): """append(vector_string_t self, std::vector< std::string >::value_type const & x)""" return _libBornAgainFit.vector_string_t_append(self, x) @@ -1326,11 +1319,21 @@ class vector_string_t(_object): return _libBornAgainFit.vector_string_t_size(self) + def clear(self): + """clear(vector_string_t self)""" + return _libBornAgainFit.vector_string_t_clear(self) + + def swap(self, v): """swap(vector_string_t self, vector_string_t v)""" return _libBornAgainFit.vector_string_t_swap(self, v) + def get_allocator(self): + """get_allocator(vector_string_t self) -> std::vector< std::string >::allocator_type""" + return _libBornAgainFit.vector_string_t_get_allocator(self) + + def begin(self): """begin(vector_string_t self) -> std::vector< std::string >::iterator""" return _libBornAgainFit.vector_string_t_begin(self) @@ -1351,16 +1354,6 @@ class vector_string_t(_object): return _libBornAgainFit.vector_string_t_rend(self) - def clear(self): - """clear(vector_string_t self)""" - return _libBornAgainFit.vector_string_t_clear(self) - - - def get_allocator(self): - """get_allocator(vector_string_t self) -> std::vector< std::string >::allocator_type""" - return _libBornAgainFit.vector_string_t_get_allocator(self) - - def pop_back(self): """pop_back(vector_string_t self)""" return _libBornAgainFit.vector_string_t_pop_back(self) @@ -1384,7 +1377,7 @@ class vector_string_t(_object): this = _libBornAgainFit.new_vector_string_t(*args) try: self.this.append(this) - except Exception: + except: self.this = this def push_back(self, x): @@ -1447,7 +1440,6 @@ class IMinimizer(_object): C++ includes: IMinimizer.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, IMinimizer, name, value) __swig_getmethods__ = {} @@ -1464,7 +1456,7 @@ class IMinimizer(_object): this = _libBornAgainFit.new_IMinimizer() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_IMinimizer __del__ = lambda self: None @@ -1711,8 +1703,7 @@ IMinimizer_swigregister = _libBornAgainFit.IMinimizer_swigregister IMinimizer_swigregister(IMinimizer) class IChiSquaredModule(libBornAgainCore.ICloneable): - """Proxy of C++ IChiSquaredModule class.""" - + """Proxy of C++ IChiSquaredModule class""" __swig_setmethods__ = {} for _s in [libBornAgainCore.ICloneable]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -1785,7 +1776,6 @@ class IFitObserver(libBornAgainCore.IObserver): C++ includes: IFitObserver.h """ - __swig_setmethods__ = {} for _s in [libBornAgainCore.IObserver]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -1810,7 +1800,7 @@ class IFitObserver(libBornAgainCore.IObserver): this = _libBornAgainFit.new_IFitObserver(_self, update_every_nth) try: self.this.append(this) - except Exception: + except: self.this = this def notify(self, subject): @@ -1856,7 +1846,6 @@ class IFitStrategy(libBornAgainCore.INamed): C++ includes: IFitStrategy.h """ - __swig_setmethods__ = {} for _s in [libBornAgainCore.INamed]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -1913,7 +1902,6 @@ class FitStrategyDefault(IFitStrategy): C++ includes: IFitStrategy.h """ - __swig_setmethods__ = {} for _s in [IFitStrategy]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -1934,7 +1922,7 @@ class FitStrategyDefault(IFitStrategy): this = _libBornAgainFit.new_FitStrategyDefault() try: self.this.append(this) - except Exception: + except: self.this = this def clone(self): @@ -1962,8 +1950,7 @@ FitStrategyDefault_swigregister = _libBornAgainFit.FitStrategyDefault_swigregist FitStrategyDefault_swigregister(FitStrategyDefault) class IIntensityFunction(_object): - """Proxy of C++ IIntensityFunction class.""" - + """Proxy of C++ IIntensityFunction class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, IIntensityFunction, name, value) __swig_getmethods__ = {} @@ -1988,8 +1975,7 @@ IIntensityFunction_swigregister = _libBornAgainFit.IIntensityFunction_swigregist IIntensityFunction_swigregister(IIntensityFunction) class IntensityFunctionLog(IIntensityFunction): - """Proxy of C++ IntensityFunctionLog class.""" - + """Proxy of C++ IntensityFunctionLog class""" __swig_setmethods__ = {} for _s in [IIntensityFunction]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2017,14 +2003,13 @@ class IntensityFunctionLog(IIntensityFunction): this = _libBornAgainFit.new_IntensityFunctionLog() try: self.this.append(this) - except Exception: + except: self.this = this IntensityFunctionLog_swigregister = _libBornAgainFit.IntensityFunctionLog_swigregister IntensityFunctionLog_swigregister(IntensityFunctionLog) class IntensityFunctionSqrt(IIntensityFunction): - """Proxy of C++ IntensityFunctionSqrt class.""" - + """Proxy of C++ IntensityFunctionSqrt class""" __swig_setmethods__ = {} for _s in [IIntensityFunction]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2052,14 +2037,13 @@ class IntensityFunctionSqrt(IIntensityFunction): this = _libBornAgainFit.new_IntensityFunctionSqrt() try: self.this.append(this) - except Exception: + except: self.this = this IntensityFunctionSqrt_swigregister = _libBornAgainFit.IntensityFunctionSqrt_swigregister IntensityFunctionSqrt_swigregister(IntensityFunctionSqrt) class IIntensityNormalizer(libBornAgainCore.IParameterized): - """Proxy of C++ IIntensityNormalizer class.""" - + """Proxy of C++ IIntensityNormalizer class""" __swig_setmethods__ = {} for _s in [libBornAgainCore.IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2098,8 +2082,7 @@ IIntensityNormalizer_swigregister = _libBornAgainFit.IIntensityNormalizer_swigre IIntensityNormalizer_swigregister(IIntensityNormalizer) class IntensityNormalizer(IIntensityNormalizer): - """Proxy of C++ IntensityNormalizer class.""" - + """Proxy of C++ IntensityNormalizer class""" __swig_setmethods__ = {} for _s in [IIntensityNormalizer]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2119,7 +2102,7 @@ class IntensityNormalizer(IIntensityNormalizer): this = _libBornAgainFit.new_IntensityNormalizer(scale, shift) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_IntensityNormalizer __del__ = lambda self: None @@ -2147,8 +2130,7 @@ IntensityNormalizer_swigregister = _libBornAgainFit.IntensityNormalizer_swigregi IntensityNormalizer_swigregister(IntensityNormalizer) class IntensityScaleAndShiftNormalizer(IntensityNormalizer): - """Proxy of C++ IntensityScaleAndShiftNormalizer class.""" - + """Proxy of C++ IntensityScaleAndShiftNormalizer class""" __swig_setmethods__ = {} for _s in [IntensityNormalizer]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2168,7 +2150,7 @@ class IntensityScaleAndShiftNormalizer(IntensityNormalizer): this = _libBornAgainFit.new_IntensityScaleAndShiftNormalizer(scale, shift) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_IntensityScaleAndShiftNormalizer __del__ = lambda self: None @@ -2186,8 +2168,7 @@ IntensityScaleAndShiftNormalizer_swigregister = _libBornAgainFit.IntensityScaleA IntensityScaleAndShiftNormalizer_swigregister(IntensityScaleAndShiftNormalizer) class ISquaredFunction(_object): - """Proxy of C++ ISquaredFunction class.""" - + """Proxy of C++ ISquaredFunction class""" __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, ISquaredFunction, name, value) __swig_getmethods__ = {} @@ -2220,8 +2201,7 @@ ISquaredFunction_swigregister = _libBornAgainFit.ISquaredFunction_swigregister ISquaredFunction_swigregister(ISquaredFunction) class SquaredFunctionDefault(ISquaredFunction): - """Proxy of C++ SquaredFunctionDefault class.""" - + """Proxy of C++ SquaredFunctionDefault class""" __swig_setmethods__ = {} for _s in [ISquaredFunction]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2237,7 +2217,7 @@ class SquaredFunctionDefault(ISquaredFunction): this = _libBornAgainFit.new_SquaredFunctionDefault() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_SquaredFunctionDefault __del__ = lambda self: None @@ -2263,8 +2243,7 @@ SquaredFunctionDefault_swigregister = _libBornAgainFit.SquaredFunctionDefault_sw SquaredFunctionDefault_swigregister(SquaredFunctionDefault) class SquaredFunctionSimError(ISquaredFunction): - """Proxy of C++ SquaredFunctionSimError class.""" - + """Proxy of C++ SquaredFunctionSimError class""" __swig_setmethods__ = {} for _s in [ISquaredFunction]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2298,8 +2277,7 @@ SquaredFunctionSimError_swigregister = _libBornAgainFit.SquaredFunctionSimError_ SquaredFunctionSimError_swigregister(SquaredFunctionSimError) class SquaredFunctionMeanSquaredError(ISquaredFunction): - """Proxy of C++ SquaredFunctionMeanSquaredError class.""" - + """Proxy of C++ SquaredFunctionMeanSquaredError class""" __swig_setmethods__ = {} for _s in [ISquaredFunction]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2333,8 +2311,7 @@ SquaredFunctionMeanSquaredError_swigregister = _libBornAgainFit.SquaredFunctionM SquaredFunctionMeanSquaredError_swigregister(SquaredFunctionMeanSquaredError) class SquaredFunctionSystematicError(ISquaredFunction): - """Proxy of C++ SquaredFunctionSystematicError class.""" - + """Proxy of C++ SquaredFunctionSystematicError class""" __swig_setmethods__ = {} for _s in [ISquaredFunction]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2368,8 +2345,7 @@ SquaredFunctionSystematicError_swigregister = _libBornAgainFit.SquaredFunctionSy SquaredFunctionSystematicError_swigregister(SquaredFunctionSystematicError) class SquaredFunctionGaussianError(ISquaredFunction): - """Proxy of C++ SquaredFunctionGaussianError class.""" - + """Proxy of C++ SquaredFunctionGaussianError class""" __swig_setmethods__ = {} for _s in [ISquaredFunction]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2403,8 +2379,7 @@ SquaredFunctionGaussianError_swigregister = _libBornAgainFit.SquaredFunctionGaus SquaredFunctionGaussianError_swigregister(SquaredFunctionGaussianError) class ChiSquaredModule(IChiSquaredModule): - """Proxy of C++ ChiSquaredModule class.""" - + """Proxy of C++ ChiSquaredModule class""" __swig_setmethods__ = {} for _s in [IChiSquaredModule]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2423,7 +2398,7 @@ class ChiSquaredModule(IChiSquaredModule): this = _libBornAgainFit.new_ChiSquaredModule(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_ChiSquaredModule __del__ = lambda self: None @@ -2449,7 +2424,6 @@ class FitObject(libBornAgainCore.IParameterized): C++ includes: FitObject.h """ - __swig_setmethods__ = {} for _s in [libBornAgainCore.IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2489,7 +2463,7 @@ class FitObject(libBornAgainCore.IParameterized): this = _libBornAgainFit.new_FitObject(simulation, real_data, weight, adjust_detector_to_data) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_FitObject __del__ = lambda self: None @@ -2590,7 +2564,6 @@ class FitOptions(_object): C++ includes: FitOptions.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, FitOptions, name, value) __swig_getmethods__ = {} @@ -2607,7 +2580,7 @@ class FitOptions(_object): this = _libBornAgainFit.new_FitOptions() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_FitOptions __del__ = lambda self: None @@ -2663,7 +2636,6 @@ class FitParameter(libBornAgainCore.INamed, libBornAgainCore.AttLimits): C++ includes: FitParameter.h """ - __swig_setmethods__ = {} for _s in [libBornAgainCore.INamed, libBornAgainCore.AttLimits]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2688,7 +2660,7 @@ class FitParameter(libBornAgainCore.INamed, libBornAgainCore.AttLimits): this = _libBornAgainFit.new_FitParameter(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_FitParameter __del__ = lambda self: None @@ -2776,7 +2748,6 @@ class FitSuite(libBornAgainCore.IObservable): C++ includes: FitSuite.h """ - __swig_setmethods__ = {} for _s in [libBornAgainCore.IObservable]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -2797,7 +2768,7 @@ class FitSuite(libBornAgainCore.IObservable): this = _libBornAgainFit.new_FitSuite() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_FitSuite __del__ = lambda self: None @@ -3200,7 +3171,6 @@ class FitSuiteObjects(libBornAgainCore.IParameterized): C++ includes: FitSuiteObjects.h """ - __swig_setmethods__ = {} for _s in [libBornAgainCore.IParameterized]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -3221,7 +3191,7 @@ class FitSuiteObjects(libBornAgainCore.IParameterized): this = _libBornAgainFit.new_FitSuiteObjects() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_FitSuiteObjects __del__ = lambda self: None @@ -3411,7 +3381,6 @@ class FitSuiteParameters(_object): C++ includes: FitSuiteParameters.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, FitSuiteParameters, name, value) __swig_getmethods__ = {} @@ -3428,7 +3397,7 @@ class FitSuiteParameters(_object): this = _libBornAgainFit.new_FitSuiteParameters() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_FitSuiteParameters __del__ = lambda self: None @@ -3755,7 +3724,6 @@ class MinimizerOptions(_object): C++ includes: MinimizerOptions.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, MinimizerOptions, name, value) __swig_getmethods__ = {} @@ -3772,7 +3740,7 @@ class MinimizerOptions(_object): this = _libBornAgainFit.new_MinimizerOptions() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_MinimizerOptions __del__ = lambda self: None @@ -3984,7 +3952,6 @@ class MinimizerFactory(_object): C++ includes: MinimizerFactory.h """ - __swig_setmethods__ = {} __setattr__ = lambda self, name, value: _swig_setattr(self, MinimizerFactory, name, value) __swig_getmethods__ = {} @@ -4026,7 +3993,7 @@ class MinimizerFactory(_object): this = _libBornAgainFit.new_MinimizerFactory() try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_MinimizerFactory __del__ = lambda self: None @@ -4055,7 +4022,6 @@ class FitStrategyAdjustMinimizer(IFitStrategy): C++ includes: FitStrategyAdjustMinimizer.h """ - __swig_setmethods__ = {} for _s in [IFitStrategy]: __swig_setmethods__.update(getattr(_s, '__swig_setmethods__', {})) @@ -4079,7 +4045,7 @@ class FitStrategyAdjustMinimizer(IFitStrategy): this = _libBornAgainFit.new_FitStrategyAdjustMinimizer(*args) try: self.this.append(this) - except Exception: + except: self.this = this __swig_destroy__ = _libBornAgainFit.delete_FitStrategyAdjustMinimizer __del__ = lambda self: None diff --git a/auto/Wrap/libBornAgainFit_wrap.cpp b/auto/Wrap/libBornAgainFit_wrap.cpp index 4a0886cc9128436d0f359e9e605a0bfc66ed4959..0bbcc2574699f7b8633fc80ae6786a93df587918 100644 --- a/auto/Wrap/libBornAgainFit_wrap.cpp +++ b/auto/Wrap/libBornAgainFit_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.8 + * Version 3.0.7 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -8,11 +8,7 @@ * interface file instead. * ----------------------------------------------------------------------------- */ - -#ifndef SWIGPYTHON #define SWIGPYTHON -#endif - #define SWIG_DIRECTORS #define SWIG_PYTHON_DIRECTOR_NO_VTABLE @@ -1330,7 +1326,7 @@ SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { /* Unpack the argument tuple */ -SWIGINTERN Py_ssize_t +SWIGINTERN int SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssize_t max, PyObject **objs) { if (!args) { @@ -1344,7 +1340,7 @@ SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssi } if (!PyTuple_Check(args)) { if (min <= 1 && max >= 1) { - Py_ssize_t i; + int i; objs[0] = args; for (i = 1; i < max; ++i) { objs[i] = 0; @@ -1364,7 +1360,7 @@ SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssi name, (min == max ? "" : "at most "), (int)max, (int)l); return 0; } else { - Py_ssize_t i; + int i; for (i = 0; i < l; ++i) { objs[i] = PyTuple_GET_ITEM(args, i); } @@ -1705,32 +1701,16 @@ SwigPyObject_dealloc(PyObject *v) if (destroy) { /* destroy is always a VARARGS method */ PyObject *res; - - /* PyObject_CallFunction() has the potential to silently drop - the active active exception. In cases of unnamed temporary - variable or where we just finished iterating over a generator - StopIteration will be active right now, and this needs to - remain true upon return from SwigPyObject_dealloc. So save - and restore. */ - - PyObject *val = NULL, *type = NULL, *tb = NULL; - PyErr_Fetch(&val, &type, &tb); - if (data->delargs) { - /* we need to create a temporary object to carry the destroy operation */ - PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0); - res = SWIG_Python_CallFunctor(destroy, tmp); - Py_DECREF(tmp); + /* we need to create a temporary object to carry the destroy operation */ + PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0); + res = SWIG_Python_CallFunctor(destroy, tmp); + Py_DECREF(tmp); } else { - PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); - PyObject *mself = PyCFunction_GET_SELF(destroy); - res = ((*meth)(mself, v)); + PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); + PyObject *mself = PyCFunction_GET_SELF(destroy); + res = ((*meth)(mself, v)); } - if (!res) - PyErr_WriteUnraisable(destroy); - - PyErr_Restore(val, type, tb); - Py_XDECREF(res); } #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) @@ -1754,7 +1734,6 @@ SwigPyObject_append(PyObject* v, PyObject* next) next = tmp; #endif if (!SwigPyObject_Check(next)) { - PyErr_SetString(PyExc_TypeError, "Attempt to append a non SwigPyObject"); return NULL; } sobj->next = next; @@ -1910,9 +1889,7 @@ SwigPyObject_TypeOnce(void) { (unaryfunc)SwigPyObject_oct, /*nb_oct*/ (unaryfunc)SwigPyObject_hex, /*nb_hex*/ #endif -#if PY_VERSION_HEX >= 0x03050000 /* 3.5 */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_matrix_multiply */ -#elif PY_VERSION_HEX >= 0x03000000 /* 3.0 */ +#if PY_VERSION_HEX >= 0x03000000 /* 3.0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index, nb_inplace_divide removed */ #elif PY_VERSION_HEX >= 0x02050000 /* 2.5.0 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_index */ @@ -1992,19 +1969,10 @@ SwigPyObject_TypeOnce(void) { 0, /* tp_del */ #endif #if PY_VERSION_HEX >= 0x02060000 - 0, /* tp_version_tag */ -#endif -#if PY_VERSION_HEX >= 0x03040000 - 0, /* tp_finalize */ + 0, /* tp_version */ #endif #ifdef COUNT_ALLOCS - 0, /* tp_allocs */ - 0, /* tp_frees */ - 0, /* tp_maxalloc */ -#if PY_VERSION_HEX >= 0x02050000 - 0, /* tp_prev */ -#endif - 0 /* tp_next */ + 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; swigpyobject_type = tmp; @@ -2180,19 +2148,10 @@ SwigPyPacked_TypeOnce(void) { 0, /* tp_del */ #endif #if PY_VERSION_HEX >= 0x02060000 - 0, /* tp_version_tag */ -#endif -#if PY_VERSION_HEX >= 0x03040000 - 0, /* tp_finalize */ + 0, /* tp_version */ #endif #ifdef COUNT_ALLOCS - 0, /* tp_allocs */ - 0, /* tp_frees */ - 0, /* tp_maxalloc */ -#if PY_VERSION_HEX >= 0x02050000 - 0, /* tp_prev */ -#endif - 0 /* tp_next */ + 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; swigpypacked_type = tmp; @@ -2720,11 +2679,13 @@ PyModule_AddObject(PyObject *m, char *name, PyObject *o) { PyObject *dict; if (!PyModule_Check(m)) { - PyErr_SetString(PyExc_TypeError, "PyModule_AddObject() needs module as first arg"); + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs module as first arg"); return SWIG_ERROR; } if (!o) { - PyErr_SetString(PyExc_TypeError, "PyModule_AddObject() needs non-NULL value"); + PyErr_SetString(PyExc_TypeError, + "PyModule_AddObject() needs non-NULL value"); return SWIG_ERROR; } @@ -3568,7 +3529,7 @@ static swig_module_info swig_module = {swig_types, 89, 0, 0, 0, 0}; #endif #define SWIG_name "_libBornAgainFit" -#define SWIGVERSION 0x030008 +#define SWIGVERSION 0x030007 #define SWIG_VERSION SWIGVERSION @@ -3814,11 +3775,9 @@ SWIG_AsVal_double (PyObject *obj, double *val) if (PyFloat_Check(obj)) { if (val) *val = PyFloat_AsDouble(obj); return SWIG_OK; -#if PY_VERSION_HEX < 0x03000000 } else if (PyInt_Check(obj)) { if (val) *val = PyInt_AsLong(obj); return SWIG_OK; -#endif } else if (PyLong_Check(obj)) { double v = PyLong_AsDouble(obj); if (!PyErr_Occurred()) { @@ -3910,7 +3869,18 @@ SWIG_AsVal_unsigned_SS_long (PyObject *obj, unsigned long *val) return SWIG_OK; } else { PyErr_Clear(); - return SWIG_OverflowError; +#if PY_VERSION_HEX >= 0x03000000 + { + long v = PyLong_AsLong(obj); + if (!PyErr_Occurred()) { + if (v < 0) { + return SWIG_OverflowError; + } + } else { + PyErr_Clear(); + } + } +#endif } } #ifdef SWIG_PYTHON_CAST_MODE @@ -3967,20 +3937,16 @@ SWIGINTERNINLINE PyObject* SWIGINTERN int SWIG_AsVal_long (PyObject *obj, long* val) { -#if PY_VERSION_HEX < 0x03000000 if (PyInt_Check(obj)) { if (val) *val = PyInt_AsLong(obj); return SWIG_OK; - } else -#endif - if (PyLong_Check(obj)) { + } else if (PyLong_Check(obj)) { long v = PyLong_AsLong(obj); if (!PyErr_Occurred()) { if (val) *val = v; return SWIG_OK; } else { PyErr_Clear(); - return SWIG_OverflowError; } } #ifdef SWIG_PYTHON_CAST_MODE @@ -4030,7 +3996,7 @@ SWIGINTERNINLINE PyObject* } -namespace swig { +namespace swig { template <class Type> struct noconst_traits { typedef Type noconst_type; @@ -4044,7 +4010,7 @@ namespace swig { /* type categories */ - struct pointer_category { }; + struct pointer_category { }; struct value_category { }; /* @@ -4057,12 +4023,12 @@ namespace swig { return traits<typename noconst_traits<Type >::noconst_type >::type_name(); } - template <class Type> + template <class Type> struct traits_info { static swig_type_info *type_query(std::string name) { name += " *"; return SWIG_TypeQuery(name.c_str()); - } + } static swig_type_info *type_info() { static swig_type_info *info = type_query(type_name<Type>()); return info; @@ -4083,17 +4049,17 @@ namespace swig { std::string ptrname = name; ptrname += " *"; return ptrname; - } + } static const char* type_name() { static std::string name = make_ptr_name(swig::type_name<Type>()); return name.c_str(); } }; - template <class Type, class Category> + template <class Type, class Category> struct traits_as { }; - - template <class Type, class Category> + + template <class Type, class Category> struct traits_check { }; } @@ -4437,12 +4403,6 @@ namespace swig { return pos; } - template <class Sequence> - inline void - erase(Sequence* seq, const typename Sequence::iterator& position) { - seq->erase(position); - } - template <class Sequence, class Difference> inline Sequence* getslice(const Sequence* self, Difference i, Difference j, Py_ssize_t step) { @@ -4817,7 +4777,7 @@ namespace swig template <class T> struct SwigPySequence_Ref { - SwigPySequence_Ref(PyObject* seq, Py_ssize_t index) + SwigPySequence_Ref(PyObject* seq, int index) : _seq(seq), _index(index) { } @@ -4829,7 +4789,7 @@ namespace swig return swig::as<T>(item, true); } catch (std::exception& e) { char msg[1024]; - sprintf(msg, "in sequence element %d ", (int)_index); + sprintf(msg, "in sequence element %d ", _index); if (!PyErr_Occurred()) { ::SWIG_Error(SWIG_TypeError, swig::type_name<T>()); } @@ -4847,7 +4807,7 @@ namespace swig private: PyObject* _seq; - Py_ssize_t _index; + int _index; }; template <class T> @@ -4868,13 +4828,13 @@ namespace swig typedef Reference reference; typedef T value_type; typedef T* pointer; - typedef Py_ssize_t difference_type; + typedef int difference_type; SwigPySequence_InputIterator() { } - SwigPySequence_InputIterator(PyObject* seq, Py_ssize_t index) + SwigPySequence_InputIterator(PyObject* seq, int index) : _seq(seq), _index(index) { } @@ -4954,7 +4914,6 @@ namespace swig difference_type _index; }; - // STL container wrapper around a Python sequence template <class T> struct SwigPySequence_Cont { @@ -4962,8 +4921,8 @@ namespace swig typedef const SwigPySequence_Ref<T> const_reference; typedef T value_type; typedef T* pointer; - typedef Py_ssize_t difference_type; - typedef size_t size_type; + typedef int difference_type; + typedef int size_type; typedef const pointer const_pointer; typedef SwigPySequence_InputIterator<T, reference> iterator; typedef SwigPySequence_InputIterator<T, const_reference> const_iterator; @@ -5024,13 +4983,13 @@ namespace swig bool check(bool set_err = true) const { - Py_ssize_t s = size(); - for (Py_ssize_t i = 0; i < s; ++i) { + int s = size(); + for (int i = 0; i < s; ++i) { swig::SwigVar_PyObject item = PySequence_GetItem(_seq, i); if (!swig::check<value_type>(item)) { if (set_err) { char msg[1024]; - sprintf(msg, "in sequence element %d", (int)i); + sprintf(msg, "in sequence element %d", i); SWIG_Error(SWIG_RuntimeError, msg); } return false; @@ -5050,17 +5009,17 @@ namespace swig namespace swig { - template <> struct traits< double > { + template <> struct traits<double > { typedef value_category category; static const char* type_name() { return"double"; } - }; - template <> struct traits_asval< double > { + }; + template <> struct traits_asval<double > { typedef double value_type; - static int asval(PyObject *obj, value_type *val) { + static int asval(PyObject *obj, value_type *val) { return SWIG_AsVal_double (obj, val); } }; - template <> struct traits_from< double > { + template <> struct traits_from<double > { typedef double value_type; static PyObject *from(const value_type& val) { return SWIG_From_double (val); @@ -5134,9 +5093,10 @@ namespace swig { #endif size_type size = seq.size(); if (size <= (size_type)INT_MAX) { - PyObject *obj = PyTuple_New((Py_ssize_t)size); - Py_ssize_t i = 0; - for (const_iterator it = seq.begin(); it != seq.end(); ++it, ++i) { + PyObject *obj = PyTuple_New((int)size); + int i = 0; + for (const_iterator it = seq.begin(); + it != seq.end(); ++it, ++i) { PyTuple_SetItem(obj,i,swig::from<value_type>(*it)); } return obj; @@ -5167,7 +5127,7 @@ namespace swig { namespace swig { - template <> struct traits<std::vector< double, std::allocator< double > > > { + template <> struct traits<std::vector<double, std::allocator< double > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "double" "," "std::allocator< double >" " >"; @@ -5202,20 +5162,24 @@ SWIG_From_size_t (size_t value) return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); } +SWIGINTERN std::vector< double >::value_type std_vector_Sl_double_Sg__pop(std::vector< double > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<double,std::allocator< double > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getslice__(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_double_Sg____setslice____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< double,std::allocator< double > >()); - } -SWIGINTERN void std_vector_Sl_double_Sg____setslice____SWIG_1(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j,std::vector< double,std::allocator< double > > const &v){ +SWIGINTERN void std_vector_Sl_double_Sg____setslice____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j,std::vector< double,std::allocator< double > > const &v=std::vector< double,std::allocator< double > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_double_Sg____delslice__(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -5224,8 +5188,8 @@ SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_ return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< double,std::allocator< double > >::difference_type id = i; - std::vector< double,std::allocator< double > >::difference_type jd = j; + std::vector<double,std::allocator< double > >::difference_type id = i; + std::vector<double,std::allocator< double > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *self,PySliceObject *slice,std::vector< double,std::allocator< double > > const &v){ @@ -5235,8 +5199,8 @@ SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< double,std::allocator< double > >::difference_type id = i; - std::vector< double,std::allocator< double > >::difference_type jd = j; + std::vector<double,std::allocator< double > >::difference_type id = i; + std::vector<double,std::allocator< double > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){ @@ -5246,8 +5210,8 @@ SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< double,std::allocator< double > >::difference_type id = i; - std::vector< double,std::allocator< double > >::difference_type jd = j; + std::vector<double,std::allocator< double > >::difference_type id = i; + std::vector<double,std::allocator< double > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){ @@ -5257,8 +5221,8 @@ SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< double,std::allocator< double > >::difference_type id = i; - std::vector< double,std::allocator< double > >::difference_type jd = j; + std::vector<double,std::allocator< double > >::difference_type id = i; + std::vector<double,std::allocator< double > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< double >::value_type const &std_vector_Sl_double_Sg____getitem____SWIG_1(std::vector< double > const *self,std::vector< double >::difference_type i){ @@ -5267,13 +5231,6 @@ SWIGINTERN std::vector< double >::value_type const &std_vector_Sl_double_Sg____g SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_2(std::vector< double > *self,std::vector< double >::difference_type i,std::vector< double >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< double >::value_type std_vector_Sl_double_Sg__pop(std::vector< double > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< double,std::allocator< double > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_double_Sg__append(std::vector< double > *self,std::vector< double >::value_type const &x){ self->push_back(x); } @@ -5283,7 +5240,7 @@ SWIGINTERN std::vector< double >::iterator std_vector_Sl_double_Sg__insert__SWIG SWIGINTERN void std_vector_Sl_double_Sg__insert__SWIG_1(std::vector< double > *self,std::vector< double >::iterator pos,std::vector< double >::size_type n,std::vector< double >::value_type const &x){ self->insert(pos, n, x); } namespace swig { - template <> struct traits<std::vector< std::vector< double,std::allocator< double > >, std::allocator< std::vector< double,std::allocator< double > > > > > { + template <> struct traits<std::vector<std::vector< double,std::allocator< double > >, std::allocator< std::vector< double,std::allocator< double > > > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "std::vector< double,std::allocator< double > >" "," "std::allocator< std::vector< double,std::allocator< double > > >" " >"; @@ -5303,20 +5260,24 @@ SWIGINTERN bool std_vector_Sl_std_vector_Sl_double_Sg__Sg____bool__(std::vector< SWIGINTERN std::vector< std::vector< double > >::size_type std_vector_Sl_std_vector_Sl_double_Sg__Sg____len__(std::vector< std::vector< double > > const *self){ return self->size(); } +SWIGINTERN std::vector< std::vector< double > >::value_type std_vector_Sl_std_vector_Sl_double_Sg__Sg__pop(std::vector< std::vector< double > > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *std_vector_Sl_std_vector_Sl_double_Sg__Sg____getslice__(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_0(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >()); - } -SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_1(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &v){ +SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_0(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &v=std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____delslice__(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____delitem____SWIG_0(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *std_vector_Sl_std_vector_Sl_double_Sg__Sg____getitem____SWIG_0(std::vector< std::vector< double > > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -5325,8 +5286,8 @@ SWIGINTERN std::vector< std::vector< double,std::allocator< double > >,std::allo return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_0(std::vector< std::vector< double > > *self,PySliceObject *slice,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &v){ @@ -5336,8 +5297,8 @@ SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_0(s return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_1(std::vector< std::vector< double > > *self,PySliceObject *slice){ @@ -5347,8 +5308,8 @@ SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_1(s return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____delitem____SWIG_1(std::vector< std::vector< double > > *self,PySliceObject *slice){ @@ -5358,8 +5319,8 @@ SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____delitem____SWIG_1(s return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type id = i; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< std::vector< double > >::value_type const &std_vector_Sl_std_vector_Sl_double_Sg__Sg____getitem____SWIG_1(std::vector< std::vector< double > > const *self,std::vector< std::vector< double > >::difference_type i){ @@ -5368,13 +5329,6 @@ SWIGINTERN std::vector< std::vector< double > >::value_type const &std_vector_Sl SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg____setitem____SWIG_2(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::difference_type i,std::vector< std::vector< double > >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< std::vector< double > >::value_type std_vector_Sl_std_vector_Sl_double_Sg__Sg__pop(std::vector< std::vector< double > > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_std_vector_Sl_double_Sg__Sg__append(std::vector< std::vector< double > > *self,std::vector< std::vector< double > >::value_type const &x){ self->push_back(x); } @@ -5410,17 +5364,17 @@ SWIG_AsVal_int (PyObject * obj, int *val) namespace swig { - template <> struct traits< int > { + template <> struct traits<int > { typedef value_category category; static const char* type_name() { return"int"; } - }; - template <> struct traits_asval< int > { + }; + template <> struct traits_asval<int > { typedef int value_type; - static int asval(PyObject *obj, value_type *val) { + static int asval(PyObject *obj, value_type *val) { return SWIG_AsVal_int (obj, val); } }; - template <> struct traits_from< int > { + template <> struct traits_from<int > { typedef int value_type; static PyObject *from(const value_type& val) { return SWIG_From_int (val); @@ -5430,7 +5384,7 @@ namespace swig { namespace swig { - template <> struct traits<std::vector< int, std::allocator< int > > > { + template <> struct traits<std::vector<int, std::allocator< int > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "int" "," "std::allocator< int >" " >"; @@ -5450,20 +5404,24 @@ SWIGINTERN bool std_vector_Sl_int_Sg____bool__(std::vector< int > const *self){ SWIGINTERN std::vector< int >::size_type std_vector_Sl_int_Sg____len__(std::vector< int > const *self){ return self->size(); } +SWIGINTERN std::vector< int >::value_type std_vector_Sl_int_Sg__pop(std::vector< int > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<int,std::allocator< int > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getslice__(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_int_Sg____setslice____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< int,std::allocator< int > >()); - } -SWIGINTERN void std_vector_Sl_int_Sg____setslice____SWIG_1(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j,std::vector< int,std::allocator< int > > const &v){ +SWIGINTERN void std_vector_Sl_int_Sg____setslice____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j,std::vector< int,std::allocator< int > > const &v=std::vector< int,std::allocator< int > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_int_Sg____delslice__(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -5472,8 +5430,8 @@ SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____get return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< int,std::allocator< int > >::difference_type id = i; - std::vector< int,std::allocator< int > >::difference_type jd = j; + std::vector<int,std::allocator< int > >::difference_type id = i; + std::vector<int,std::allocator< int > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *self,PySliceObject *slice,std::vector< int,std::allocator< int > > const &v){ @@ -5483,8 +5441,8 @@ SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *se return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< int,std::allocator< int > >::difference_type id = i; - std::vector< int,std::allocator< int > >::difference_type jd = j; + std::vector<int,std::allocator< int > >::difference_type id = i; + std::vector<int,std::allocator< int > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){ @@ -5494,8 +5452,8 @@ SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *se return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< int,std::allocator< int > >::difference_type id = i; - std::vector< int,std::allocator< int > >::difference_type jd = j; + std::vector<int,std::allocator< int > >::difference_type id = i; + std::vector<int,std::allocator< int > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){ @@ -5505,8 +5463,8 @@ SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *se return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< int,std::allocator< int > >::difference_type id = i; - std::vector< int,std::allocator< int > >::difference_type jd = j; + std::vector<int,std::allocator< int > >::difference_type id = i; + std::vector<int,std::allocator< int > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< int >::value_type const &std_vector_Sl_int_Sg____getitem____SWIG_1(std::vector< int > const *self,std::vector< int >::difference_type i){ @@ -5515,13 +5473,6 @@ SWIGINTERN std::vector< int >::value_type const &std_vector_Sl_int_Sg____getitem SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_2(std::vector< int > *self,std::vector< int >::difference_type i,std::vector< int >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< int >::value_type std_vector_Sl_int_Sg__pop(std::vector< int > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< int,std::allocator< int > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_int_Sg__append(std::vector< int > *self,std::vector< int >::value_type const &x){ self->push_back(x); } @@ -5531,17 +5482,17 @@ SWIGINTERN std::vector< int >::iterator std_vector_Sl_int_Sg__insert__SWIG_0(std SWIGINTERN void std_vector_Sl_int_Sg__insert__SWIG_1(std::vector< int > *self,std::vector< int >::iterator pos,std::vector< int >::size_type n,std::vector< int >::value_type const &x){ self->insert(pos, n, x); } namespace swig { - template <> struct traits< unsigned long > { + template <> struct traits<unsigned long > { typedef value_category category; static const char* type_name() { return"unsigned long"; } - }; - template <> struct traits_asval< unsigned long > { + }; + template <> struct traits_asval<unsigned long > { typedef unsigned long value_type; - static int asval(PyObject *obj, value_type *val) { + static int asval(PyObject *obj, value_type *val) { return SWIG_AsVal_unsigned_SS_long (obj, val); } }; - template <> struct traits_from< unsigned long > { + template <> struct traits_from<unsigned long > { typedef unsigned long value_type; static PyObject *from(const value_type& val) { return SWIG_From_unsigned_SS_long (val); @@ -5551,7 +5502,7 @@ namespace swig { namespace swig { - template <> struct traits<std::vector< unsigned long, std::allocator< unsigned long > > > { + template <> struct traits<std::vector<unsigned long, std::allocator< unsigned long > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "unsigned long" "," "std::allocator< unsigned long >" " >"; @@ -5571,20 +5522,24 @@ SWIGINTERN bool std_vector_Sl_unsigned_SS_long_Sg____bool__(std::vector< unsigne SWIGINTERN std::vector< unsigned long >::size_type std_vector_Sl_unsigned_SS_long_Sg____len__(std::vector< unsigned long > const *self){ return self->size(); } +SWIGINTERN std::vector< unsigned long >::value_type std_vector_Sl_unsigned_SS_long_Sg__pop(std::vector< unsigned long > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<unsigned long,std::allocator< unsigned long > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< unsigned long,std::allocator< unsigned long > > *std_vector_Sl_unsigned_SS_long_Sg____getslice__(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_0(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< unsigned long,std::allocator< unsigned long > >()); - } -SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_1(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j,std::vector< unsigned long,std::allocator< unsigned long > > const &v){ +SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_0(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j,std::vector< unsigned long,std::allocator< unsigned long > > const &v=std::vector< unsigned long,std::allocator< unsigned long > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____delslice__(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____delitem____SWIG_0(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< unsigned long,std::allocator< unsigned long > > *std_vector_Sl_unsigned_SS_long_Sg____getitem____SWIG_0(std::vector< unsigned long > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -5593,8 +5548,8 @@ SWIGINTERN std::vector< unsigned long,std::allocator< unsigned long > > *std_vec return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type id = i; - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type jd = j; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type id = i; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_0(std::vector< unsigned long > *self,PySliceObject *slice,std::vector< unsigned long,std::allocator< unsigned long > > const &v){ @@ -5604,8 +5559,8 @@ SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_0(std::vect return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type id = i; - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type jd = j; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type id = i; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_1(std::vector< unsigned long > *self,PySliceObject *slice){ @@ -5615,8 +5570,8 @@ SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_1(std::vect return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type id = i; - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type jd = j; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type id = i; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____delitem____SWIG_1(std::vector< unsigned long > *self,PySliceObject *slice){ @@ -5626,8 +5581,8 @@ SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____delitem____SWIG_1(std::vect return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type id = i; - std::vector< unsigned long,std::allocator< unsigned long > >::difference_type jd = j; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type id = i; + std::vector<unsigned long,std::allocator< unsigned long > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< unsigned long >::value_type const &std_vector_Sl_unsigned_SS_long_Sg____getitem____SWIG_1(std::vector< unsigned long > const *self,std::vector< unsigned long >::difference_type i){ @@ -5636,13 +5591,6 @@ SWIGINTERN std::vector< unsigned long >::value_type const &std_vector_Sl_unsigne SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg____setitem____SWIG_2(std::vector< unsigned long > *self,std::vector< unsigned long >::difference_type i,std::vector< unsigned long >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< unsigned long >::value_type std_vector_Sl_unsigned_SS_long_Sg__pop(std::vector< unsigned long > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< unsigned long,std::allocator< unsigned long > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_unsigned_SS_long_Sg__append(std::vector< unsigned long > *self,std::vector< unsigned long >::value_type const &x){ self->push_back(x); } @@ -5670,7 +5618,7 @@ SWIG_AsVal_std_complex_Sl_double_Sg_ (PyObject *o, std::complex<double>* val) SWIGINTERNINLINE PyObject* -SWIG_From_std_complex_Sl_double_Sg_ (/*@SWIG:/opt/share/swig/3.0.8/typemaps/swigmacros.swg,104,%ifcplusplus@*/ +SWIG_From_std_complex_Sl_double_Sg_ (/*@SWIG:/usr/share/swig3.0/typemaps/swigmacros.swg,104,%ifcplusplus@*/ const std::complex<double>& @@ -5683,17 +5631,17 @@ const std::complex<double>& namespace swig { - template <> struct traits< std::complex<double> > { + template <> struct traits<std::complex<double> > { typedef value_category category; static const char* type_name() { return"std::complex<double>"; } - }; - template <> struct traits_asval< std::complex<double> > { + }; + template <> struct traits_asval<std::complex<double> > { typedef std::complex<double> value_type; - static int asval(PyObject *obj, value_type *val) { + static int asval(PyObject *obj, value_type *val) { return SWIG_AsVal_std_complex_Sl_double_Sg_ (obj, val); } }; - template <> struct traits_from< std::complex<double> > { + template <> struct traits_from<std::complex<double> > { typedef std::complex<double> value_type; static PyObject *from(const value_type& val) { return SWIG_From_std_complex_Sl_double_Sg_ (val); @@ -5703,7 +5651,7 @@ namespace swig { namespace swig { - template <> struct traits<std::vector< std::complex< double >, std::allocator< std::complex< double > > > > { + template <> struct traits<std::vector<std::complex< double >, std::allocator< std::complex< double > > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "std::complex< double >" "," "std::allocator< std::complex< double > >" " >"; @@ -5723,20 +5671,24 @@ SWIGINTERN bool std_vector_Sl_std_complex_Sl_double_Sg__Sg____bool__(std::vector SWIGINTERN std::vector< std::complex< double > >::size_type std_vector_Sl_std_complex_Sl_double_Sg__Sg____len__(std::vector< std::complex< double > > const *self){ return self->size(); } +SWIGINTERN std::vector< std::complex< double > >::value_type std_vector_Sl_std_complex_Sl_double_Sg__Sg__pop(std::vector< std::complex< double > > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< std::complex< double >,std::allocator< std::complex< double > > > *std_vector_Sl_std_complex_Sl_double_Sg__Sg____getslice__(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_0(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< std::complex< double >,std::allocator< std::complex< double > > >()); - } -SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_1(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j,std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &v){ +SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_0(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j,std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &v=std::vector< std::complex< double >,std::allocator< std::complex< double > > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____delslice__(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____delitem____SWIG_0(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< std::complex< double >,std::allocator< std::complex< double > > > *std_vector_Sl_std_complex_Sl_double_Sg__Sg____getitem____SWIG_0(std::vector< std::complex< double > > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -5745,8 +5697,8 @@ SWIGINTERN std::vector< std::complex< double >,std::allocator< std::complex< dou return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_0(std::vector< std::complex< double > > *self,PySliceObject *slice,std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &v){ @@ -5756,8 +5708,8 @@ SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_0( return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_1(std::vector< std::complex< double > > *self,PySliceObject *slice){ @@ -5767,8 +5719,8 @@ SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_1( return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____delitem____SWIG_1(std::vector< std::complex< double > > *self,PySliceObject *slice){ @@ -5778,8 +5730,8 @@ SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____delitem____SWIG_1( return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type id = i; + std::vector<std::complex< double >,std::allocator< std::complex< double > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< std::complex< double > >::value_type const &std_vector_Sl_std_complex_Sl_double_Sg__Sg____getitem____SWIG_1(std::vector< std::complex< double > > const *self,std::vector< std::complex< double > >::difference_type i){ @@ -5788,13 +5740,6 @@ SWIGINTERN std::vector< std::complex< double > >::value_type const &std_vector_S SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg____setitem____SWIG_2(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::difference_type i,std::vector< std::complex< double > >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< std::complex< double > >::value_type std_vector_Sl_std_complex_Sl_double_Sg__Sg__pop(std::vector< std::complex< double > > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< std::complex< double >,std::allocator< std::complex< double > > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_std_complex_Sl_double_Sg__Sg__append(std::vector< std::complex< double > > *self,std::vector< std::complex< double > >::value_type const &x){ self->push_back(x); } @@ -5856,17 +5801,18 @@ SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) #else if (*alloc == SWIG_NEWOBJ) #endif - { - *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1))); - *alloc = SWIG_NEWOBJ; - } else { + { + *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1))); + *alloc = SWIG_NEWOBJ; + } + else { *cptr = cstr; *alloc = SWIG_OLDOBJ; } } else { - #if PY_VERSION_HEX>=0x03000000 - assert(0); /* Should never reach here in Python 3 */ - #endif + #if PY_VERSION_HEX>=0x03000000 + assert(0); /* Should never reach here in Python 3 */ + #endif *cptr = SWIG_Python_str_AsChar(obj); } } @@ -5876,30 +5822,6 @@ SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) #endif return SWIG_OK; } else { -#if defined(SWIG_PYTHON_2_UNICODE) -#if PY_VERSION_HEX<0x03000000 - if (PyUnicode_Check(obj)) { - char *cstr; Py_ssize_t len; - if (!alloc && cptr) { - return SWIG_RuntimeError; - } - obj = PyUnicode_AsUTF8String(obj); - if (PyString_AsStringAndSize(obj, &cstr, &len) != -1) { - if (cptr) { - if (alloc) *alloc = SWIG_NEWOBJ; - *cptr = reinterpret_cast< char* >(memcpy((new char[len + 1]), cstr, sizeof(char)*(len + 1))); - } - if (psize) *psize = len + 1; - - Py_XDECREF(obj); - return SWIG_OK; - } else { - Py_XDECREF(obj); - } - } -#endif -#endif - swig_type_info* pchar_descriptor = SWIG_pchar_descriptor(); if (pchar_descriptor) { void* vptr = 0; @@ -5975,12 +5897,12 @@ SWIG_FromCharPtrAndSize(const char* carray, size_t size) } else { #if PY_VERSION_HEX >= 0x03000000 #if PY_VERSION_HEX >= 0x03010000 - return PyUnicode_DecodeUTF8(carray, static_cast< Py_ssize_t >(size), "surrogateescape"); + return PyUnicode_DecodeUTF8(carray, static_cast< int >(size), "surrogateescape"); #else - return PyUnicode_FromStringAndSize(carray, static_cast< Py_ssize_t >(size)); + return PyUnicode_FromStringAndSize(carray, static_cast< int >(size)); #endif #else - return PyString_FromStringAndSize(carray, static_cast< Py_ssize_t >(size)); + return PyString_FromStringAndSize(carray, static_cast< int >(size)); #endif } } else { @@ -5997,17 +5919,17 @@ SWIG_From_std_string (const std::string& s) namespace swig { - template <> struct traits< std::string > { + template <> struct traits<std::string > { typedef value_category category; static const char* type_name() { return"std::string"; } - }; - template <> struct traits_asval< std::string > { + }; + template <> struct traits_asval<std::string > { typedef std::string value_type; - static int asval(PyObject *obj, value_type *val) { + static int asval(PyObject *obj, value_type *val) { return SWIG_AsVal_std_string (obj, val); } }; - template <> struct traits_from< std::string > { + template <> struct traits_from<std::string > { typedef std::string value_type; static PyObject *from(const value_type& val) { return SWIG_From_std_string (val); @@ -6017,7 +5939,7 @@ namespace swig { namespace swig { - template <> struct traits<std::vector< std::string, std::allocator< std::string > > > { + template <> struct traits<std::vector<std::string, std::allocator< std::string > > > { typedef pointer_category category; static const char* type_name() { return "std::vector<" "std::string" "," "std::allocator< std::string >" " >"; @@ -6037,20 +5959,24 @@ SWIGINTERN bool std_vector_Sl_std_string_Sg____bool__(std::vector< std::string > SWIGINTERN std::vector< std::string >::size_type std_vector_Sl_std_string_Sg____len__(std::vector< std::string > const *self){ return self->size(); } +SWIGINTERN std::vector< std::string >::value_type std_vector_Sl_std_string_Sg__pop(std::vector< std::string > *self){ + if (self->size() == 0) + throw std::out_of_range("pop from empty container"); + std::vector<std::string,std::allocator< std::string > >::value_type x = self->back(); + self->pop_back(); + return x; + } SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getslice__(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){ return swig::getslice(self, i, j, 1); } -SWIGINTERN void std_vector_Sl_std_string_Sg____setslice____SWIG_0(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){ - swig::setslice(self, i, j, 1, std::vector< std::string,std::allocator< std::string > >()); - } -SWIGINTERN void std_vector_Sl_std_string_Sg____setslice____SWIG_1(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j,std::vector< std::string,std::allocator< std::string > > const &v){ +SWIGINTERN void std_vector_Sl_std_string_Sg____setslice____SWIG_0(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j,std::vector< std::string,std::allocator< std::string > > const &v=std::vector< std::string,std::allocator< std::string > >()){ swig::setslice(self, i, j, 1, v); } SWIGINTERN void std_vector_Sl_std_string_Sg____delslice__(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::difference_type j){ swig::delslice(self, i, j, 1); } SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_0(std::vector< std::string > *self,std::vector< std::string >::difference_type i){ - swig::erase(self, swig::getpos(self, i)); + self->erase(swig::getpos(self,i)); } SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getitem____SWIG_0(std::vector< std::string > *self,PySliceObject *slice){ Py_ssize_t i, j, step; @@ -6059,8 +5985,8 @@ SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_ return NULL; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::string,std::allocator< std::string > >::difference_type id = i; - std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; + std::vector<std::string,std::allocator< std::string > >::difference_type id = i; + std::vector<std::string,std::allocator< std::string > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< std::string > *self,PySliceObject *slice,std::vector< std::string,std::allocator< std::string > > const &v){ @@ -6070,8 +5996,8 @@ SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< st return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::string,std::allocator< std::string > >::difference_type id = i; - std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; + std::vector<std::string,std::allocator< std::string > >::difference_type id = i; + std::vector<std::string,std::allocator< std::string > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< std::string > *self,PySliceObject *slice){ @@ -6081,8 +6007,8 @@ SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< st return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::string,std::allocator< std::string > >::difference_type id = i; - std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; + std::vector<std::string,std::allocator< std::string > >::difference_type id = i; + std::vector<std::string,std::allocator< std::string > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< std::string > *self,PySliceObject *slice){ @@ -6092,8 +6018,8 @@ SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< st return; } PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); - std::vector< std::string,std::allocator< std::string > >::difference_type id = i; - std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; + std::vector<std::string,std::allocator< std::string > >::difference_type id = i; + std::vector<std::string,std::allocator< std::string > >::difference_type jd = j; swig::delslice(self, id, jd, step); } SWIGINTERN std::vector< std::string >::value_type const &std_vector_Sl_std_string_Sg____getitem____SWIG_1(std::vector< std::string > const *self,std::vector< std::string >::difference_type i){ @@ -6102,13 +6028,6 @@ SWIGINTERN std::vector< std::string >::value_type const &std_vector_Sl_std_strin SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_2(std::vector< std::string > *self,std::vector< std::string >::difference_type i,std::vector< std::string >::value_type const &x){ *(swig::getpos(self,i)) = x; } -SWIGINTERN std::vector< std::string >::value_type std_vector_Sl_std_string_Sg__pop(std::vector< std::string > *self){ - if (self->size() == 0) - throw std::out_of_range("pop from empty container"); - std::vector< std::string,std::allocator< std::string > >::value_type x = self->back(); - self->pop_back(); - return x; - } SWIGINTERN void std_vector_Sl_std_string_Sg__append(std::vector< std::string > *self,std::vector< std::string >::value_type const &x){ self->push_back(x); } @@ -6380,14 +6299,14 @@ fail: SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -6499,14 +6418,14 @@ fail: SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -7050,14 +6969,14 @@ fail: SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -7204,6 +7123,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vdouble1d_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< double > *arg1 = (std::vector< double > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< double >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_pop" "', argument " "1"" of type '" "std::vector< double > *""'"); + } + arg1 = reinterpret_cast< std::vector< double > * >(argp1); + try { + result = (std::vector< double >::value_type)std_vector_Sl_double_Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_From_double(static_cast< double >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vdouble1d_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; @@ -7258,17 +7205,20 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_0(PyObject *SWIGUNUSED std::vector< double > *arg1 = (std::vector< double > *) 0 ; std::vector< double >::difference_type arg2 ; std::vector< double >::difference_type arg3 ; + std::vector< double,std::allocator< double > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOO:vdouble1d_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOOO:vdouble1d_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t___setslice__" "', argument " "1"" of type '" "std::vector< double > *""'"); @@ -7284,8 +7234,19 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_0(PyObject *SWIGUNUSED SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vdouble1d_t___setslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'"); } arg3 = static_cast< std::vector< double >::difference_type >(val3); + { + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vdouble1d_t___setslice__" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vdouble1d_t___setslice__" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'"); + } + arg4 = ptr; + } try { - std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< double,std::allocator< double > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -7295,8 +7256,10 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_0(PyObject *SWIGUNUSED } resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } @@ -7306,20 +7269,17 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_1(PyObject *SWIGUNUSED std::vector< double > *arg1 = (std::vector< double > *) 0 ; std::vector< double >::difference_type arg2 ; std::vector< double >::difference_type arg3 ; - std::vector< double,std::allocator< double > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOOO:vdouble1d_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOO:vdouble1d_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t___setslice__" "', argument " "1"" of type '" "std::vector< double > *""'"); @@ -7335,19 +7295,8 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_1(PyObject *SWIGUNUSED SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vdouble1d_t___setslice__" "', argument " "3"" of type '" "std::vector< double >::difference_type""'"); } arg3 = static_cast< std::vector< double >::difference_type >(val3); - { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vdouble1d_t___setslice__" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vdouble1d_t___setslice__" "', argument " "4"" of type '" "std::vector< double,std::allocator< double > > const &""'"); - } - arg4 = ptr; - } try { - std_vector_Sl_double_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< double,std::allocator< double > > const &)*arg4); + std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -7357,29 +7306,27 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice____SWIG_1(PyObject *SWIGUNUSED } resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -7392,14 +7339,14 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice__(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vdouble1d_t___setslice____SWIG_0(self, args); + return _wrap_vdouble1d_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -7412,10 +7359,10 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice__(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vdouble1d_t___setslice____SWIG_1(self, args); + return _wrap_vdouble1d_t___setslice____SWIG_0(self, args); } } } @@ -7425,8 +7372,8 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setslice__(PyObject *self, PyObject *ar fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vdouble1d_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type)\n" - " std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type,std::vector< double,std::allocator< double > > const &)\n"); + " std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type,std::vector< double,std::allocator< double > > const &)\n" + " std::vector< double >::__setslice__(std::vector< double >::difference_type,std::vector< double >::difference_type)\n"); return 0; } @@ -7507,9 +7454,6 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___delitem____SWIG_0(PyObject *SWIGUNUSEDP catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -7582,7 +7526,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setitem____SWIG_0(PyObject *SWIGUNUSEDP arg2 = (PySliceObject *) obj1; } { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vdouble1d_t___setitem__" "', argument " "3"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -7688,20 +7632,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble1d_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -7714,7 +7658,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___delitem__(PyObject *self, PyObject *arg } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -7774,20 +7718,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble1d_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -7800,7 +7744,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___getitem__(PyObject *self, PyObject *arg } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -7870,20 +7814,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble1d_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -7896,14 +7840,14 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setitem__(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vdouble1d_t___setitem____SWIG_0(self, args); @@ -7913,7 +7857,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t___setitem__(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -7942,34 +7886,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vdouble1d_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< double > *arg1 = (std::vector< double > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< double >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_pop" "', argument " "1"" of type '" "std::vector< double > *""'"); - } - arg1 = reinterpret_cast< std::vector< double > * >(argp1); - try { - result = (std::vector< double >::value_type)std_vector_Sl_double_Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_From_double(static_cast< double >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vdouble1d_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; @@ -8024,7 +7940,7 @@ SWIGINTERN PyObject *_wrap_new_vdouble1d_t__SWIG_1(PyObject *SWIGUNUSEDPARM(self if (!PyArg_ParseTuple(args,(char *)"O:new_vdouble1d_t",&obj0)) SWIG_fail; { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vdouble1d_t" "', argument " "1"" of type '" "std::vector< double > const &""'"); @@ -8088,32 +8004,20 @@ fail: } -SWIGINTERN PyObject *_wrap_vdouble1d_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vdouble1d_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - std::vector< double > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; PyObject * obj0 = 0 ; - PyObject * obj1 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OO:vdouble1d_t_swap",&obj0,&obj1)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_clear",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_swap" "', argument " "1"" of type '" "std::vector< double > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_clear" "', argument " "1"" of type '" "std::vector< double > *""'"); } arg1 = reinterpret_cast< std::vector< double > * >(argp1); - res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vdouble1d_t_swap" "', argument " "2"" of type '" "std::vector< double > &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vdouble1d_t_swap" "', argument " "2"" of type '" "std::vector< double > &""'"); - } - arg2 = reinterpret_cast< std::vector< double > * >(argp2); - (arg1)->swap(*arg2); + (arg1)->clear(); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -8121,68 +8025,77 @@ fail: } -SWIGINTERN PyObject *_wrap_vdouble1d_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vdouble1d_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; + std::vector< double > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; PyObject * obj0 = 0 ; - std::vector< double >::iterator result; + PyObject * obj1 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_begin",&obj0)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OO:vdouble1d_t_swap",&obj0,&obj1)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_begin" "', argument " "1"" of type '" "std::vector< double > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_swap" "', argument " "1"" of type '" "std::vector< double > *""'"); } arg1 = reinterpret_cast< std::vector< double > * >(argp1); - result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), - swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); + res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vdouble1d_t_swap" "', argument " "2"" of type '" "std::vector< double > &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vdouble1d_t_swap" "', argument " "2"" of type '" "std::vector< double > &""'"); + } + arg2 = reinterpret_cast< std::vector< double > * >(argp2); + (arg1)->swap(*arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_vdouble1d_t_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vdouble1d_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; - std::vector< double >::iterator result; + SwigValueWrapper< std::allocator< double > > result; - if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_end",&obj0)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_get_allocator",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_end" "', argument " "1"" of type '" "std::vector< double > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_get_allocator" "', argument " "1"" of type '" "std::vector< double > const *""'"); } arg1 = reinterpret_cast< std::vector< double > * >(argp1); - result = (arg1)->end(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), - swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); + result = ((std::vector< double > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(static_cast< const std::vector< double >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_vdouble1d_t_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vdouble1d_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; - std::vector< double >::reverse_iterator result; + std::vector< double >::iterator result; - if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_rbegin",&obj0)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_begin",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_rbegin" "', argument " "1"" of type '" "std::vector< double > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_begin" "', argument " "1"" of type '" "std::vector< double > *""'"); } arg1 = reinterpret_cast< std::vector< double > * >(argp1); - result = (arg1)->rbegin(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::reverse_iterator & >(result)), + result = (arg1)->begin(); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -8190,22 +8103,22 @@ fail: } -SWIGINTERN PyObject *_wrap_vdouble1d_t_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vdouble1d_t_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; - std::vector< double >::reverse_iterator result; + std::vector< double >::iterator result; - if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_rend",&obj0)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_end",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_rend" "', argument " "1"" of type '" "std::vector< double > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_end" "', argument " "1"" of type '" "std::vector< double > *""'"); } arg1 = reinterpret_cast< std::vector< double > * >(argp1); - result = (arg1)->rend(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::reverse_iterator & >(result)), + result = (arg1)->end(); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -8213,43 +8126,46 @@ fail: } -SWIGINTERN PyObject *_wrap_vdouble1d_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vdouble1d_t_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; + std::vector< double >::reverse_iterator result; - if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_clear",&obj0)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_rbegin",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_clear" "', argument " "1"" of type '" "std::vector< double > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_rbegin" "', argument " "1"" of type '" "std::vector< double > *""'"); } arg1 = reinterpret_cast< std::vector< double > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); + result = (arg1)->rbegin(); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::reverse_iterator & >(result)), + swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_vdouble1d_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vdouble1d_t_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< double > > result; + std::vector< double >::reverse_iterator result; - if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_get_allocator",&obj0)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:vdouble1d_t_rend",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_get_allocator" "', argument " "1"" of type '" "std::vector< double > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble1d_t_rend" "', argument " "1"" of type '" "std::vector< double > *""'"); } arg1 = reinterpret_cast< std::vector< double > * >(argp1); - result = ((std::vector< double > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(static_cast< const std::vector< double >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 ); + result = (arg1)->rend(); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::reverse_iterator & >(result)), + swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: return NULL; @@ -8421,20 +8337,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble1d_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -8447,7 +8363,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t_erase(PyObject *self, PyObject *args) { } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -8507,14 +8423,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vdouble1d_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -8533,7 +8449,7 @@ SWIGINTERN PyObject *_wrap_new_vdouble1d_t(PyObject *self, PyObject *args) { } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vdouble1d_t__SWIG_1(self, args); @@ -8726,20 +8642,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble1d_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -8753,7 +8669,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t_resize(PyObject *self, PyObject *args) { } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -8887,20 +8803,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble1d_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -8919,7 +8835,7 @@ SWIGINTERN PyObject *_wrap_vdouble1d_t_insert(PyObject *self, PyObject *args) { } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -9122,6 +9038,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vdouble2d_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< std::vector< double > >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vdouble2d_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t_pop" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); + try { + result = std_vector_Sl_std_vector_Sl_double_Sg__Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vdouble2d_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; @@ -9176,17 +9120,20 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice____SWIG_0(PyObject *SWIGUNUSED std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; std::vector< std::vector< double > >::difference_type arg2 ; std::vector< std::vector< double > >::difference_type arg3 ; + std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOO:vdouble2d_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOOO:vdouble2d_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t___setslice__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); @@ -9202,8 +9149,19 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice____SWIG_0(PyObject *SWIGUNUSED SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vdouble2d_t___setslice__" "', argument " "3"" of type '" "std::vector< std::vector< double > >::difference_type""'"); } arg3 = static_cast< std::vector< std::vector< double > >::difference_type >(val3); + { + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vdouble2d_t___setslice__" "', argument " "4"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vdouble2d_t___setslice__" "', argument " "4"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); + } + arg4 = ptr; + } try { - std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -9213,8 +9171,10 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice____SWIG_0(PyObject *SWIGUNUSED } resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } @@ -9224,20 +9184,17 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice____SWIG_1(PyObject *SWIGUNUSED std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; std::vector< std::vector< double > >::difference_type arg2 ; std::vector< std::vector< double > >::difference_type arg3 ; - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOOO:vdouble2d_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOO:vdouble2d_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t___setslice__" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); @@ -9253,19 +9210,8 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice____SWIG_1(PyObject *SWIGUNUSED SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vdouble2d_t___setslice__" "', argument " "3"" of type '" "std::vector< std::vector< double > >::difference_type""'"); } arg3 = static_cast< std::vector< std::vector< double > >::difference_type >(val3); - { - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vdouble2d_t___setslice__" "', argument " "4"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vdouble2d_t___setslice__" "', argument " "4"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); - } - arg4 = ptr; - } try { - std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)*arg4); + std_vector_Sl_std_vector_Sl_double_Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -9275,29 +9221,27 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice____SWIG_1(PyObject *SWIGUNUSED } resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -9310,14 +9254,14 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice__(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vdouble2d_t___setslice____SWIG_0(self, args); + return _wrap_vdouble2d_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -9330,10 +9274,10 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice__(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vdouble2d_t___setslice____SWIG_1(self, args); + return _wrap_vdouble2d_t___setslice____SWIG_0(self, args); } } } @@ -9343,8 +9287,8 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setslice__(PyObject *self, PyObject *ar fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vdouble2d_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::vector< double > >::__setslice__(std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double > >::difference_type)\n" - " std::vector< std::vector< double > >::__setslice__(std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)\n"); + " std::vector< std::vector< double > >::__setslice__(std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &)\n" + " std::vector< std::vector< double > >::__setslice__(std::vector< std::vector< double > >::difference_type,std::vector< std::vector< double > >::difference_type)\n"); return 0; } @@ -9425,9 +9369,6 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___delitem____SWIG_0(PyObject *SWIGUNUSEDP catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -9500,7 +9441,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setitem____SWIG_0(PyObject *SWIGUNUSEDP arg2 = (PySliceObject *) obj1; } { - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vdouble2d_t___setitem__" "', argument " "3"" of type '" "std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > const &""'"); @@ -9606,20 +9547,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble2d_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -9632,7 +9573,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___delitem__(PyObject *self, PyObject *arg } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -9684,7 +9625,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___getitem____SWIG_1(PyObject *SWIGUNUSEDP SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(*result)); return resultobj; fail: return NULL; @@ -9692,20 +9633,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble2d_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -9718,7 +9659,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___getitem__(PyObject *self, PyObject *arg } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -9766,7 +9707,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setitem____SWIG_2(PyObject *SWIGUNUSEDP } arg2 = static_cast< std::vector< std::vector< double > >::difference_type >(val2); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vdouble2d_t___setitem__" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -9793,20 +9734,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble2d_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -9819,14 +9760,14 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setitem__(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vdouble2d_t___setitem____SWIG_0(self, args); @@ -9836,7 +9777,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setitem__(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -9844,7 +9785,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t___setitem__(PyObject *self, PyObject *arg _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vdouble2d_t___setitem____SWIG_2(self, args); @@ -9863,34 +9804,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vdouble2d_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< std::vector< double > >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vdouble2d_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t_pop" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); - try { - result = std_vector_Sl_std_vector_Sl_double_Sg__Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vdouble2d_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; @@ -9908,7 +9821,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_append(PyObject *SWIGUNUSEDPARM(self), Py } arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vdouble2d_t_append" "', argument " "2"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -9950,7 +9863,7 @@ SWIGINTERN PyObject *_wrap_new_vdouble2d_t__SWIG_1(PyObject *SWIGUNUSEDPARM(self if (!PyArg_ParseTuple(args,(char *)"O:new_vdouble2d_t",&obj0)) SWIG_fail; { - std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; + std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *ptr = (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vdouble2d_t" "', argument " "1"" of type '" "std::vector< std::vector< double,std::allocator< double > > > const &""'"); @@ -10014,6 +9927,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vdouble2d_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vdouble2d_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t_clear" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vdouble2d_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; @@ -10047,6 +9981,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vdouble2d_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< std::vector< double,std::allocator< double > > > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vdouble2d_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t_get_allocator" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); + } + arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); + result = ((std::vector< std::vector< double > > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< std::vector< double > >::allocator_type(static_cast< const std::vector< std::vector< double > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vdouble2d_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; @@ -10139,49 +10095,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vdouble2d_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vdouble2d_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t_clear" "', argument " "1"" of type '" "std::vector< std::vector< double > > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vdouble2d_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::vector< double > > *arg1 = (std::vector< std::vector< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< std::vector< double,std::allocator< double > > > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vdouble2d_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_double_std__allocatorT_double_t_t_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vdouble2d_t_get_allocator" "', argument " "1"" of type '" "std::vector< std::vector< double > > const *""'"); - } - arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); - result = ((std::vector< std::vector< double > > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::vector< double > >::allocator_type(static_cast< const std::vector< std::vector< double > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__vectorT_double_std__allocatorT_double_t_t_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vdouble2d_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< double > >::size_type arg1 ; @@ -10347,20 +10260,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble2d_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -10373,7 +10286,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_erase(PyObject *self, PyObject *args) { } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -10417,7 +10330,7 @@ SWIGINTERN PyObject *_wrap_new_vdouble2d_t__SWIG_3(PyObject *SWIGUNUSEDPARM(self } arg1 = static_cast< std::vector< std::vector< double > >::size_type >(val1); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_vdouble2d_t" "', argument " "2"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -10438,14 +10351,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vdouble2d_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -10464,7 +10377,7 @@ SWIGINTERN PyObject *_wrap_new_vdouble2d_t(PyObject *self, PyObject *args) { } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vdouble2d_t__SWIG_1(self, args); @@ -10477,7 +10390,7 @@ SWIGINTERN PyObject *_wrap_new_vdouble2d_t(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[1], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[1], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vdouble2d_t__SWIG_3(self, args); @@ -10513,7 +10426,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_push_back(PyObject *SWIGUNUSEDPARM(self), } arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "vdouble2d_t_push_back" "', argument " "2"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -10548,7 +10461,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_front(PyObject *SWIGUNUSEDPARM(self), PyO } arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); result = (std::vector< std::vector< double > >::value_type *) &((std::vector< std::vector< double > > const *)arg1)->front(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(*result)); return resultobj; fail: return NULL; @@ -10570,7 +10483,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_back(PyObject *SWIGUNUSEDPARM(self), PyOb } arg1 = reinterpret_cast< std::vector< std::vector< double > > * >(argp1); result = (std::vector< std::vector< double > >::value_type *) &((std::vector< std::vector< double > > const *)arg1)->back(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(*result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(*result)); return resultobj; fail: return NULL; @@ -10603,7 +10516,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_assign(PyObject *SWIGUNUSEDPARM(self), Py } arg2 = static_cast< std::vector< std::vector< double > >::size_type >(val2); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vdouble2d_t_assign" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -10649,7 +10562,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(s } arg2 = static_cast< std::vector< std::vector< double > >::size_type >(val2); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vdouble2d_t_resize" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -10670,20 +10583,20 @@ fail: SWIGINTERN PyObject *_wrap_vdouble2d_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -10697,7 +10610,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_resize(PyObject *self, PyObject *args) { } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -10705,7 +10618,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_resize(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vdouble2d_t_resize__SWIG_1(self, args); @@ -10756,7 +10669,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(s } } { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vdouble2d_t_insert" "', argument " "3"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -10818,7 +10731,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(s } arg3 = static_cast< std::vector< std::vector< double > >::size_type >(val3); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res4 = swig::asptr(obj3, &ptr); if (!SWIG_IsOK(res4)) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vdouble2d_t_insert" "', argument " "4"" of type '" "std::vector< std::vector< double > >::value_type const &""'"); @@ -10839,27 +10752,27 @@ fail: SWIGINTERN PyObject *_wrap_vdouble2d_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; int res = SWIG_ConvertPtr(argv[1], SWIG_as_voidptrptr(&iter), swig::SwigPyIterator::descriptor(), 0); _v = (SWIG_IsOK(res) && iter && (dynamic_cast<swig::SwigPyIterator_T<std::vector< std::vector< double > >::iterator > *>(iter) != 0)); if (_v) { - int res = swig::asptr(argv[2], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vdouble2d_t_insert__SWIG_0(self, args); @@ -10869,7 +10782,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_insert(PyObject *self, PyObject *args) { } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::vector< double,std::allocator< double > >,std::allocator< std::vector< double,std::allocator< double > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -10881,7 +10794,7 @@ SWIGINTERN PyObject *_wrap_vdouble2d_t_insert(PyObject *self, PyObject *args) { _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vdouble2d_t_insert__SWIG_1(self, args); @@ -11070,6 +10983,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_integer_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< int > *arg1 = (std::vector< int > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< int >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_integer_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t_pop" "', argument " "1"" of type '" "std::vector< int > *""'"); + } + arg1 = reinterpret_cast< std::vector< int > * >(argp1); + try { + result = (std::vector< int >::value_type)std_vector_Sl_int_Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_integer_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; @@ -11124,17 +11065,20 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice____SWIG_0(PyObject *SWIGU std::vector< int > *arg1 = (std::vector< int > *) 0 ; std::vector< int >::difference_type arg2 ; std::vector< int >::difference_type arg3 ; + std::vector< int,std::allocator< int > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOO:vector_integer_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_integer_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t___setslice__" "', argument " "1"" of type '" "std::vector< int > *""'"); @@ -11150,8 +11094,19 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice____SWIG_0(PyObject *SWIGU SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_integer_t___setslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'"); } arg3 = static_cast< std::vector< int >::difference_type >(val3); + { + std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_integer_t___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_integer_t___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'"); + } + arg4 = ptr; + } try { - std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< int,std::allocator< int > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -11161,8 +11116,10 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice____SWIG_0(PyObject *SWIGU } resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } @@ -11172,20 +11129,17 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice____SWIG_1(PyObject *SWIGU std::vector< int > *arg1 = (std::vector< int > *) 0 ; std::vector< int >::difference_type arg2 ; std::vector< int >::difference_type arg3 ; - std::vector< int,std::allocator< int > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_integer_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOO:vector_integer_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t___setslice__" "', argument " "1"" of type '" "std::vector< int > *""'"); @@ -11201,19 +11155,8 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice____SWIG_1(PyObject *SWIGU SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_integer_t___setslice__" "', argument " "3"" of type '" "std::vector< int >::difference_type""'"); } arg3 = static_cast< std::vector< int >::difference_type >(val3); - { - std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_integer_t___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_integer_t___setslice__" "', argument " "4"" of type '" "std::vector< int,std::allocator< int > > const &""'"); - } - arg4 = ptr; - } try { - std_vector_Sl_int_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< int,std::allocator< int > > const &)*arg4); + std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -11223,29 +11166,27 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice____SWIG_1(PyObject *SWIGU } resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } SWIGINTERN PyObject *_wrap_vector_integer_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -11258,14 +11199,14 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice__(PyObject *self, PyObjec _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vector_integer_t___setslice____SWIG_0(self, args); + return _wrap_vector_integer_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -11278,10 +11219,10 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice__(PyObject *self, PyObjec _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vector_integer_t___setslice____SWIG_1(self, args); + return _wrap_vector_integer_t___setslice____SWIG_0(self, args); } } } @@ -11291,8 +11232,8 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setslice__(PyObject *self, PyObjec fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_integer_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type)\n" - " std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type,std::vector< int,std::allocator< int > > const &)\n"); + " std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type,std::vector< int,std::allocator< int > > const &)\n" + " std::vector< int >::__setslice__(std::vector< int >::difference_type,std::vector< int >::difference_type)\n"); return 0; } @@ -11373,9 +11314,6 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___delitem____SWIG_0(PyObject *SWIGUN catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -11448,7 +11386,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setitem____SWIG_0(PyObject *SWIGUN arg2 = (PySliceObject *) obj1; } { - std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; + std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_integer_t___setitem__" "', argument " "3"" of type '" "std::vector< int,std::allocator< int > > const &""'"); @@ -11554,20 +11492,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_integer_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -11580,7 +11518,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___delitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -11640,20 +11578,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_integer_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -11666,7 +11604,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___getitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -11736,20 +11674,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_integer_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -11762,14 +11700,14 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vector_integer_t___setitem____SWIG_0(self, args); @@ -11779,7 +11717,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -11808,34 +11746,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_integer_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< int > *arg1 = (std::vector< int > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< int >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_integer_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t_pop" "', argument " "1"" of type '" "std::vector< int > *""'"); - } - arg1 = reinterpret_cast< std::vector< int > * >(argp1); - try { - result = (std::vector< int >::value_type)std_vector_Sl_int_Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_From_int(static_cast< int >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_integer_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; @@ -11890,7 +11800,7 @@ SWIGINTERN PyObject *_wrap_new_vector_integer_t__SWIG_1(PyObject *SWIGUNUSEDPARM if (!PyArg_ParseTuple(args,(char *)"O:new_vector_integer_t",&obj0)) SWIG_fail; { - std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; + std::vector<int,std::allocator< int > > *ptr = (std::vector<int,std::allocator< int > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_integer_t" "', argument " "1"" of type '" "std::vector< int > const &""'"); @@ -11954,6 +11864,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_integer_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< int > *arg1 = (std::vector< int > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_integer_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t_clear" "', argument " "1"" of type '" "std::vector< int > *""'"); + } + arg1 = reinterpret_cast< std::vector< int > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_integer_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; @@ -11987,6 +11918,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_integer_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< int > *arg1 = (std::vector< int > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< int > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_integer_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t_get_allocator" "', argument " "1"" of type '" "std::vector< int > const *""'"); + } + arg1 = reinterpret_cast< std::vector< int > * >(argp1); + result = ((std::vector< int > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(static_cast< const std::vector< int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_integer_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; @@ -12079,49 +12032,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_integer_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< int > *arg1 = (std::vector< int > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_integer_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t_clear" "', argument " "1"" of type '" "std::vector< int > *""'"); - } - arg1 = reinterpret_cast< std::vector< int > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vector_integer_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< int > *arg1 = (std::vector< int > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< int > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_integer_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_integer_t_get_allocator" "', argument " "1"" of type '" "std::vector< int > const *""'"); - } - arg1 = reinterpret_cast< std::vector< int > * >(argp1); - result = ((std::vector< int > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(static_cast< const std::vector< int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vector_integer_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< int >::size_type arg1 ; @@ -12287,20 +12197,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_integer_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -12313,7 +12223,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t_erase(PyObject *self, PyObject *args } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -12373,14 +12283,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vector_integer_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -12399,7 +12309,7 @@ SWIGINTERN PyObject *_wrap_new_vector_integer_t(PyObject *self, PyObject *args) } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vector_integer_t__SWIG_1(self, args); @@ -12592,20 +12502,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_integer_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -12619,7 +12529,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t_resize(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -12753,20 +12663,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_integer_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -12785,7 +12695,7 @@ SWIGINTERN PyObject *_wrap_vector_integer_t_insert(PyObject *self, PyObject *arg } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< int,std::allocator< int > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<int,std::allocator< int > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -12988,6 +12898,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_longinteger_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< unsigned long >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_longinteger_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t_pop" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); + } + arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1); + try { + result = (std::vector< unsigned long >::value_type)std_vector_Sl_unsigned_SS_long_Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_longinteger_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; @@ -13042,17 +12980,20 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice____SWIG_0(PyObject *S std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; std::vector< unsigned long >::difference_type arg2 ; std::vector< unsigned long >::difference_type arg3 ; + std::vector< unsigned long,std::allocator< unsigned long > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOO:vector_longinteger_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_longinteger_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t___setslice__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); @@ -13068,8 +13009,19 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice____SWIG_0(PyObject *S SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_longinteger_t___setslice__" "', argument " "3"" of type '" "std::vector< unsigned long >::difference_type""'"); } arg3 = static_cast< std::vector< unsigned long >::difference_type >(val3); + { + std::vector<unsigned long,std::allocator< unsigned long > > *ptr = (std::vector<unsigned long,std::allocator< unsigned long > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_longinteger_t___setslice__" "', argument " "4"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_longinteger_t___setslice__" "', argument " "4"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); + } + arg4 = ptr; + } try { - std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< unsigned long,std::allocator< unsigned long > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -13079,8 +13031,10 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice____SWIG_0(PyObject *S } resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } @@ -13090,20 +13044,17 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice____SWIG_1(PyObject *S std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; std::vector< unsigned long >::difference_type arg2 ; std::vector< unsigned long >::difference_type arg3 ; - std::vector< unsigned long,std::allocator< unsigned long > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_longinteger_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOO:vector_longinteger_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t___setslice__" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); @@ -13119,19 +13070,8 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice____SWIG_1(PyObject *S SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_longinteger_t___setslice__" "', argument " "3"" of type '" "std::vector< unsigned long >::difference_type""'"); } arg3 = static_cast< std::vector< unsigned long >::difference_type >(val3); - { - std::vector< unsigned long,std::allocator< unsigned long > > *ptr = (std::vector< unsigned long,std::allocator< unsigned long > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_longinteger_t___setslice__" "', argument " "4"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_longinteger_t___setslice__" "', argument " "4"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); - } - arg4 = ptr; - } try { - std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< unsigned long,std::allocator< unsigned long > > const &)*arg4); + std_vector_Sl_unsigned_SS_long_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -13141,29 +13081,27 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice____SWIG_1(PyObject *S } resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13176,14 +13114,14 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice__(PyObject *self, PyO _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vector_longinteger_t___setslice____SWIG_0(self, args); + return _wrap_vector_longinteger_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13196,10 +13134,10 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice__(PyObject *self, PyO _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vector_longinteger_t___setslice____SWIG_1(self, args); + return _wrap_vector_longinteger_t___setslice____SWIG_0(self, args); } } } @@ -13209,8 +13147,8 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setslice__(PyObject *self, PyO fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_longinteger_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned long >::__setslice__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::difference_type)\n" - " std::vector< unsigned long >::__setslice__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::difference_type,std::vector< unsigned long,std::allocator< unsigned long > > const &)\n"); + " std::vector< unsigned long >::__setslice__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::difference_type,std::vector< unsigned long,std::allocator< unsigned long > > const &)\n" + " std::vector< unsigned long >::__setslice__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::difference_type)\n"); return 0; } @@ -13291,9 +13229,6 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___delitem____SWIG_0(PyObject *SW catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -13366,7 +13301,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setitem____SWIG_0(PyObject *SW arg2 = (PySliceObject *) obj1; } { - std::vector< unsigned long,std::allocator< unsigned long > > *ptr = (std::vector< unsigned long,std::allocator< unsigned long > > *)0; + std::vector<unsigned long,std::allocator< unsigned long > > *ptr = (std::vector<unsigned long,std::allocator< unsigned long > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_longinteger_t___setitem__" "', argument " "3"" of type '" "std::vector< unsigned long,std::allocator< unsigned long > > const &""'"); @@ -13472,20 +13407,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_longinteger_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13498,7 +13433,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___delitem__(PyObject *self, PyOb } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13558,20 +13493,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_longinteger_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13584,7 +13519,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___getitem__(PyObject *self, PyOb } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13654,20 +13589,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_longinteger_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13680,14 +13615,14 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setitem__(PyObject *self, PyOb } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vector_longinteger_t___setitem____SWIG_0(self, args); @@ -13697,7 +13632,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setitem__(PyObject *self, PyOb } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -13713,44 +13648,16 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t___setitem__(PyObject *self, PyOb return _wrap_vector_longinteger_t___setitem____SWIG_2(self, args); } } - } - } - -fail: - SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_longinteger_t___setitem__'.\n" - " Possible C/C++ prototypes are:\n" - " std::vector< unsigned long >::__setitem__(PySliceObject *,std::vector< unsigned long,std::allocator< unsigned long > > const &)\n" - " std::vector< unsigned long >::__setitem__(PySliceObject *)\n" - " std::vector< unsigned long >::__setitem__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::value_type const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_vector_longinteger_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< unsigned long >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_longinteger_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t_pop" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); - } - arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1); - try { - result = (std::vector< unsigned long >::value_type)std_vector_Sl_unsigned_SS_long_Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } } - resultobj = SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result)); - return resultobj; fail: - return NULL; + SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_longinteger_t___setitem__'.\n" + " Possible C/C++ prototypes are:\n" + " std::vector< unsigned long >::__setitem__(PySliceObject *,std::vector< unsigned long,std::allocator< unsigned long > > const &)\n" + " std::vector< unsigned long >::__setitem__(PySliceObject *)\n" + " std::vector< unsigned long >::__setitem__(std::vector< unsigned long >::difference_type,std::vector< unsigned long >::value_type const &)\n"); + return 0; } @@ -13808,7 +13715,7 @@ SWIGINTERN PyObject *_wrap_new_vector_longinteger_t__SWIG_1(PyObject *SWIGUNUSED if (!PyArg_ParseTuple(args,(char *)"O:new_vector_longinteger_t",&obj0)) SWIG_fail; { - std::vector< unsigned long,std::allocator< unsigned long > > *ptr = (std::vector< unsigned long,std::allocator< unsigned long > > *)0; + std::vector<unsigned long,std::allocator< unsigned long > > *ptr = (std::vector<unsigned long,std::allocator< unsigned long > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_longinteger_t" "', argument " "1"" of type '" "std::vector< unsigned long > const &""'"); @@ -13872,6 +13779,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_longinteger_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_longinteger_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t_clear" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); + } + arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_longinteger_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; @@ -13905,6 +13833,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_longinteger_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< unsigned long > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_longinteger_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t_get_allocator" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); + } + arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1); + result = ((std::vector< unsigned long > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< unsigned long >::allocator_type(static_cast< const std::vector< unsigned long >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_long_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_longinteger_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; @@ -13997,49 +13947,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_longinteger_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_longinteger_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t_clear" "', argument " "1"" of type '" "std::vector< unsigned long > *""'"); - } - arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vector_longinteger_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< unsigned long > *arg1 = (std::vector< unsigned long > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< unsigned long > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_longinteger_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_std__allocatorT_unsigned_long_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_longinteger_t_get_allocator" "', argument " "1"" of type '" "std::vector< unsigned long > const *""'"); - } - arg1 = reinterpret_cast< std::vector< unsigned long > * >(argp1); - result = ((std::vector< unsigned long > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< unsigned long >::allocator_type(static_cast< const std::vector< unsigned long >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_long_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vector_longinteger_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< unsigned long >::size_type arg1 ; @@ -14205,20 +14112,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_longinteger_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -14231,7 +14138,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t_erase(PyObject *self, PyObject * } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -14291,14 +14198,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vector_longinteger_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -14317,7 +14224,7 @@ SWIGINTERN PyObject *_wrap_new_vector_longinteger_t(PyObject *self, PyObject *ar } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vector_longinteger_t__SWIG_1(self, args); @@ -14510,20 +14417,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_longinteger_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -14537,7 +14444,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t_resize(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -14671,20 +14578,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_longinteger_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -14703,7 +14610,7 @@ SWIGINTERN PyObject *_wrap_vector_longinteger_t_insert(PyObject *self, PyObject } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< unsigned long,std::allocator< unsigned long > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<unsigned long,std::allocator< unsigned long > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -14906,6 +14813,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_complex_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< std::complex< double > >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_pop" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); + try { + result = std_vector_Sl_std_complex_Sl_double_Sg__Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_From_std_complex_Sl_double_Sg_(static_cast< std::complex<double> >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_complex_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; @@ -14960,17 +14895,20 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setslice____SWIG_0(PyObject *SWIGU std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; std::vector< std::complex< double > >::difference_type arg2 ; std::vector< std::complex< double > >::difference_type arg3 ; + std::vector< std::complex< double >,std::allocator< std::complex< double > > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOO:vector_complex_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_complex_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t___setslice__" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); @@ -14986,8 +14924,19 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setslice____SWIG_0(PyObject *SWIGU SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_complex_t___setslice__" "', argument " "3"" of type '" "std::vector< std::complex< double > >::difference_type""'"); } arg3 = static_cast< std::vector< std::complex< double > >::difference_type >(val3); + { + std::vector<std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector<std::complex< double >,std::allocator< std::complex< double > > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_complex_t___setslice__" "', argument " "4"" of type '" "std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_complex_t___setslice__" "', argument " "4"" of type '" "std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &""'"); + } + arg4 = ptr; + } try { - std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -14997,8 +14946,10 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setslice____SWIG_0(PyObject *SWIGU } resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } @@ -15008,20 +14959,17 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setslice____SWIG_1(PyObject *SWIGU std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; std::vector< std::complex< double > >::difference_type arg2 ; std::vector< std::complex< double > >::difference_type arg3 ; - std::vector< std::complex< double >,std::allocator< std::complex< double > > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_complex_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOO:vector_complex_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t___setslice__" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); @@ -15037,19 +14985,8 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setslice____SWIG_1(PyObject *SWIGU SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_complex_t___setslice__" "', argument " "3"" of type '" "std::vector< std::complex< double > >::difference_type""'"); } arg3 = static_cast< std::vector< std::complex< double > >::difference_type >(val3); - { - std::vector< std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector< std::complex< double >,std::allocator< std::complex< double > > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_complex_t___setslice__" "', argument " "4"" of type '" "std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_complex_t___setslice__" "', argument " "4"" of type '" "std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &""'"); - } - arg4 = ptr; - } try { - std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &)*arg4); + std_vector_Sl_std_complex_Sl_double_Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -15059,29 +14996,27 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setslice____SWIG_1(PyObject *SWIGU } resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } SWIGINTERN PyObject *_wrap_vector_complex_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15094,14 +15029,14 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setslice__(PyObject *self, PyObjec _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vector_complex_t___setslice____SWIG_0(self, args); + return _wrap_vector_complex_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15114,10 +15049,10 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setslice__(PyObject *self, PyObjec _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vector_complex_t___setslice____SWIG_1(self, args); + return _wrap_vector_complex_t___setslice____SWIG_0(self, args); } } } @@ -15127,8 +15062,8 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setslice__(PyObject *self, PyObjec fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_complex_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::complex< double > >::__setslice__(std::vector< std::complex< double > >::difference_type,std::vector< std::complex< double > >::difference_type)\n" - " std::vector< std::complex< double > >::__setslice__(std::vector< std::complex< double > >::difference_type,std::vector< std::complex< double > >::difference_type,std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &)\n"); + " std::vector< std::complex< double > >::__setslice__(std::vector< std::complex< double > >::difference_type,std::vector< std::complex< double > >::difference_type,std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &)\n" + " std::vector< std::complex< double > >::__setslice__(std::vector< std::complex< double > >::difference_type,std::vector< std::complex< double > >::difference_type)\n"); return 0; } @@ -15209,9 +15144,6 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___delitem____SWIG_0(PyObject *SWIGUN catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -15284,7 +15216,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setitem____SWIG_0(PyObject *SWIGUN arg2 = (PySliceObject *) obj1; } { - std::vector< std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector< std::complex< double >,std::allocator< std::complex< double > > > *)0; + std::vector<std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector<std::complex< double >,std::allocator< std::complex< double > > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_complex_t___setitem__" "', argument " "3"" of type '" "std::vector< std::complex< double >,std::allocator< std::complex< double > > > const &""'"); @@ -15390,20 +15322,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15416,7 +15348,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___delitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15476,20 +15408,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15502,7 +15434,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___getitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15572,20 +15504,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15598,14 +15530,14 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vector_complex_t___setitem____SWIG_0(self, args); @@ -15615,7 +15547,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -15644,34 +15576,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_complex_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< std::complex< double > >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_pop" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); - try { - result = std_vector_Sl_std_complex_Sl_double_Sg__Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_From_std_complex_Sl_double_Sg_(static_cast< std::complex<double> >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_complex_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; @@ -15726,7 +15630,7 @@ SWIGINTERN PyObject *_wrap_new_vector_complex_t__SWIG_1(PyObject *SWIGUNUSEDPARM if (!PyArg_ParseTuple(args,(char *)"O:new_vector_complex_t",&obj0)) SWIG_fail; { - std::vector< std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector< std::complex< double >,std::allocator< std::complex< double > > > *)0; + std::vector<std::complex< double >,std::allocator< std::complex< double > > > *ptr = (std::vector<std::complex< double >,std::allocator< std::complex< double > > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_complex_t" "', argument " "1"" of type '" "std::vector< std::complex< double > > const &""'"); @@ -15790,6 +15694,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_complex_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_clear" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_complex_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; @@ -15823,30 +15748,29 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_complex_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vector_complex_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; - std::vector< std::complex< double > >::iterator result; + SwigValueWrapper< std::allocator< std::complex< double > > > result; - if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_begin",&obj0)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_get_allocator",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_begin" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_get_allocator" "', argument " "1"" of type '" "std::vector< std::complex< double > > const *""'"); } arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); - result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::complex< double > >::iterator & >(result)), - swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); + result = ((std::vector< std::complex< double > > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< std::complex< double > >::allocator_type(static_cast< const std::vector< std::complex< double > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__complexT_double_t_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_vector_complex_t_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vector_complex_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; void *argp1 = 0 ; @@ -15854,13 +15778,13 @@ SWIGINTERN PyObject *_wrap_vector_complex_t_end(PyObject *SWIGUNUSEDPARM(self), PyObject * obj0 = 0 ; std::vector< std::complex< double > >::iterator result; - if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_end",&obj0)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_begin",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_end" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_begin" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); } arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); - result = (arg1)->end(); + result = (arg1)->begin(); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::complex< double > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -15869,45 +15793,22 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_complex_t_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< std::complex< double > >::reverse_iterator result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_rbegin",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_rbegin" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); - result = (arg1)->rbegin(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::complex< double > >::reverse_iterator & >(result)), - swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vector_complex_t_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vector_complex_t_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; - std::vector< std::complex< double > >::reverse_iterator result; + std::vector< std::complex< double > >::iterator result; - if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_rend",&obj0)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_end",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_rend" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_end" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); } arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); - result = (arg1)->rend(); - resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::complex< double > >::reverse_iterator & >(result)), + result = (arg1)->end(); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::complex< double > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: @@ -15915,43 +15816,46 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_complex_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vector_complex_t_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; + std::vector< std::complex< double > >::reverse_iterator result; - if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_clear",&obj0)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_rbegin",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_clear" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_rbegin" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); } arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); + result = (arg1)->rbegin(); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::complex< double > >::reverse_iterator & >(result)), + swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_vector_complex_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_vector_complex_t_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::complex< double > > *arg1 = (std::vector< std::complex< double > > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< std::complex< double > > > result; + std::vector< std::complex< double > >::reverse_iterator result; - if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_get_allocator",&obj0)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:vector_complex_t_rend",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__complexT_double_t_std__allocatorT_std__complexT_double_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_get_allocator" "', argument " "1"" of type '" "std::vector< std::complex< double > > const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_complex_t_rend" "', argument " "1"" of type '" "std::vector< std::complex< double > > *""'"); } arg1 = reinterpret_cast< std::vector< std::complex< double > > * >(argp1); - result = ((std::vector< std::complex< double > > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::complex< double > >::allocator_type(static_cast< const std::vector< std::complex< double > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__complexT_double_t_t, SWIG_POINTER_OWN | 0 ); + result = (arg1)->rend(); + resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::complex< double > >::reverse_iterator & >(result)), + swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; fail: return NULL; @@ -16123,20 +16027,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -16149,7 +16053,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t_erase(PyObject *self, PyObject *args } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -16209,14 +16113,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vector_complex_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -16235,7 +16139,7 @@ SWIGINTERN PyObject *_wrap_new_vector_complex_t(PyObject *self, PyObject *args) } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vector_complex_t__SWIG_1(self, args); @@ -16428,20 +16332,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -16455,7 +16359,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t_resize(PyObject *self, PyObject *arg } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -16589,20 +16493,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_complex_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -16621,7 +16525,7 @@ SWIGINTERN PyObject *_wrap_vector_complex_t_insert(PyObject *self, PyObject *arg } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::complex< double >,std::allocator< std::complex< double > > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::complex< double >,std::allocator< std::complex< double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -16824,6 +16728,34 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_string_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + std::vector< std::string >::value_type result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_string_t_pop",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t_pop" "', argument " "1"" of type '" "std::vector< std::string > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); + try { + result = std_vector_Sl_std_string_Sg__pop(arg1); + } + catch(std::out_of_range &_e) { + SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); + } + + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_string_t___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; @@ -16878,17 +16810,20 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setslice____SWIG_0(PyObject *SWIGUN std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::difference_type arg2 ; std::vector< std::string >::difference_type arg3 ; + std::vector< std::string,std::allocator< std::string > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; + int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; + PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOO:vector_string_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_string_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t___setslice__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); @@ -16904,8 +16839,19 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setslice____SWIG_0(PyObject *SWIGUN SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_string_t___setslice__" "', argument " "3"" of type '" "std::vector< std::string >::difference_type""'"); } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); + { + std::vector<std::string,std::allocator< std::string > > *ptr = (std::vector<std::string,std::allocator< std::string > > *)0; + res4 = swig::asptr(obj3, &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_string_t___setslice__" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string_t___setslice__" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + arg4 = ptr; + } try { - std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,arg2,arg3,(std::vector< std::string,std::allocator< std::string > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -16915,8 +16861,10 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setslice____SWIG_0(PyObject *SWIGUN } resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } @@ -16926,20 +16874,17 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setslice____SWIG_1(PyObject *SWIGUN std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::difference_type arg2 ; std::vector< std::string >::difference_type arg3 ; - std::vector< std::string,std::allocator< std::string > > *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; ptrdiff_t val2 ; int ecode2 = 0 ; ptrdiff_t val3 ; int ecode3 = 0 ; - int res4 = SWIG_OLDOBJ ; PyObject * obj0 = 0 ; PyObject * obj1 = 0 ; PyObject * obj2 = 0 ; - PyObject * obj3 = 0 ; - if (!PyArg_ParseTuple(args,(char *)"OOOO:vector_string_t___setslice__",&obj0,&obj1,&obj2,&obj3)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"OOO:vector_string_t___setslice__",&obj0,&obj1,&obj2)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t___setslice__" "', argument " "1"" of type '" "std::vector< std::string > *""'"); @@ -16955,19 +16900,8 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setslice____SWIG_1(PyObject *SWIGUN SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "vector_string_t___setslice__" "', argument " "3"" of type '" "std::vector< std::string >::difference_type""'"); } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); - { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res4 = swig::asptr(obj3, &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "vector_string_t___setslice__" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "vector_string_t___setslice__" "', argument " "4"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - arg4 = ptr; - } try { - std_vector_Sl_std_string_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::string,std::allocator< std::string > > const &)*arg4); + std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); @@ -16977,29 +16911,27 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setslice____SWIG_1(PyObject *SWIGUN } resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } SWIGINTERN PyObject *_wrap_vector_string_t___setslice__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17012,14 +16944,14 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setslice__(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (_v) { - return _wrap_vector_string_t___setslice____SWIG_0(self, args); + return _wrap_vector_string_t___setslice____SWIG_1(self, args); } } } } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17032,10 +16964,10 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setslice__(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (_v) { - int res = swig::asptr(argv[3], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[3], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { - return _wrap_vector_string_t___setslice____SWIG_1(self, args); + return _wrap_vector_string_t___setslice____SWIG_0(self, args); } } } @@ -17045,8 +16977,8 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setslice__(PyObject *self, PyObject fail: SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'vector_string_t___setslice__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::string >::__setslice__(std::vector< std::string >::difference_type,std::vector< std::string >::difference_type)\n" - " std::vector< std::string >::__setslice__(std::vector< std::string >::difference_type,std::vector< std::string >::difference_type,std::vector< std::string,std::allocator< std::string > > const &)\n"); + " std::vector< std::string >::__setslice__(std::vector< std::string >::difference_type,std::vector< std::string >::difference_type,std::vector< std::string,std::allocator< std::string > > const &)\n" + " std::vector< std::string >::__setslice__(std::vector< std::string >::difference_type,std::vector< std::string >::difference_type)\n"); return 0; } @@ -17127,9 +17059,6 @@ SWIGINTERN PyObject *_wrap_vector_string_t___delitem____SWIG_0(PyObject *SWIGUNU catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - catch(std::invalid_argument &_e) { - SWIG_exception_fail(SWIG_ValueError, (&_e)->what()); - } resultobj = SWIG_Py_Void(); return resultobj; @@ -17202,7 +17131,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setitem____SWIG_0(PyObject *SWIGUNU arg2 = (PySliceObject *) obj1; } { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + std::vector<std::string,std::allocator< std::string > > *ptr = (std::vector<std::string,std::allocator< std::string > > *)0; res3 = swig::asptr(obj2, &ptr); if (!SWIG_IsOK(res3)) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "vector_string_t___setitem__" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); @@ -17308,20 +17237,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t___delitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17334,7 +17263,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t___delitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17394,20 +17323,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17420,7 +17349,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t___getitem__(PyObject *self, PyObject } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17495,20 +17424,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t___setitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17521,14 +17450,14 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { _v = PySlice_Check(argv[1]); } if (_v) { - int res = swig::asptr(argv[2], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[2], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_vector_string_t___setitem____SWIG_0(self, args); @@ -17538,7 +17467,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t___setitem__(PyObject *self, PyObject } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -17565,34 +17494,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_string_t_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - std::vector< std::string >::value_type result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_string_t_pop",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t_pop" "', argument " "1"" of type '" "std::vector< std::string > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); - try { - result = std_vector_Sl_std_string_Sg__pop(arg1); - } - catch(std::out_of_range &_e) { - SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); - } - - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_vector_string_t_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; @@ -17652,7 +17553,7 @@ SWIGINTERN PyObject *_wrap_new_vector_string_t__SWIG_1(PyObject *SWIGUNUSEDPARM( if (!PyArg_ParseTuple(args,(char *)"O:new_vector_string_t",&obj0)) SWIG_fail; { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + std::vector<std::string,std::allocator< std::string > > *ptr = (std::vector<std::string,std::allocator< std::string > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_vector_string_t" "', argument " "1"" of type '" "std::vector< std::string > const &""'"); @@ -17716,6 +17617,27 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_string_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_string_t_clear",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t_clear" "', argument " "1"" of type '" "std::vector< std::string > *""'"); + } + arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); + (arg1)->clear(); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_string_t_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; @@ -17749,6 +17671,28 @@ fail: } +SWIGINTERN PyObject *_wrap_vector_string_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + SwigValueWrapper< std::allocator< std::string > > result; + + if (!PyArg_ParseTuple(args,(char *)"O:vector_string_t_get_allocator",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t_get_allocator" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); + } + arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); + result = ((std::vector< std::string > const *)arg1)->get_allocator(); + resultobj = SWIG_NewPointerObj((new std::vector< std::string >::allocator_type(static_cast< const std::vector< std::string >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_vector_string_t_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; @@ -17841,49 +17785,6 @@ fail: } -SWIGINTERN PyObject *_wrap_vector_string_t_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_string_t_clear",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t_clear" "', argument " "1"" of type '" "std::vector< std::string > *""'"); - } - arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); - (arg1)->clear(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_vector_string_t_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - SwigValueWrapper< std::allocator< std::string > > result; - - if (!PyArg_ParseTuple(args,(char *)"O:vector_string_t_get_allocator",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "vector_string_t_get_allocator" "', argument " "1"" of type '" "std::vector< std::string > const *""'"); - } - arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); - result = ((std::vector< std::string > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::string >::allocator_type(static_cast< const std::vector< std::string >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_new_vector_string_t__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; std::vector< std::string >::size_type arg1 ; @@ -18049,20 +17950,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t_erase(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -18075,7 +17976,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t_erase(PyObject *self, PyObject *args) } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -18140,14 +18041,14 @@ fail: SWIGINTERN PyObject *_wrap_new_vector_string_t(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -18166,7 +18067,7 @@ SWIGINTERN PyObject *_wrap_new_vector_string_t(PyObject *self, PyObject *args) { } if (argc == 1) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_new_vector_string_t__SWIG_1(self, args); @@ -18372,20 +18273,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t_resize(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -18399,7 +18300,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t_resize(PyObject *self, PyObject *args } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -18541,20 +18442,20 @@ fail: SWIGINTERN PyObject *_wrap_vector_string_t_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } if (argc == 3) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -18571,7 +18472,7 @@ SWIGINTERN PyObject *_wrap_vector_string_t_insert(PyObject *self, PyObject *args } if (argc == 4) { int _v; - int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { swig::SwigPyIterator *iter = 0; @@ -19002,7 +18903,7 @@ SWIGINTERN PyObject *_wrap_IMinimizer_getValueOfVariablesAtMinimum(PyObject *SWI } arg1 = reinterpret_cast< IMinimizer * >(argp1); result = ((IMinimizer const *)arg1)->getValueOfVariablesAtMinimum(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -19055,7 +18956,7 @@ SWIGINTERN PyObject *_wrap_IMinimizer_getErrorOfVariables(PyObject *SWIGUNUSEDPA } arg1 = reinterpret_cast< IMinimizer * >(argp1); result = ((IMinimizer const *)arg1)->getErrorOfVariables(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -19171,14 +19072,14 @@ fail: SWIGINTERN PyObject *_wrap_IMinimizer_getOptions(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -19482,14 +19383,14 @@ fail: SWIGINTERN PyObject *_wrap_IChiSquaredModule_setChiSquaredFunction(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -19575,14 +19476,14 @@ fail: SWIGINTERN PyObject *_wrap_IChiSquaredModule_getIntensityNormalizer(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -20651,14 +20552,14 @@ fail: SWIGINTERN PyObject *_wrap_new_IntensityNormalizer(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -20916,14 +20817,14 @@ fail: SWIGINTERN PyObject *_wrap_new_IntensityScaleAndShiftNormalizer(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -21202,14 +21103,14 @@ fail: SWIGINTERN PyObject *_wrap_ISquaredFunction_calculateSquaredError(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -21434,14 +21335,14 @@ fail: SWIGINTERN PyObject *_wrap_SquaredFunctionDefault_calculateSquaredError(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -22057,14 +21958,14 @@ fail: SWIGINTERN PyObject *_wrap_new_ChiSquaredModule(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -22333,14 +22234,14 @@ fail: SWIGINTERN PyObject *_wrap_new_FitObject(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -22634,14 +22535,14 @@ fail: SWIGINTERN PyObject *_wrap_FitObject_prepareFitElements(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -23134,14 +23035,14 @@ fail: SWIGINTERN PyObject *_wrap_new_FitParameter(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[6] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -23666,14 +23567,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuite_addSimulationAndRealData(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -23941,14 +23842,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuite_addFitParameter(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[6] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 5) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -24290,14 +24191,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuite_setMinimizer(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -24493,7 +24394,7 @@ SWIGINTERN PyObject *_wrap_FitSuite_setParametersFixed(PyObject *SWIGUNUSEDPARM( } arg1 = reinterpret_cast< FitSuite * >(argp1); { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + std::vector<std::string,std::allocator< std::string > > *ptr = (std::vector<std::string,std::allocator< std::string > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FitSuite_setParametersFixed" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); @@ -24615,14 +24516,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuite_getRealData(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -24714,14 +24615,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuite_getSimulationData(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -24813,14 +24714,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuite_getChiSquaredMap(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -25151,14 +25052,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuite_getRealOutputData(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -25250,14 +25151,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuite_getSimulationOutputData(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -25349,14 +25250,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuite_getChiSquaredOutputData(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -25535,14 +25436,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuiteObjects_add(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -25727,14 +25628,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuiteObjects_getRealData(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -25826,14 +25727,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuiteObjects_getSimulationData(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -25925,14 +25826,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuiteObjects_getChiSquaredMap(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -26301,14 +26202,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuiteParameters_addParameter(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[7] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 6) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -26463,14 +26364,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuiteParameters_getParameter(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -26557,7 +26458,7 @@ SWIGINTERN PyObject *_wrap_FitSuiteParameters_setValues__SWIG_1(PyObject *SWIGUN } arg1 = reinterpret_cast< FitSuiteParameters * >(argp1); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FitSuiteParameters_setValues" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -26578,14 +26479,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuiteParameters_setValues(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -26609,7 +26510,7 @@ SWIGINTERN PyObject *_wrap_FitSuiteParameters_setValues(PyObject *self, PyObject int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FitSuiteParameters, 0); _v = SWIG_CheckState(res); if (_v) { - int res = swig::asptr(argv[1], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[1], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { return _wrap_FitSuiteParameters_setValues__SWIG_1(self, args); @@ -26641,7 +26542,7 @@ SWIGINTERN PyObject *_wrap_FitSuiteParameters_getValues(PyObject *SWIGUNUSEDPARM } arg1 = reinterpret_cast< FitSuiteParameters * >(argp1); result = ((FitSuiteParameters const *)arg1)->getValues(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -26665,7 +26566,7 @@ SWIGINTERN PyObject *_wrap_FitSuiteParameters_setErrors(PyObject *SWIGUNUSEDPARM } arg1 = reinterpret_cast< FitSuiteParameters * >(argp1); { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FitSuiteParameters_setErrors" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -26700,7 +26601,7 @@ SWIGINTERN PyObject *_wrap_FitSuiteParameters_getErrors(PyObject *SWIGUNUSEDPARM } arg1 = reinterpret_cast< FitSuiteParameters * >(argp1); result = ((FitSuiteParameters const *)arg1)->getErrors(); - resultobj = swig::from(static_cast< std::vector< double,std::allocator< double > > >(result)); + resultobj = swig::from(static_cast< std::vector<double,std::allocator< double > > >(result)); return resultobj; fail: return NULL; @@ -26804,14 +26705,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuiteParameters_begin(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -26888,14 +26789,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuiteParameters_end(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -27051,14 +26952,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuiteParameters_valuesAreDifferent(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -27190,7 +27091,7 @@ SWIGINTERN PyObject *_wrap_FitSuiteParameters_setParametersFixed(PyObject *SWIGU } arg1 = reinterpret_cast< FitSuiteParameters * >(argp1); { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + std::vector<std::string,std::allocator< std::string > > *ptr = (std::vector<std::string,std::allocator< std::string > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FitSuiteParameters_setParametersFixed" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); @@ -27280,14 +27181,14 @@ fail: SWIGINTERN PyObject *_wrap_FitSuiteParameters___getitem__(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -27535,14 +27436,14 @@ fail: SWIGINTERN PyObject *_wrap_sinc(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -27740,14 +27641,14 @@ fail: SWIGINTERN PyObject *_wrap_Bessel_J0(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -27810,14 +27711,14 @@ fail: SWIGINTERN PyObject *_wrap_Bessel_J1(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -27880,14 +27781,14 @@ fail: SWIGINTERN PyObject *_wrap_Bessel_J1c(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[2] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 1) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -27988,7 +27889,7 @@ SWIGINTERN PyObject *_wrap_FastFourierTransform__SWIG_1(PyObject *SWIGUNUSEDPARM if (!PyArg_ParseTuple(args,(char *)"OO:FastFourierTransform",&obj0,&obj1)) SWIG_fail; { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FastFourierTransform" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -28014,14 +27915,14 @@ fail: SWIGINTERN PyObject *_wrap_FastFourierTransform(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[3] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 2) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -28041,7 +27942,7 @@ SWIGINTERN PyObject *_wrap_FastFourierTransform(PyObject *self, PyObject *args) } if (argc == 2) { int _v; - int res = swig::asptr(argv[0], (std::vector< double,std::allocator< double > >**)(0)); + int res = swig::asptr(argv[0], (std::vector<double,std::allocator< double > >**)(0)); _v = SWIG_CheckState(res); if (_v) { { @@ -28075,7 +27976,7 @@ SWIGINTERN PyObject *_wrap_ConvolveFFT(PyObject *SWIGUNUSEDPARM(self), PyObject if (!PyArg_ParseTuple(args,(char *)"OO:ConvolveFFT",&obj0,&obj1)) SWIG_fail; { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res1 = swig::asptr(obj0, &ptr); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ConvolveFFT" "', argument " "1"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -28086,7 +27987,7 @@ SWIGINTERN PyObject *_wrap_ConvolveFFT(PyObject *SWIGUNUSEDPARM(self), PyObject arg1 = ptr; } { - std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; + std::vector<double,std::allocator< double > > *ptr = (std::vector<double,std::allocator< double > > *)0; res2 = swig::asptr(obj1, &ptr); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ConvolveFFT" "', argument " "2"" of type '" "std::vector< double,std::allocator< double > > const &""'"); @@ -28605,14 +28506,14 @@ fail: SWIGINTERN PyObject *_wrap_MinimizerOptions_setValue(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -28830,14 +28731,14 @@ fail: SWIGINTERN PyObject *_wrap_MinimizerOptions_getValue(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -29052,14 +28953,14 @@ fail: SWIGINTERN PyObject *_wrap_MinimizerOptions_addValue(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -29441,14 +29342,14 @@ fail: SWIGINTERN PyObject *_wrap_MinimizerFactory_createMinimizer(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -29699,14 +29600,14 @@ fail: SWIGINTERN PyObject *_wrap_new_FitStrategyAdjustMinimizer(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[4] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 3) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -30016,14 +29917,14 @@ fail: SWIGINTERN PyObject *_wrap_FitStrategyAdjustMinimizer_setMinimizer(PyObject *self, PyObject *args) { - Py_ssize_t argc; + int argc; PyObject *argv[5] = { 0 }; - Py_ssize_t ii; + int ii; if (!PyTuple_Check(args)) SWIG_fail; - argc = args ? PyObject_Length(args) : 0; + argc = args ? (int)PyObject_Length(args) : 0; for (ii = 0; (ii < 4) && (ii < argc); ii++) { argv[ii] = PyTuple_GET_ITEM(args,ii); } @@ -30188,10 +30089,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vdouble1d_t___nonzero__", _wrap_vdouble1d_t___nonzero__, METH_VARARGS, (char *)"vdouble1d_t___nonzero__(vdouble1d_t self) -> bool"}, { (char *)"vdouble1d_t___bool__", _wrap_vdouble1d_t___bool__, METH_VARARGS, (char *)"vdouble1d_t___bool__(vdouble1d_t self) -> bool"}, { (char *)"vdouble1d_t___len__", _wrap_vdouble1d_t___len__, METH_VARARGS, (char *)"vdouble1d_t___len__(vdouble1d_t self) -> std::vector< double >::size_type"}, + { (char *)"vdouble1d_t_pop", _wrap_vdouble1d_t_pop, METH_VARARGS, (char *)"vdouble1d_t_pop(vdouble1d_t self) -> std::vector< double >::value_type"}, { (char *)"vdouble1d_t___getslice__", _wrap_vdouble1d_t___getslice__, METH_VARARGS, (char *)"vdouble1d_t___getslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j) -> vdouble1d_t"}, { (char *)"vdouble1d_t___setslice__", _wrap_vdouble1d_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< double >::difference_type i, std::vector< double >::difference_type j)\n" - "vdouble1d_t___setslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j, vdouble1d_t v)\n" + "__setslice__(std::vector< double >::difference_type i, std::vector< double >::difference_type j, vdouble1d_t v)\n" + "vdouble1d_t___setslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)\n" ""}, { (char *)"vdouble1d_t___delslice__", _wrap_vdouble1d_t___delslice__, METH_VARARGS, (char *)"vdouble1d_t___delslice__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::difference_type j)"}, { (char *)"vdouble1d_t___delitem__", _wrap_vdouble1d_t___delitem__, METH_VARARGS, (char *)"\n" @@ -30207,17 +30109,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vdouble1d_t___setitem__(vdouble1d_t self, std::vector< double >::difference_type i, std::vector< double >::value_type const & x)\n" ""}, - { (char *)"vdouble1d_t_pop", _wrap_vdouble1d_t_pop, METH_VARARGS, (char *)"vdouble1d_t_pop(vdouble1d_t self) -> std::vector< double >::value_type"}, { (char *)"vdouble1d_t_append", _wrap_vdouble1d_t_append, METH_VARARGS, (char *)"vdouble1d_t_append(vdouble1d_t self, std::vector< double >::value_type const & x)"}, { (char *)"vdouble1d_t_empty", _wrap_vdouble1d_t_empty, METH_VARARGS, (char *)"vdouble1d_t_empty(vdouble1d_t self) -> bool"}, { (char *)"vdouble1d_t_size", _wrap_vdouble1d_t_size, METH_VARARGS, (char *)"vdouble1d_t_size(vdouble1d_t self) -> std::vector< double >::size_type"}, + { (char *)"vdouble1d_t_clear", _wrap_vdouble1d_t_clear, METH_VARARGS, (char *)"vdouble1d_t_clear(vdouble1d_t self)"}, { (char *)"vdouble1d_t_swap", _wrap_vdouble1d_t_swap, METH_VARARGS, (char *)"vdouble1d_t_swap(vdouble1d_t self, vdouble1d_t v)"}, + { (char *)"vdouble1d_t_get_allocator", _wrap_vdouble1d_t_get_allocator, METH_VARARGS, (char *)"vdouble1d_t_get_allocator(vdouble1d_t self) -> std::vector< double >::allocator_type"}, { (char *)"vdouble1d_t_begin", _wrap_vdouble1d_t_begin, METH_VARARGS, (char *)"vdouble1d_t_begin(vdouble1d_t self) -> std::vector< double >::iterator"}, { (char *)"vdouble1d_t_end", _wrap_vdouble1d_t_end, METH_VARARGS, (char *)"vdouble1d_t_end(vdouble1d_t self) -> std::vector< double >::iterator"}, { (char *)"vdouble1d_t_rbegin", _wrap_vdouble1d_t_rbegin, METH_VARARGS, (char *)"vdouble1d_t_rbegin(vdouble1d_t self) -> std::vector< double >::reverse_iterator"}, { (char *)"vdouble1d_t_rend", _wrap_vdouble1d_t_rend, METH_VARARGS, (char *)"vdouble1d_t_rend(vdouble1d_t self) -> std::vector< double >::reverse_iterator"}, - { (char *)"vdouble1d_t_clear", _wrap_vdouble1d_t_clear, METH_VARARGS, (char *)"vdouble1d_t_clear(vdouble1d_t self)"}, - { (char *)"vdouble1d_t_get_allocator", _wrap_vdouble1d_t_get_allocator, METH_VARARGS, (char *)"vdouble1d_t_get_allocator(vdouble1d_t self) -> std::vector< double >::allocator_type"}, { (char *)"vdouble1d_t_pop_back", _wrap_vdouble1d_t_pop_back, METH_VARARGS, (char *)"vdouble1d_t_pop_back(vdouble1d_t self)"}, { (char *)"vdouble1d_t_erase", _wrap_vdouble1d_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< double >::iterator pos) -> std::vector< double >::iterator\n" @@ -30249,10 +30150,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vdouble2d_t___nonzero__", _wrap_vdouble2d_t___nonzero__, METH_VARARGS, (char *)"vdouble2d_t___nonzero__(vdouble2d_t self) -> bool"}, { (char *)"vdouble2d_t___bool__", _wrap_vdouble2d_t___bool__, METH_VARARGS, (char *)"vdouble2d_t___bool__(vdouble2d_t self) -> bool"}, { (char *)"vdouble2d_t___len__", _wrap_vdouble2d_t___len__, METH_VARARGS, (char *)"vdouble2d_t___len__(vdouble2d_t self) -> std::vector< std::vector< double > >::size_type"}, + { (char *)"vdouble2d_t_pop", _wrap_vdouble2d_t_pop, METH_VARARGS, (char *)"vdouble2d_t_pop(vdouble2d_t self) -> vdouble1d_t"}, { (char *)"vdouble2d_t___getslice__", _wrap_vdouble2d_t___getslice__, METH_VARARGS, (char *)"vdouble2d_t___getslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j) -> vdouble2d_t"}, { (char *)"vdouble2d_t___setslice__", _wrap_vdouble2d_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j)\n" - "vdouble2d_t___setslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j, vdouble2d_t v)\n" + "__setslice__(std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j, vdouble2d_t v)\n" + "vdouble2d_t___setslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j)\n" ""}, { (char *)"vdouble2d_t___delslice__", _wrap_vdouble2d_t___delslice__, METH_VARARGS, (char *)"vdouble2d_t___delslice__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, std::vector< std::vector< double > >::difference_type j)"}, { (char *)"vdouble2d_t___delitem__", _wrap_vdouble2d_t___delitem__, METH_VARARGS, (char *)"\n" @@ -30268,17 +30170,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vdouble2d_t___setitem__(vdouble2d_t self, std::vector< std::vector< double > >::difference_type i, vdouble1d_t x)\n" ""}, - { (char *)"vdouble2d_t_pop", _wrap_vdouble2d_t_pop, METH_VARARGS, (char *)"vdouble2d_t_pop(vdouble2d_t self) -> vdouble1d_t"}, { (char *)"vdouble2d_t_append", _wrap_vdouble2d_t_append, METH_VARARGS, (char *)"vdouble2d_t_append(vdouble2d_t self, vdouble1d_t x)"}, { (char *)"vdouble2d_t_empty", _wrap_vdouble2d_t_empty, METH_VARARGS, (char *)"vdouble2d_t_empty(vdouble2d_t self) -> bool"}, { (char *)"vdouble2d_t_size", _wrap_vdouble2d_t_size, METH_VARARGS, (char *)"vdouble2d_t_size(vdouble2d_t self) -> std::vector< std::vector< double > >::size_type"}, + { (char *)"vdouble2d_t_clear", _wrap_vdouble2d_t_clear, METH_VARARGS, (char *)"vdouble2d_t_clear(vdouble2d_t self)"}, { (char *)"vdouble2d_t_swap", _wrap_vdouble2d_t_swap, METH_VARARGS, (char *)"vdouble2d_t_swap(vdouble2d_t self, vdouble2d_t v)"}, + { (char *)"vdouble2d_t_get_allocator", _wrap_vdouble2d_t_get_allocator, METH_VARARGS, (char *)"vdouble2d_t_get_allocator(vdouble2d_t self) -> std::vector< std::vector< double > >::allocator_type"}, { (char *)"vdouble2d_t_begin", _wrap_vdouble2d_t_begin, METH_VARARGS, (char *)"vdouble2d_t_begin(vdouble2d_t self) -> std::vector< std::vector< double > >::iterator"}, { (char *)"vdouble2d_t_end", _wrap_vdouble2d_t_end, METH_VARARGS, (char *)"vdouble2d_t_end(vdouble2d_t self) -> std::vector< std::vector< double > >::iterator"}, { (char *)"vdouble2d_t_rbegin", _wrap_vdouble2d_t_rbegin, METH_VARARGS, (char *)"vdouble2d_t_rbegin(vdouble2d_t self) -> std::vector< std::vector< double > >::reverse_iterator"}, { (char *)"vdouble2d_t_rend", _wrap_vdouble2d_t_rend, METH_VARARGS, (char *)"vdouble2d_t_rend(vdouble2d_t self) -> std::vector< std::vector< double > >::reverse_iterator"}, - { (char *)"vdouble2d_t_clear", _wrap_vdouble2d_t_clear, METH_VARARGS, (char *)"vdouble2d_t_clear(vdouble2d_t self)"}, - { (char *)"vdouble2d_t_get_allocator", _wrap_vdouble2d_t_get_allocator, METH_VARARGS, (char *)"vdouble2d_t_get_allocator(vdouble2d_t self) -> std::vector< std::vector< double > >::allocator_type"}, { (char *)"vdouble2d_t_pop_back", _wrap_vdouble2d_t_pop_back, METH_VARARGS, (char *)"vdouble2d_t_pop_back(vdouble2d_t self)"}, { (char *)"vdouble2d_t_erase", _wrap_vdouble2d_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< std::vector< double > >::iterator pos) -> std::vector< std::vector< double > >::iterator\n" @@ -30310,10 +30211,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vector_integer_t___nonzero__", _wrap_vector_integer_t___nonzero__, METH_VARARGS, (char *)"vector_integer_t___nonzero__(vector_integer_t self) -> bool"}, { (char *)"vector_integer_t___bool__", _wrap_vector_integer_t___bool__, METH_VARARGS, (char *)"vector_integer_t___bool__(vector_integer_t self) -> bool"}, { (char *)"vector_integer_t___len__", _wrap_vector_integer_t___len__, METH_VARARGS, (char *)"vector_integer_t___len__(vector_integer_t self) -> std::vector< int >::size_type"}, + { (char *)"vector_integer_t_pop", _wrap_vector_integer_t_pop, METH_VARARGS, (char *)"vector_integer_t_pop(vector_integer_t self) -> std::vector< int >::value_type"}, { (char *)"vector_integer_t___getslice__", _wrap_vector_integer_t___getslice__, METH_VARARGS, (char *)"vector_integer_t___getslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j) -> vector_integer_t"}, { (char *)"vector_integer_t___setslice__", _wrap_vector_integer_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< int >::difference_type i, std::vector< int >::difference_type j)\n" - "vector_integer_t___setslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j, vector_integer_t v)\n" + "__setslice__(std::vector< int >::difference_type i, std::vector< int >::difference_type j, vector_integer_t v)\n" + "vector_integer_t___setslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)\n" ""}, { (char *)"vector_integer_t___delslice__", _wrap_vector_integer_t___delslice__, METH_VARARGS, (char *)"vector_integer_t___delslice__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::difference_type j)"}, { (char *)"vector_integer_t___delitem__", _wrap_vector_integer_t___delitem__, METH_VARARGS, (char *)"\n" @@ -30329,17 +30231,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vector_integer_t___setitem__(vector_integer_t self, std::vector< int >::difference_type i, std::vector< int >::value_type const & x)\n" ""}, - { (char *)"vector_integer_t_pop", _wrap_vector_integer_t_pop, METH_VARARGS, (char *)"vector_integer_t_pop(vector_integer_t self) -> std::vector< int >::value_type"}, { (char *)"vector_integer_t_append", _wrap_vector_integer_t_append, METH_VARARGS, (char *)"vector_integer_t_append(vector_integer_t self, std::vector< int >::value_type const & x)"}, { (char *)"vector_integer_t_empty", _wrap_vector_integer_t_empty, METH_VARARGS, (char *)"vector_integer_t_empty(vector_integer_t self) -> bool"}, { (char *)"vector_integer_t_size", _wrap_vector_integer_t_size, METH_VARARGS, (char *)"vector_integer_t_size(vector_integer_t self) -> std::vector< int >::size_type"}, + { (char *)"vector_integer_t_clear", _wrap_vector_integer_t_clear, METH_VARARGS, (char *)"vector_integer_t_clear(vector_integer_t self)"}, { (char *)"vector_integer_t_swap", _wrap_vector_integer_t_swap, METH_VARARGS, (char *)"vector_integer_t_swap(vector_integer_t self, vector_integer_t v)"}, + { (char *)"vector_integer_t_get_allocator", _wrap_vector_integer_t_get_allocator, METH_VARARGS, (char *)"vector_integer_t_get_allocator(vector_integer_t self) -> std::vector< int >::allocator_type"}, { (char *)"vector_integer_t_begin", _wrap_vector_integer_t_begin, METH_VARARGS, (char *)"vector_integer_t_begin(vector_integer_t self) -> std::vector< int >::iterator"}, { (char *)"vector_integer_t_end", _wrap_vector_integer_t_end, METH_VARARGS, (char *)"vector_integer_t_end(vector_integer_t self) -> std::vector< int >::iterator"}, { (char *)"vector_integer_t_rbegin", _wrap_vector_integer_t_rbegin, METH_VARARGS, (char *)"vector_integer_t_rbegin(vector_integer_t self) -> std::vector< int >::reverse_iterator"}, { (char *)"vector_integer_t_rend", _wrap_vector_integer_t_rend, METH_VARARGS, (char *)"vector_integer_t_rend(vector_integer_t self) -> std::vector< int >::reverse_iterator"}, - { (char *)"vector_integer_t_clear", _wrap_vector_integer_t_clear, METH_VARARGS, (char *)"vector_integer_t_clear(vector_integer_t self)"}, - { (char *)"vector_integer_t_get_allocator", _wrap_vector_integer_t_get_allocator, METH_VARARGS, (char *)"vector_integer_t_get_allocator(vector_integer_t self) -> std::vector< int >::allocator_type"}, { (char *)"vector_integer_t_pop_back", _wrap_vector_integer_t_pop_back, METH_VARARGS, (char *)"vector_integer_t_pop_back(vector_integer_t self)"}, { (char *)"vector_integer_t_erase", _wrap_vector_integer_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< int >::iterator pos) -> std::vector< int >::iterator\n" @@ -30371,10 +30272,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vector_longinteger_t___nonzero__", _wrap_vector_longinteger_t___nonzero__, METH_VARARGS, (char *)"vector_longinteger_t___nonzero__(vector_longinteger_t self) -> bool"}, { (char *)"vector_longinteger_t___bool__", _wrap_vector_longinteger_t___bool__, METH_VARARGS, (char *)"vector_longinteger_t___bool__(vector_longinteger_t self) -> bool"}, { (char *)"vector_longinteger_t___len__", _wrap_vector_longinteger_t___len__, METH_VARARGS, (char *)"vector_longinteger_t___len__(vector_longinteger_t self) -> std::vector< unsigned long >::size_type"}, + { (char *)"vector_longinteger_t_pop", _wrap_vector_longinteger_t_pop, METH_VARARGS, (char *)"vector_longinteger_t_pop(vector_longinteger_t self) -> std::vector< unsigned long >::value_type"}, { (char *)"vector_longinteger_t___getslice__", _wrap_vector_longinteger_t___getslice__, METH_VARARGS, (char *)"vector_longinteger_t___getslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j) -> vector_longinteger_t"}, { (char *)"vector_longinteger_t___setslice__", _wrap_vector_longinteger_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j)\n" - "vector_longinteger_t___setslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j, vector_longinteger_t v)\n" + "__setslice__(std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j, vector_longinteger_t v)\n" + "vector_longinteger_t___setslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j)\n" ""}, { (char *)"vector_longinteger_t___delslice__", _wrap_vector_longinteger_t___delslice__, METH_VARARGS, (char *)"vector_longinteger_t___delslice__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::difference_type j)"}, { (char *)"vector_longinteger_t___delitem__", _wrap_vector_longinteger_t___delitem__, METH_VARARGS, (char *)"\n" @@ -30390,17 +30292,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vector_longinteger_t___setitem__(vector_longinteger_t self, std::vector< unsigned long >::difference_type i, std::vector< unsigned long >::value_type const & x)\n" ""}, - { (char *)"vector_longinteger_t_pop", _wrap_vector_longinteger_t_pop, METH_VARARGS, (char *)"vector_longinteger_t_pop(vector_longinteger_t self) -> std::vector< unsigned long >::value_type"}, { (char *)"vector_longinteger_t_append", _wrap_vector_longinteger_t_append, METH_VARARGS, (char *)"vector_longinteger_t_append(vector_longinteger_t self, std::vector< unsigned long >::value_type const & x)"}, { (char *)"vector_longinteger_t_empty", _wrap_vector_longinteger_t_empty, METH_VARARGS, (char *)"vector_longinteger_t_empty(vector_longinteger_t self) -> bool"}, { (char *)"vector_longinteger_t_size", _wrap_vector_longinteger_t_size, METH_VARARGS, (char *)"vector_longinteger_t_size(vector_longinteger_t self) -> std::vector< unsigned long >::size_type"}, + { (char *)"vector_longinteger_t_clear", _wrap_vector_longinteger_t_clear, METH_VARARGS, (char *)"vector_longinteger_t_clear(vector_longinteger_t self)"}, { (char *)"vector_longinteger_t_swap", _wrap_vector_longinteger_t_swap, METH_VARARGS, (char *)"vector_longinteger_t_swap(vector_longinteger_t self, vector_longinteger_t v)"}, + { (char *)"vector_longinteger_t_get_allocator", _wrap_vector_longinteger_t_get_allocator, METH_VARARGS, (char *)"vector_longinteger_t_get_allocator(vector_longinteger_t self) -> std::vector< unsigned long >::allocator_type"}, { (char *)"vector_longinteger_t_begin", _wrap_vector_longinteger_t_begin, METH_VARARGS, (char *)"vector_longinteger_t_begin(vector_longinteger_t self) -> std::vector< unsigned long >::iterator"}, { (char *)"vector_longinteger_t_end", _wrap_vector_longinteger_t_end, METH_VARARGS, (char *)"vector_longinteger_t_end(vector_longinteger_t self) -> std::vector< unsigned long >::iterator"}, { (char *)"vector_longinteger_t_rbegin", _wrap_vector_longinteger_t_rbegin, METH_VARARGS, (char *)"vector_longinteger_t_rbegin(vector_longinteger_t self) -> std::vector< unsigned long >::reverse_iterator"}, { (char *)"vector_longinteger_t_rend", _wrap_vector_longinteger_t_rend, METH_VARARGS, (char *)"vector_longinteger_t_rend(vector_longinteger_t self) -> std::vector< unsigned long >::reverse_iterator"}, - { (char *)"vector_longinteger_t_clear", _wrap_vector_longinteger_t_clear, METH_VARARGS, (char *)"vector_longinteger_t_clear(vector_longinteger_t self)"}, - { (char *)"vector_longinteger_t_get_allocator", _wrap_vector_longinteger_t_get_allocator, METH_VARARGS, (char *)"vector_longinteger_t_get_allocator(vector_longinteger_t self) -> std::vector< unsigned long >::allocator_type"}, { (char *)"vector_longinteger_t_pop_back", _wrap_vector_longinteger_t_pop_back, METH_VARARGS, (char *)"vector_longinteger_t_pop_back(vector_longinteger_t self)"}, { (char *)"vector_longinteger_t_erase", _wrap_vector_longinteger_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< unsigned long >::iterator pos) -> std::vector< unsigned long >::iterator\n" @@ -30432,10 +30333,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vector_complex_t___nonzero__", _wrap_vector_complex_t___nonzero__, METH_VARARGS, (char *)"vector_complex_t___nonzero__(vector_complex_t self) -> bool"}, { (char *)"vector_complex_t___bool__", _wrap_vector_complex_t___bool__, METH_VARARGS, (char *)"vector_complex_t___bool__(vector_complex_t self) -> bool"}, { (char *)"vector_complex_t___len__", _wrap_vector_complex_t___len__, METH_VARARGS, (char *)"vector_complex_t___len__(vector_complex_t self) -> std::vector< std::complex< double > >::size_type"}, + { (char *)"vector_complex_t_pop", _wrap_vector_complex_t_pop, METH_VARARGS, (char *)"vector_complex_t_pop(vector_complex_t self) -> std::vector< std::complex< double > >::value_type"}, { (char *)"vector_complex_t___getslice__", _wrap_vector_complex_t___getslice__, METH_VARARGS, (char *)"vector_complex_t___getslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j) -> vector_complex_t"}, { (char *)"vector_complex_t___setslice__", _wrap_vector_complex_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j)\n" - "vector_complex_t___setslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j, vector_complex_t v)\n" + "__setslice__(std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j, vector_complex_t v)\n" + "vector_complex_t___setslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j)\n" ""}, { (char *)"vector_complex_t___delslice__", _wrap_vector_complex_t___delslice__, METH_VARARGS, (char *)"vector_complex_t___delslice__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::difference_type j)"}, { (char *)"vector_complex_t___delitem__", _wrap_vector_complex_t___delitem__, METH_VARARGS, (char *)"\n" @@ -30451,17 +30353,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vector_complex_t___setitem__(vector_complex_t self, std::vector< std::complex< double > >::difference_type i, std::vector< std::complex< double > >::value_type const & x)\n" ""}, - { (char *)"vector_complex_t_pop", _wrap_vector_complex_t_pop, METH_VARARGS, (char *)"vector_complex_t_pop(vector_complex_t self) -> std::vector< std::complex< double > >::value_type"}, { (char *)"vector_complex_t_append", _wrap_vector_complex_t_append, METH_VARARGS, (char *)"vector_complex_t_append(vector_complex_t self, std::vector< std::complex< double > >::value_type const & x)"}, { (char *)"vector_complex_t_empty", _wrap_vector_complex_t_empty, METH_VARARGS, (char *)"vector_complex_t_empty(vector_complex_t self) -> bool"}, { (char *)"vector_complex_t_size", _wrap_vector_complex_t_size, METH_VARARGS, (char *)"vector_complex_t_size(vector_complex_t self) -> std::vector< std::complex< double > >::size_type"}, + { (char *)"vector_complex_t_clear", _wrap_vector_complex_t_clear, METH_VARARGS, (char *)"vector_complex_t_clear(vector_complex_t self)"}, { (char *)"vector_complex_t_swap", _wrap_vector_complex_t_swap, METH_VARARGS, (char *)"vector_complex_t_swap(vector_complex_t self, vector_complex_t v)"}, + { (char *)"vector_complex_t_get_allocator", _wrap_vector_complex_t_get_allocator, METH_VARARGS, (char *)"vector_complex_t_get_allocator(vector_complex_t self) -> std::vector< std::complex< double > >::allocator_type"}, { (char *)"vector_complex_t_begin", _wrap_vector_complex_t_begin, METH_VARARGS, (char *)"vector_complex_t_begin(vector_complex_t self) -> std::vector< std::complex< double > >::iterator"}, { (char *)"vector_complex_t_end", _wrap_vector_complex_t_end, METH_VARARGS, (char *)"vector_complex_t_end(vector_complex_t self) -> std::vector< std::complex< double > >::iterator"}, { (char *)"vector_complex_t_rbegin", _wrap_vector_complex_t_rbegin, METH_VARARGS, (char *)"vector_complex_t_rbegin(vector_complex_t self) -> std::vector< std::complex< double > >::reverse_iterator"}, { (char *)"vector_complex_t_rend", _wrap_vector_complex_t_rend, METH_VARARGS, (char *)"vector_complex_t_rend(vector_complex_t self) -> std::vector< std::complex< double > >::reverse_iterator"}, - { (char *)"vector_complex_t_clear", _wrap_vector_complex_t_clear, METH_VARARGS, (char *)"vector_complex_t_clear(vector_complex_t self)"}, - { (char *)"vector_complex_t_get_allocator", _wrap_vector_complex_t_get_allocator, METH_VARARGS, (char *)"vector_complex_t_get_allocator(vector_complex_t self) -> std::vector< std::complex< double > >::allocator_type"}, { (char *)"vector_complex_t_pop_back", _wrap_vector_complex_t_pop_back, METH_VARARGS, (char *)"vector_complex_t_pop_back(vector_complex_t self)"}, { (char *)"vector_complex_t_erase", _wrap_vector_complex_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< std::complex< double > >::iterator pos) -> std::vector< std::complex< double > >::iterator\n" @@ -30493,10 +30394,11 @@ static PyMethodDef SwigMethods[] = { { (char *)"vector_string_t___nonzero__", _wrap_vector_string_t___nonzero__, METH_VARARGS, (char *)"vector_string_t___nonzero__(vector_string_t self) -> bool"}, { (char *)"vector_string_t___bool__", _wrap_vector_string_t___bool__, METH_VARARGS, (char *)"vector_string_t___bool__(vector_string_t self) -> bool"}, { (char *)"vector_string_t___len__", _wrap_vector_string_t___len__, METH_VARARGS, (char *)"vector_string_t___len__(vector_string_t self) -> std::vector< std::string >::size_type"}, + { (char *)"vector_string_t_pop", _wrap_vector_string_t_pop, METH_VARARGS, (char *)"vector_string_t_pop(vector_string_t self) -> std::vector< std::string >::value_type"}, { (char *)"vector_string_t___getslice__", _wrap_vector_string_t___getslice__, METH_VARARGS, (char *)"vector_string_t___getslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j) -> vector_string_t"}, { (char *)"vector_string_t___setslice__", _wrap_vector_string_t___setslice__, METH_VARARGS, (char *)"\n" - "__setslice__(std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j)\n" - "vector_string_t___setslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j, vector_string_t v)\n" + "__setslice__(std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j, vector_string_t v)\n" + "vector_string_t___setslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j)\n" ""}, { (char *)"vector_string_t___delslice__", _wrap_vector_string_t___delslice__, METH_VARARGS, (char *)"vector_string_t___delslice__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::difference_type j)"}, { (char *)"vector_string_t___delitem__", _wrap_vector_string_t___delitem__, METH_VARARGS, (char *)"\n" @@ -30512,17 +30414,16 @@ static PyMethodDef SwigMethods[] = { "__setitem__(PySliceObject * slice)\n" "vector_string_t___setitem__(vector_string_t self, std::vector< std::string >::difference_type i, std::vector< std::string >::value_type const & x)\n" ""}, - { (char *)"vector_string_t_pop", _wrap_vector_string_t_pop, METH_VARARGS, (char *)"vector_string_t_pop(vector_string_t self) -> std::vector< std::string >::value_type"}, { (char *)"vector_string_t_append", _wrap_vector_string_t_append, METH_VARARGS, (char *)"vector_string_t_append(vector_string_t self, std::vector< std::string >::value_type const & x)"}, { (char *)"vector_string_t_empty", _wrap_vector_string_t_empty, METH_VARARGS, (char *)"vector_string_t_empty(vector_string_t self) -> bool"}, { (char *)"vector_string_t_size", _wrap_vector_string_t_size, METH_VARARGS, (char *)"vector_string_t_size(vector_string_t self) -> std::vector< std::string >::size_type"}, + { (char *)"vector_string_t_clear", _wrap_vector_string_t_clear, METH_VARARGS, (char *)"vector_string_t_clear(vector_string_t self)"}, { (char *)"vector_string_t_swap", _wrap_vector_string_t_swap, METH_VARARGS, (char *)"vector_string_t_swap(vector_string_t self, vector_string_t v)"}, + { (char *)"vector_string_t_get_allocator", _wrap_vector_string_t_get_allocator, METH_VARARGS, (char *)"vector_string_t_get_allocator(vector_string_t self) -> std::vector< std::string >::allocator_type"}, { (char *)"vector_string_t_begin", _wrap_vector_string_t_begin, METH_VARARGS, (char *)"vector_string_t_begin(vector_string_t self) -> std::vector< std::string >::iterator"}, { (char *)"vector_string_t_end", _wrap_vector_string_t_end, METH_VARARGS, (char *)"vector_string_t_end(vector_string_t self) -> std::vector< std::string >::iterator"}, { (char *)"vector_string_t_rbegin", _wrap_vector_string_t_rbegin, METH_VARARGS, (char *)"vector_string_t_rbegin(vector_string_t self) -> std::vector< std::string >::reverse_iterator"}, { (char *)"vector_string_t_rend", _wrap_vector_string_t_rend, METH_VARARGS, (char *)"vector_string_t_rend(vector_string_t self) -> std::vector< std::string >::reverse_iterator"}, - { (char *)"vector_string_t_clear", _wrap_vector_string_t_clear, METH_VARARGS, (char *)"vector_string_t_clear(vector_string_t self)"}, - { (char *)"vector_string_t_get_allocator", _wrap_vector_string_t_get_allocator, METH_VARARGS, (char *)"vector_string_t_get_allocator(vector_string_t self) -> std::vector< std::string >::allocator_type"}, { (char *)"vector_string_t_pop_back", _wrap_vector_string_t_pop_back, METH_VARARGS, (char *)"vector_string_t_pop_back(vector_string_t self)"}, { (char *)"vector_string_t_erase", _wrap_vector_string_t_erase, METH_VARARGS, (char *)"\n" "erase(std::vector< std::string >::iterator pos) -> std::vector< std::string >::iterator\n" @@ -32798,19 +32699,10 @@ extern "C" { 0, /* tp_del */ #endif #if PY_VERSION_HEX >= 0x02060000 - 0, /* tp_version_tag */ -#endif -#if PY_VERSION_HEX >= 0x03040000 - 0, /* tp_finalize */ + 0, /* tp_version */ #endif #ifdef COUNT_ALLOCS - 0, /* tp_allocs */ - 0, /* tp_frees */ - 0, /* tp_maxalloc */ -#if PY_VERSION_HEX >= 0x02050000 - 0, /* tp_prev */ -#endif - 0 /* tp_next */ + 0,0,0,0 /* tp_alloc -> tp_next */ #endif }; varlink_type = tmp; diff --git a/auto/Wrap/libBornAgainFit_wrap.h b/auto/Wrap/libBornAgainFit_wrap.h index 718336e1d7d8207a58ce326d8315db2f22642a5d..1a057689d5735ec407584282287e0196bb5507d7 100644 --- a/auto/Wrap/libBornAgainFit_wrap.h +++ b/auto/Wrap/libBornAgainFit_wrap.h @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.8 + * Version 3.0.7 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make