This file is indexed.

/usr/include/givaro/givindeter.h is in libgivaro-dev 4.0.2-5.

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
// ==========================================================================
// $Source: /var/lib/cvs/Givaro/src/library/poly1/givindeter.h,v $
// Copyright(c)'1994-2009 by The Givaro group
// This file is part of Givaro.
// Givaro is governed by the CeCILL-B license under French law
// and abiding by the rules of distribution of free software.
// see the COPYRIGHT file for more details.
// Authors: T. Gautier
// $Id: givindeter.h,v 1.6 2011-02-02 16:23:56 briceboyer Exp $
// ==========================================================================
/** @file givindeter.h
 * @ingroup poly1
 * @brief indeterminates for polynomial manipulation
 */
#ifndef __GIVARO_indeter_H
#define __GIVARO_indeter_H

#include <iostream>
#include <string>

namespace Givaro {

	//! Indeterminate
class Indeter {
public :

  // -- Cstor: recopy the string
 Indeter(const std::string & x="") : name(x){}
  // -- Cstor: recopy the string
 Indeter(const char * x) : name(x){}
  // -- Cstor of recopy
 Indeter(const Indeter& s): name(s.name) {}

  // -- Dstor
  ~Indeter(){}

  // -- assignement
  Indeter& operator= (const Indeter& s);

  // -- Comparizon operators:
  // all comparizons are based on this virtual method,
  // which returns : -1 iff *this < b, 0 iff *this == b and
  // +1 else. This comparizon method gives the natural order
 // for multivariate polynomials.
 int compare(const Indeter& b)  const;

  // -- methods
  friend std::ostream& operator<< (std::ostream& o, const Indeter& X);
  friend std::istream& operator>> (std::istream& o, Indeter& X);

protected:
  std::string name;
};


  //! @bug put elsewere. Inline members functions :
inline int operator==(const Indeter& i1, const Indeter &i2)
  { return i1.compare(i2) ==0; }

inline int operator!=(const Indeter& i1, const Indeter &i2)
  { return i1.compare(i2) !=0; }

inline int operator<= (const Indeter& i1, const Indeter &i2)
  { return i1.compare(i2) <=0; }

inline int operator<  (const Indeter& i1, const Indeter &i2)
  { return i1.compare(i2) <0; }

inline int operator>= (const Indeter& i1, const Indeter &i2)
  { return i1.compare(i2) >=0; }

inline int operator>  (const Indeter& i1, const Indeter &i2)
  { return i1.compare(i2) >0; }

  } // Givaro
#endif // __GIVARO_indeter_H