This file is indexed.

/usr/include/openturns/DistributionFactory.hxx 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
//                                               -*- C++ -*-
/**
 * @file  DistributionFactory.hxx
 * @brief Top-level class for all distribution factories
 *
 * (C) Copyright 2005-2011 EDF
 *
 * Permission to copy, use, modify, sell and distribute this software
 * is granted provided this copyright notice appears in all copies.
 * This software is provided "as is" without express or implied
 * warranty, and with no claim as to its suitability for any purpose.
 *
 *
 * \author $LastChangedBy: schueller $
 * \date   $LastChangedDate: 2011-07-28 18:31:43 +0200 (Thu, 28 Jul 2011) $
 */

#ifndef OPENTURNS_DISTRIBUTIONFACTORY_HXX
#define OPENTURNS_DISTRIBUTIONFACTORY_HXX

#include "DistributionImplementationFactory.hxx"
#include "Distribution.hxx"
#include "TypedInterfaceObject.hxx"

namespace OpenTURNS {

  namespace Uncertainty {

    namespace Model {

      /**
       * @class DistributionFactory
       */
      class DistributionFactory
        : public Base::Common::TypedInterfaceObject<DistributionImplementationFactory>
      {
        CLASSNAME;
      public:

        typedef DistributionImplementationFactory::NumericalSample                         NumericalSample;
        typedef DistributionImplementationFactory::InternalException                       InternalException;
        typedef DistributionImplementationFactory::InvalidArgumentException                InvalidArgumentException;
        typedef DistributionImplementationFactory::NumericalPointCollection                NumericalPointCollection;
        typedef DistributionImplementationFactory::NumericalPointWithDescriptionCollection NumericalPointWithDescriptionCollection;

        /** Default constructor */
        DistributionFactory(const UnsignedLong bootstrapSize = DistributionImplementationFactory::DefaultBootstrapSize,
                            const String & name = OT::DefaultName);

        /** Parameter constructor */
        DistributionFactory(const DistributionImplementationFactory & factory);

        /** String converter */
        virtual String __repr__() const;

        /** String converter */
        virtual String __str__(const String & offset = "") const;

        /* Here is the interface that all derived class must implement */

        virtual Distribution build(const NumericalSample & sample) const /* throw(InvalidArgumentException, InternalException) */;
        virtual Distribution build(const NumericalPointCollection & parameters) const /* throw(InvalidArgumentException, InternalException) */;
        virtual Distribution build(const NumericalPointWithDescriptionCollection & parameters) const /* throw(InvalidArgumentException, InternalException) */;
        virtual Distribution build() const /* throw(InvalidArgumentException, InternalException) */;

      private:

      }; /* class DistributionFactory */


    } /* namespace Model */
  } /* namespace Uncertainty */
} /* namespace OpenTURNS */

#endif /* OPENTURNS_DISTRIBUTIONFACTORY_HXX */