This file is indexed.

/usr/include/dune/istl/paamg/properties.hh is in libdune-istl-dev 2.5.1-1.

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
// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
// vi: set et ts=4 sw=2 sts=2:
#ifndef DUNE_ISTL_AMG_PROPERTIES_HH
#define DUNE_ISTL_AMG_PROPERTIES_HH

#include <dune/common/propertymap.hh>

namespace Dune
{

  namespace Amg
  {
    /**
     * @addtogroup ISTL_PAAMG
     *
     * @{
     */
    /** @file
     * @author Markus Blatt
     * @brief Provides classes for handling internal properties in a graph
     */

    /**
     * @brief Tag idnetifying the visited property of a vertex.
     */
    struct VertexVisitedTag
    {};


    /**
     * @brief A property map that extracts one property out of a bundle
     * using operator[]()
     *
     * Using this access class properties can be stored in std::bitset.
     */
    template<typename C, typename K, std::size_t i,typename T=typename C::ValueType,
        typename R = typename C::Reference>
    class RandomAccessBundledPropertyMap
      : public RAPropertyMapHelper<R,
            RandomAccessBundledPropertyMap<C,K,i,T,R> >
    {
    public:
      /** @brief The container that holds the properties */
      typedef C Container;

      /** @brief The reference type of the container. */
      typedef R Reference;

      /** @brief The key of the property map. */
      typedef K Key;

      /**
       * @brief The category of the property map.
       */
      typedef LvaluePropertyMapTag Category;

      enum {
        /** @brief The index of the property in the bundle. */
        index = i
      };

      /**
       * @brief Get the property for a key.
       * @param key The key.
       * @return The corresponding property.
       */
      Reference operator[](const Key& key) const
      {
        return container_[key][index];
      }

      /**
       * @brief Constructor.
       * @param container The container with the property bundle.
       */
      RandomAccessBundledPropertyMap(Container& container)
        : container_(&container)
      {}

      /** @brief The default constructor. */
      RandomAccessBundledPropertyMap()
        : container_(0)
      {}

    private:
      /** @brief The container with property bundles. */
      Container* container_;
    };
  }
}

#endif