This file is indexed.

/usr/include/opencollada/COLLADASaxFrameworkLoader/COLLADASaxFWLAccessor.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
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/*
    Copyright (c) 2008-2009 NetAllied Systems GmbH

    This file is part of COLLADASaxFrameworkLoader.

    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 __COLLADASAXFWL_ACCESSOR_H__
#define __COLLADASAXFWL_ACCESSOR_H__

#include "COLLADASaxFWLPrerequisites.h"

#include "COLLADAFWParam.h"

#include "COLLADABUURI.h"


namespace COLLADASaxFWL
{

    /** 
     * Describes a stream of values from an array data source.
     * The <accessor> element declares an access pattern into one of the array elements 
     * <float_array>, <int_array>, <Name_array>, <bool_array>, and <IDREF_array> or into an 
     * external array source. The arrays can be organized in either an interleaved or 
     * noninterleaved manner, depending on the offset and stride attributes.
     * The output of the accessor is described by its child <param> elements.
     */
    class Accessor
    {

    private:

        /**
         *  The number of times the array is accessed. Required.
         */
        unsigned int mCount; 

        /**
         * The index of the first value to be read from the array. The default is 0. Optional.
         */
        unsigned int mOffset; 

        /**
         * The location of the array to access using a URI expression. Required. This element may
         * refer to a COLLADA array element or to an array data source outside the scope of the
         * instance document; the source does not need to be a COLLADA document.
         */
        COLLADABU::URI mSource;

        /**
         * The number of values that are to be considered a unit during each access to the array.
         * The default is 1, indicating that a single value is accessed. Optional.
         */
        unsigned int mStride; 

        /**
         * The type attribute of the <param> element, when it is a child of the <accessor> element, 
         * is restricted to the set of array types: int, float, Name, bool, and IDREF. 
         */
        COLLADAFW::ParamArray mParamArray;

    public:

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

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

        /**
        *  The number of times the array is accessed. Required.
        */
        const unsigned int getCount () const { return mCount; }
        void setCount ( const unsigned int count ) { mCount = count; }

        /**
        * The index of the first value to be read from the array. The default is 0. Optional.
        */
        const unsigned int getOffset () const { return mOffset; }
        void setOffset ( const unsigned int offset ) { mOffset = offset; }

        /**
        * The location of the array to access using a URI expression. Required. This element may
        * refer to a COLLADA array element or to an array data source outside the scope of the
        * instance document; the source does not need to be a COLLADA document.
        */
        const COLLADABU::URI getSource () const { return mSource; }
        void setSource ( const COLLADABU::URI source ) { mSource = source; }

        /**
        * The number of values that are to be considered a unit during each access to the array.
        * The default is 1, indicating that a single value is accessed. Optional.
        */
        const unsigned int getStride () const { return mStride; }
        void setStride ( const unsigned int stride ) { mStride = stride; }

        /**
        * The type attribute of the <param> element, when it is a child of the <accessor> element, 
        * is restricted to the set of array types: int, float, Name, bool, and IDREF. 
        */
        const COLLADAFW::ParamArray getParamArray () const { return mParamArray; }

        /**
        * The type attribute of the <param> element, when it is a child of the <accessor> element, 
        * is restricted to the set of array types: int, float, Name, bool, and IDREF. 
        */
        void setParamArray ( const COLLADAFW::ParamArray paramArray ) 
        { 
            mParamArray = paramArray; 
        }

    };
}

#endif // __COLLADASAXFWL_ACCESSOR_H__