This file is indexed.

/usr/include/globjects/Object.h is in libglobjects-dev 1.1.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
57
58
59
60
61
62
63
64
65
66
#pragma once

#include <string>

#include <glbinding/gl/types.h>

#include <globjects/base/Referenced.h>

#include <globjects/globjects_api.h>


namespace globjects 
{


class ObjectVisitor;
class IDResource;

/** \brief Superclass of all wrapped OpenGL objects.
    
    The superclass is Referenced so that each wrapped OpenGL object supports reference counting.
    The OpenGL name (id) of the OpenGL resource that was provided in the constructor can be queried using id().
    Additionally, an Object can have meaningful name wich can be get and set using name() and setName().
 */
class GLOBJECTS_API Object : public Referenced
{
    friend class AbstractObjectNameImplementation;

public:
    enum class NameImplementation
    {
        DebugKHR
    ,   Legacy
    };

    static void hintNameImplementation(NameImplementation impl);

public:
    virtual void accept(ObjectVisitor & visitor) = 0;

    gl::GLuint id() const;

    std::string name() const;
    void setName(const std::string & name);
    bool hasName() const;

    bool isDefault() const;

    virtual gl::GLenum objectType() const = 0;

    /** unlinks and destroys the associated opengl object
    */
    void detach();

protected:
    Object(IDResource * resource);
    virtual ~Object();

protected:
    IDResource * m_resource;

    mutable void * m_objectLabelState;
};


} // namespace globjects