This file is indexed.

/usr/include/openturns/swig/ProcessSample.i is in python-openturns-dev 1.2-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
// SWIG file ProcessSamples.i
// @author dutka
// @date   2009-11-09 17:38:15 +0100 (Mon, 09 Nov 2009)

%{
#include "PythonWrappingFunctions.hxx"
#include "ProcessSample.hxx"
#include "TimeSeries.hxx"
%}

%template(TimeSeriesCollection) OT::Collection<OT::TimeSeries>;
%template(TimeSeriesPersistentCollection) OT::PersistentCollection<OT::TimeSeries>;

 
%include ProcessSample.hxx


//%apply const ProcessSample & { const ProcessSample &, const ProcessSample &, const OT::ProcessSample & };

namespace OT {  
%extend ProcessSample {


ProcessSample(PyObject * pyObj)
{
  OT::Pointer<OT::Collection<OT::TimeSeries> > p_coll =  OT::buildCollectionFromPySequence<OT::TimeSeries>( pyObj );
  return new OT::ProcessSample( *p_coll );
}

ProcessSample(const ProcessSample & other)
{
  return new OT::ProcessSample(other);
}

}

}