This file is indexed.

/usr/include/opencollada/COLLADAFramework/COLLADAFWTextureCoordinateBinding.h is in opencollada-dev 0.1.0~20140703.ddf8f47+dfsg1-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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*
    Copyright (c) 2008-2009 NetAllied Systems GmbH

    This file is part of COLLADAFramework.

    Licensed under the MIT Open Source License, 
    for details please see LICENSE file or the website
    http://www.opensource.org/licenses/mit-license.php
*/

#ifndef __COLLADAFW_TEXTURECOORDINATEBINDING_H__
#define __COLLADAFW_TEXTURECOORDINATEBINDING_H__

#include "COLLADAFWPrerequisites.h"


namespace COLLADAFW
{

    /** Contains informations which set of texture coordinates is used by which texture, 
    when a common effect containing textures is binded to the material.*/
    class TextureCoordinateBinding
    {	
    private:

        /** The id of a texture map. This id is used with EffectCommon to specify which texture coordinates
        should be used by which texture, especially if different parameters (diffuse, emission...) use different 
        texture coordinates. The TextureCoordinateBinding struct binds this  TextureMapId to the texture coordinates
        of the mesh, using setIndex. See also Texture*/
        TextureMapId mTextureMapId;

        /** The set index of the set of texture coordinates uses by the effect for parameter
        with parameter id. */
        size_t mSetIndex;
        
        /** The semantic used for this texture coordinate binding (<bind_vertex_input> attribute semantic) */
        String mSemantic;

    public:

        /** Constructor. */
        TextureCoordinateBinding() {}

        /** Destructor. */
        virtual ~TextureCoordinateBinding() {}

        /** The id of a texture map. This id is used with EffectCommon to specify which texture coordinates
        should be used by which texture, especially if different parameters (diffuse, emission...) use different 
        texture coordinates. The TextureCoordinateBinding struct binds this  TextureMapId to the texture coordinates
        of the mesh, using setIndex. See also Texture*/
        const TextureMapId& getTextureMapId () const { return mTextureMapId; }
        void setTextureMapId ( const TextureMapId& val ) { mTextureMapId = val; }

        /** The set index of the set of texture coordinates uses by the effect for parameter
        with parameter id. */
        const size_t& getSetIndex () const { return mSetIndex; }
        void setSetIndex ( const size_t& val ) { mSetIndex = val; }
        
        const String& getSemantic() const { return mSemantic; }
        void setSemantic( const String& val ) { mSemantic = val; }

        /** Operator overloading. */
        bool operator<( const TextureCoordinateBinding& rhs) const
        {
            if ( mTextureMapId < rhs.mTextureMapId )
                return true;

            if ( mTextureMapId > rhs.mTextureMapId )
                return false;

            if ( mSetIndex < rhs.mSetIndex )
                return true;

            if ( mSetIndex > rhs.mSetIndex )
                return false;

            return false;
        }


    };
    typedef Array<TextureCoordinateBinding> TextureCoordinateBindingArray;

} // namespace COLLADAFW

#endif // __COLLADAFW_TEXTURECOORDINATEBINDING_H__