This file is indexed.

/usr/include/trilinos/RTC_ObjectRTC.hh is in libtrilinos-pamgen-dev 12.12.1-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
#ifndef _OBJECTRTC_H
#define _OBJECTRTC_H

#include "RTC_commonRTC.hh"

#include <iostream>

namespace PG_RuntimeCompiler {

/**
 * A Object object represnts the operands and operators in the code the user
 * gives us. It can be a Variable, constant (Number), ArrayIndex, etc. The
 * only thing all object have in common is they know what type of object they
 * are.
 */

class Object
{
 public:

  /**
   * Constructor -> Sets the object's type
   *
   * @param type - The type of the object being created
   */
  Object(ObjectType type) { _objType = type;}

  /**
   * Destructor -> The destructor is a no-op
   */
  virtual ~Object() {}

  virtual std::ostream& operator<<(std::ostream& os) const = 0;

  /**
   * getObjectType -> Returns the type of the object
   */
  ObjectType getObjectType() const { return _objType;}

 protected:
  ObjectType _objType; //!< The type of the object
};

std::ostream& operator<<(std::ostream& os, const Object& obj);

}

#endif