This file is indexed.

/usr/include/srchiliteqt/ParagraphMap.h is in libsource-highlight-qt4-dev 0.2.2-0ubuntu8.

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
/*
 *  Copyright (C) 2008-2010  Lorenzo Bettini, http://www.lorenzobettini.it
 *  License: See COPYING file that comes with this distribution
 */

#ifndef PARAGRAPHMAP_H_
#define PARAGRAPHMAP_H_

#include <vector>
#include "HighlightStateData.h"

#define STARTING_SIZE 100

namespace srchiliteqt {

/**
 * Internal class for mapping paragraph numbers to HighlightStateData.
 * Don't use this class directly!
 */
class ParagraphMap {
    typedef std::vector<HighlightStateData *> vectorType;
    vectorType dataVector;
public:
    ParagraphMap();
    ~ParagraphMap();

    /**
     * Inserts data in the given position; if it is the first time we
     * use that position, space is allocated for it.
     * @param pos the position for inserting data; it must be non-negative
     * and if it exceeds the size of the vector it must be of only one position
     * @param data the data to insert; the data is then owned by this class
     */
    void insert(int pos, HighlightStateData *data);

    /**
     * Returns a reference to the data stored at the given position
     * @param pos must be non-negative
     * @return the reference to the pointer of the data
     */
    HighlightStateData *getData(int pos);
};


}  // namespace srchiliteqt

#endif /* PARAGRAPHMAP_H_ */