This file is indexed.

/usr/include/osl/game_playing/openingBookTracer.h is in libosl-dev 0.8.0-1.4.

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
/* openingBookTracer.h
 */
#ifndef _OPENINGBOOKTRACER_H
#define _OPENINGBOOKTRACER_H

#include "osl/basic_type.h"

namespace osl
{
  namespace game_playing
  {
    /**
     * 定跡の追跡
     */
    class OpeningBookTracer
    {
    protected:
      bool verbose;
    public:
      OpeningBookTracer() : verbose(false) {}
      virtual ~OpeningBookTracer();
      /** new したものを返す */
      virtual OpeningBookTracer* clone() const = 0;
      /** 指した手に対応して状態を更新する. */
      virtual void update(Move)=0;
      /**
       * 良い手を探す.状態は更新しない.
       * @return 定跡をはずれたら Move::INVALID()
       */
      virtual const Move selectMove() const=0;
      virtual bool isOutOfBook() const=0;
      /**
       * 一手前の状態に戻す
       */
      virtual void popMove()=0;
      bool isVerbose() const { return verbose; }
    };

    /**
     * 定跡無し
     */
    class NullBook : public OpeningBookTracer
    {
    public:
      ~NullBook();
      OpeningBookTracer* clone() const 
      {
	return new NullBook();
      }
      
      void update(Move);
      const Move selectMove() const;
      bool isOutOfBook() const;
      void popMove();
    };
    
  } // namespace game_playing
} // namespace osl

#endif /* _OPENINGBOOKTRACER_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End: