This file is indexed.

/usr/include/LWH/AIDataPointSet.h is in librivet-dev 1.8.3-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
 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
// -*- C++ -*-
#ifndef LWH_AIDataPointSet_H
#define LWH_AIDataPointSet_H

#ifndef LWH_USING_AIDA

/** @cond DONT_DOCUMENT_STRIPPED_DOWN_AIDA_INTERFACES */

namespace AIDA {

class IAnnotation;
class IDataPoint;

/**
 * Basic user-level interface class for holding and managing
 * a single set of "data points".
 *
 * @author The AIDA team (http://aida.freehep.org/)
 *
 */

  class IDataPointSet {

  public:
    virtual ~IDataPointSet() { /* nop */; }
    virtual IAnnotation & annotation() = 0;
    virtual const IAnnotation & annotation() const = 0;
    //virtual std::string title() const = 0;
    // virtual bool setTitle(const std::string & title) = 0;
    virtual int dimension() const = 0;
    virtual void clear() = 0;
    virtual int size() const = 0;
    virtual IDataPoint * point(int index) = 0;
    virtual bool setCoordinate(int coord, const std::vector<double>  & val, const std::vector<double>  & err) = 0;
    virtual bool setCoordinate(int coord, const std::vector<double>  & val, const std::vector<double>  & errp, const std::vector<double>  & errm) = 0;
    virtual const IDataPoint * point(int index) const = 0;
    virtual IDataPoint * addPoint() = 0;
    virtual bool addPoint(const IDataPoint & point) = 0;
    virtual bool removePoint(int index) = 0;
    virtual double lowerExtent(int coord) const = 0;
    virtual double upperExtent(int coord) const = 0;
    virtual bool scale(double scaleFactor) = 0;
    virtual bool scale(double scaleFactor, int coord) = 0;
    virtual bool scaleValues(double scaleFactor) = 0;
    virtual bool scaleErrors(double scaleFactor) = 0;
    virtual void * cast(const std::string & className) const = 0;


    ///////////////////////////////////


    /**
     * Get the main title.
     * @return The title.
     *
     */
    std::string title() const {
      return theTitle;
    }

    /**
     * Set the main title.
     * @param title The new title.
     * @return false If the title cannot be set.
     *
     */
    bool setTitle(const std::string & title) {
      theTitle = title;
      return true;
    }



    /**
     * Get the x-axis title.
     * @return The title.
     *
     */
    std::string xtitle() const {
      return theXTitle;
    }

    /**
     * Set the x-axis title.
     * @param title The new title.
     * @return false If the title cannot be set.
     *
     */
    bool setXTitle(const std::string & xtitle) {
      theXTitle = xtitle;
      return true;
    }



    /**
     * Get the y-axis title.
     * @return The title.
     *
     */
    std::string ytitle() const {
      return theYTitle;
    }

    /**
     * Set the y-axis title.
     * @param title The new title.
     * @return false If the title cannot be set.
     *
     */
    bool setYTitle(const std::string & ytitle) {
      theYTitle = ytitle;
      return true;
    }

    /**
     * Get the z-axis title.
     * @return The title.
     *
     */
    std::string ztitle() const {
      return theZTitle;
    }

    /**
     * Set the z-axis title.
     * @param title The new title.
     * @return false If the title cannot be set.
     *
     */
    bool setZTitle(const std::string & ztitle) {
      theZTitle = ztitle;
      return true;
    }

    /**
     * Get the z-axis title.
     * @return The title.
     *
     */
    std::string title(int i) const {
      switch ( i ) {
      case 0: return theXTitle;
      case 1: return theYTitle;
      case 2: return theZTitle;
      default: return "";
      }
    }

    /**
     * Set the <i>-axis title.
     * @param title The new title.
     * @return false If the title cannot be set.
     *
     */
    bool setTitle(int i, const std::string & title) {
      if ( i == 0 ) theXTitle = title;
      else if ( i == 1 ) theYTitle = title;
      else if ( i == 2 ) theZTitle = title;
      else return false;
      return true;
    }


  protected:
    std::string theTitle;
    std::string theXTitle;
    std::string theYTitle;
    std::string theZTitle;

  };


}

/** @endcond */

#else
#include "AIDA/IDataPointSet.h"
#endif

#endif /* LWH_AIDataPointSet_H */