This file is indexed.

/usr/include/choreonoid-1.1/cnoid/src/Body/ModelNodeSet.h is in libcnoid-dev 1.1.0+dfsg-6.1+b4.

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
/*!
  @file
  @author Shin'ichiro Nakaoka
*/

#ifndef CNOID_BODY_MODEL_NODE_SET_H_INCLUDED
#define CNOID_BODY_MODEL_NODE_SET_H_INCLUDED

#include <Eigen/StdVector>
#include <cnoid/EigenTypes>
#include <cnoid/VrmlNodes>
#include <boost/shared_ptr.hpp>
#include <boost/signals.hpp>
#include "exportdecl.h"

namespace cnoid {

    class VrmlParser;

    class JointNodeSet;
    typedef boost::shared_ptr<JointNodeSet> JointNodeSetPtr;

    class JointNodeSet
    {
    public:
        typedef std::vector<Affine3, Eigen::aligned_allocator<Affine3> > Affine3Array;
        
        VrmlProtoInstancePtr jointNode;
        std::vector<JointNodeSetPtr> childJointNodeSets;
        Affine3Array transforms;
        std::vector<VrmlProtoInstancePtr> segmentNodes;
        std::vector<VrmlProtoInstancePtr> sensorNodes;
        std::vector<VrmlProtoInstancePtr> hwcNodes;
    };
    
    typedef std::vector<JointNodeSetPtr> JointNodeSetArray;

    class ModelNodeSetImpl;

    class CNOID_EXPORT ModelNodeSet
    {
      public:

        ModelNodeSet();
        virtual ~ModelNodeSet();

        bool loadModelFile(const std::string& filename);
		
        int numJointNodes();
        VrmlProtoInstancePtr humanoidNode();
        JointNodeSetPtr rootJointNodeSet();

        /**
           @if jp
           読み込み進行状況のメッセージを出力するためのシグナル.
           @note エラー発生時のメッセージはこのシグナルではなく例外によって処理される。
           @endif
        */
        boost::signal<void(const std::string& message)> sigMessage;

        class Exception {
        public:
            Exception(const std::string& description) : description(description) { }
            const char* what() const { return description.c_str(); }
        private:
            std::string description;
        };

      private:
        ModelNodeSetImpl* impl;
    };

    typedef boost::shared_ptr<ModelNodeSet> ModelNodeSetPtr;
};
    

#endif