/usr/include/openturns/swig/Indices.i is in libopenturns-dev 0.15-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | // SWIG file Indices.i
// Author : $LastChangedBy: schueller $
// Date : $LastChangedDate: 2011-06-01 18:07:56 +0200 (Wed, 01 Jun 2011) $
// Id : $Id: Indices.i 1922 2011-06-01 16:07:56Z schueller $
%{
#include "Indices.hxx"
%}
%include Indices.hxx
namespace OpenTURNS { namespace Base { namespace Type {
%extend Indices {
Indices(const Indices & other) { return new OpenTURNS::Base::Type::Indices(other); }
Indices(PyObject * pyObj)
{
return new OpenTURNS::Base::Type::Indices( OpenTURNS::convert<OpenTURNS::_PySequence_,OpenTURNS::Base::Type::Indices>(pyObj) );
}
Bool __eq__(const Indices & other)
{
return (*self) == other;
}
}
}}}
|