This file is indexed.

/usr/include/openturns/swig/OrthogonalUniVariatePolynomialFamily.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// SWIG file OrthogonalUniVariatePolynomialFamily.i
// Author : $LastChangedBy: dutka $
// Date : $LastChangedDate: 2009-11-09 17:38:15 +0100 (Mon, 09 Nov 2009) $
// Id : $Id: OrthogonalUniVariatePolynomialFamily.i 1403 2009-11-09 16:38:15Z dutka $

%{
#include "OrthogonalUniVariatePolynomialFamily.hxx"

namespace OpenTURNS { 

  template <>
  struct traitsPythonType<OpenTURNS::Uncertainty::Algorithm::OrthogonalUniVariatePolynomialFamily>
  {
    typedef _PyObject_ Type;
  };


  template <>
  inline
  OpenTURNS::Uncertainty::Algorithm::OrthogonalUniVariatePolynomialFamily
  convert<_PyObject_,OpenTURNS::Uncertainty::Algorithm::OrthogonalUniVariatePolynomialFamily>(PyObject * pyObj)
  {
    void * ptr = 0;
    if (! SWIG_IsOK(SWIG_ConvertPtr( pyObj, &ptr, SWIG_TypeQuery("OpenTURNS::Uncertainty::Algorithm::OrthogonalUniVariatePolynomialFactory *"), 0 |  0 )))
      throw OpenTURNS::Base::Common::InvalidArgumentException(HERE) << "Object passed as argument is not an object convertible to an OrthogonalUniVariatePolynomialFactory";
    OpenTURNS::Uncertainty::Algorithm::OrthogonalUniVariatePolynomialFactory * p_fact = reinterpret_cast< OpenTURNS::Uncertainty::Algorithm::OrthogonalUniVariatePolynomialFactory * >( ptr );
    return *p_fact;
  }

} /* namespace OpenTURNS */


%}

%template(OrthogonalUniVariatePolynomialFactoryTypedInterfaceObject)           OpenTURNS::Base::Common::TypedInterfaceObject<OpenTURNS::Uncertainty::Algorithm::OrthogonalUniVariatePolynomialFactory>;

%include OrthogonalUniVariatePolynomialFamily.hxx

namespace OpenTURNS{ namespace Uncertainty { namespace Algorithm {

%extend OrthogonalUniVariatePolynomialFamily {

OrthogonalUniVariatePolynomialFamily(const OrthogonalUniVariatePolynomialFamily & other) { return new OpenTURNS::Uncertainty::Algorithm::OrthogonalUniVariatePolynomialFamily(other); }

}

}}}