This file is indexed.

/usr/include/odinseq/seqdelayvec.h is in libodin-dev 1.8.4-1ubuntu2.

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
/***************************************************************************
                          seqdelayvec.h  -  description
                             -------------------
    begin                : Mon Oct 7 2002
    copyright            : (C) 2001 by Thies H. Jochimsen
    email                : jochimse@cns.mpg.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef SEQDELAYVEC_H
#define SEQDELAYVEC_H

#include <odinseq/seqobj.h>
#include <odinseq/seqvec.h>
#include <odinseq/seqdriver.h>

/**
  * @ingroup odinseq_internals
  * The base class for platform specific drivers of delay vectors
  */
class SeqDelayVecDriver : public SeqDriverBase {

 public:
  SeqDelayVecDriver() {}
  virtual ~SeqDelayVecDriver() {}

  virtual bool prep_driver() = 0;

  virtual STD_string get_program(programContext& context, double duration) const = 0;

  virtual bool unroll_program() const = 0;

  virtual SeqDelayVecDriver* clone_driver() const = 0;
};

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


/**
  * @addtogroup odinseq
  * @{
  */


/**
  * \brief  Vector of variable timing delays
  *
  * This class represents a vector of delay (delay list) that can be attached to a loop.
  */
class SeqDelayVector : public SeqObjBase, public SeqVector {

 public:

/**
  * Constructs a delay vector labeled 'object_label' with the following properties:
  * - delaylist: The list of delays that will be played out subsequently when looping
  *   over this object
  */
  SeqDelayVector(const STD_string& object_label,const dvector& delaylist);


/**
  * Constructs an empty delay vector labeled 'object_label'
  */
  SeqDelayVector(const STD_string& object_label = "unnamedSeqDelayVector");


/**
  * Constructs a delay which is a copy of 'sdv'
  */
  SeqDelayVector(const SeqDelayVector& sdv);


/**
  * This assignment operator will make this object become an exact copy of 'sdv'.
  */
  SeqDelayVector& operator = (const SeqDelayVector& sdv);


/**
  * Specifies the list of delays that will be played out subsequently when looping
  *   over this object
  */
  SeqDelayVector& set_delayvector(const dvector& delaylist);

/**
  * Returns the list of delays that will be played out subsequently when looping
  * over this object
  */
  dvector get_delayvector() const;


  // overloading virtual function from SeqTreeObj
  double get_duration() const;
  STD_string get_program(programContext& context) const;
  SeqValList get_delayvallist() const;

 private:

  // overwriting virtual functions from SeqClass
  bool prep();

  // overloading virtual function from SeqVector
  unsigned int get_vectorsize() const;
  bool needs_unrolling_check() const {return delayvecdriver->unroll_program();}

  mutable SeqDriverInterface<SeqDelayVecDriver> delayvecdriver;

  dvector delayvec;

};


/** @}
  */


#endif