This file is indexed.

/usr/include/JAGS/distribution/DistPtr.h is in jags 4.1.0-1.

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
#ifndef DIST_POINTER_H_
#define DIST_POINTER_H_

#include <distribution/ScalarDist.h>
#include <distribution/VectorDist.h>
#include <distribution/ArrayDist.h>

namespace jags {

/**
 * @short Polymorphic pointer to Distribution
 *
 * A DistPtr holds a pointer to one of the three sub-classes of
 * Distribution: ScalarDist, VectorDist, or ArrayDist.  The pointers
 * can be extracted using the extractor functions SCALAR, VECTOR, and
 * ARRAY, respectively .
 */
class DistPtr
{
    ScalarDist const * sdist;
    VectorDist const * vdist;
    ArrayDist const * adist;
public:
    DistPtr();
    DistPtr(ScalarDist const *);
    DistPtr(VectorDist const *);
    DistPtr(ArrayDist const *);
    bool operator==(DistPtr const &rhs) const;
    std::string const &name() const;
    friend ScalarDist const *SCALAR(DistPtr const &p);
    friend VectorDist const *VECTOR(DistPtr const &p);
    friend ArrayDist const *ARRAY(DistPtr const &p);
    friend bool isNULL(DistPtr const &p);
};

} /* namespace jags */

#endif /* DIST_POINTER_H_ */