This file is indexed.

/usr/include/JAGS/function/FuncTab.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
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef FUNC_TAB_H_
#define FUNC_TAB_H_

#include <list>
#include <string>

#include <function/FunctionPtr.h>

namespace jags {

/**
 * @short Look-up table for Function objects
 *
 * The FuncTab class provides a means of looking up Functions by their
 * name in the BUGS language.
 *
 * @see Function DistTab 
 */
class FuncTab
{
    std::list<FunctionPtr> _flist;
    FunctionPtr const _nullfun;
public:
    /**
     * Constructs a new empty FuncTab
     */
    FuncTab();
    /**
     * Inserts a function into the table. 
     */
    void insert (FunctionPtr const &func);
    /**
     * Finds the inverse of a link function by name
     *
     * @parameter name Name of the link function
     *
     * @return Pointer to the inverse link function or a NULL pointer
     * if it was not found.
     */
    LinkFunction const *findLink (std::string const &name) const;
    /**
     * Finds a function by name.
     *
     * @return a polymorphic function pointer. If the function cannot be
     * found, then the pointer is a null FunctionPtr object.
     */
    FunctionPtr const &find(std::string const &name) const;
    /**
     * Removes a function from the table. 
     */
    void erase(FunctionPtr const &func);
};

} /* namespace jags */

#endif /* FUNC_TAB_H_ */