This file is indexed.

/usr/include/JAGS/distribution/DistTab.h is in jags 4.2.0-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
#ifndef DIST_TAB_H_
#define DIST_TAB_H_

#include <list>
#include <string>

#include <distribution/DistPtr.h>

namespace jags {

/**
 * @short Look-up table for Distribution objects
 *
 * The DistTab class provides a means of looking up Distributions by
 * their name in the BUGS language.
 *
 * @see Dist DistTab 
 */
class DistTab
{
    std::list<DistPtr> _dlist;
    DistPtr const _nulldist;
public:
    DistTab();
    /**
     * Inserts a dist into the table. 
     */
    void insert (DistPtr const &dist);
    /**
     * Finds a distribution by name.
     *
     * @return a polymorphic dist pointer. If the distribution cannot
     * be found, then the pointer is a null DistPtr object.
     */
    DistPtr const &find(std::string const &name) const;
    /**
     * Removes a distribution from the table. 
     */
    void erase(DistPtr const &dist);
};

} /* namespace jags */

#endif /* DIST_TAB_H_ */