This file is indexed.

/usr/include/wvstreams/wvstringmask.h is in libwvstreams-dev 4.6.1-5.

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
/* -*- Mode: C++ -*-
 * Worldvisions Weaver Software:
 *   Copyright (C) 2005 Net Integration Technologies, Inc.
 *
 * Implementation of an efficient lookup for a set characters.
 *
 * It is, however, a little space intensive, but you should statically
 * create them in your functions, and then they won't be so bad.
 */
#ifndef __WVSTRINGMASK_H
#define __WVSTRINGMASK_H

#include "wvstring.h"

/**
 * A class used to provide a masked lookup for characters in a string.
 */
class WvStringMask
{
public:
    /**
     * Create a WvStringMask out of a WvString.  When looked up,
     * characters in 's' will return true.
     */
    WvStringMask(WvStringParm s = WvString::null);
    WvStringMask(char c);

    /**
     * Look up a character.  This will return true if 'c' is in 'set'.
     */
    bool operator[](const char c) const;

    /**
     * Get the first character set into the mask
     */
    const char first() const;

    /**
     * Clear the WvStringMask, so that all lookups return false.
     */
    void zap();

    /**
     * Set a character 'c' to a particular truth value.
     */
    void set(const char c, bool value);

    /**
     * Set all characters in string 's' to a particular truth value.
     */
    void set(WvStringParm s, bool value);

private:
    bool _set[256];
    char _first;
};

#endif // __WVSTRINGMASK_H