This file is indexed.

/usr/include/Inventor/SbByteBuffer.h is in libcoin80-dev 3.1.4~abc9f50+dfsg3-2.

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
/*
  Defining Private variables in exactly one location, to keep them in
  sync, remember to undefine this, so this is not visible outside this
  header, unless included from an .icc file
*/
/*
  NOTE: This define is done outside the Header guard, and undefined in
  the end. This is to make it possible to include this from an .icc
  file, even if the header has been included from before.
*/
#define SBBYTEBUFFER_PRIVATE_VARIABLES \
  size_t size_; \
  boost::shared_array<char> buffer; \
  SbBool invalid; \
  static SbByteBuffer invalidBuffer_;

#ifndef COIN_SBBYTEBUFFER_H
#define COIN_SBBYTEBUFFER_H

#include <cstring>
#include <Inventor/SbBasic.h>

#ifndef ABI_BREAKING_OPTIMIZE
class SbByteBufferP;
#else
#include <boost/shared_array.hpp>
#endif //ABI_BREAKING_OPTIMIZE



//Consider making a general Buffer class for non bytes;
//Implements as a minimum the Buffer concept as defined by
//http://www.boost.org/doc/libs/1_37_0/libs/graph/doc/Buffer.html
class COIN_DLL_API SbByteBuffer {
 public:
  SbByteBuffer(const char * buffer);
  SbByteBuffer(const SbByteBuffer & buffer);
  SbByteBuffer(size_t size = 0, const char * buffer = NULL);
  SbByteBuffer(size_t size, const unsigned char * buffer);
  ~SbByteBuffer();

  SbBool isValid() const;
  size_t size() const;
  SbBool empty() const;

  const char & operator[](size_t idx) const;
  SbByteBuffer & operator=(const SbByteBuffer & in);
  SbBool operator==(const SbByteBuffer & that) const;
  SbByteBuffer & operator+=(const SbByteBuffer & buf) {
    this->push(buf);
    return *this;
  }

  void push(const SbByteBuffer & buf);

  const char * constData() const;
  char * data();

  static SbByteBuffer & invalidBuffer();
  void makeUnique();

 private:
#ifndef ABI_BREAKING_OPTIMIZE
  SbByteBufferP * pimpl;
#else
  SBBYTEBUFFER_PRIVATE_VARIABLES
#endif //ABI_BREAKING_OPTIMIZE
};

#ifdef ABI_BREAKING_OPTIMIZE
#include "SbByteBufferP.icc"
#endif //ABI_BREAKING_OPTIMIZE

#endif // !COIN_SBBYTEBUFFER_H

//The SBBYTEBUFFER_PRIVATE_VARIABLES must survice an inclusion from the .icc file
#ifndef COIN_ICC_INCLUDE
#undef SBBYTEBUFFER_PRIVATE_VARIABLES
#endif //COIN_ICC_INCLUDE