This file is indexed.

/usr/include/ThePEG/Handlers/HandlerGroup.tcc is in libthepeg-dev 1.8.0-1.1.

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
// -*- C++ -*-
//
// HandlerGroup.tcc is a part of ThePEG - Toolkit for HEP Event Generation
// Copyright (C) 1999-2011 Leif Lonnblad
//
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
//
// This is the implementation of the non-inlined templated member
// functions of the HandlerGroup class.
//

#include "ThePEG/Utilities/ClassTraits.h"
#include "ThePEG/Handlers/Hint.h"

namespace ThePEG {

template <typename HDLR>
HandlerGroup<HDLR>::~HandlerGroup() {}

template <typename HDLR>
bool HandlerGroup<HDLR>::setHandler(tStepHdlPtr hin,
				    const HandlerGroupBase & ext) {
  tHdlPtr h = dynamic_ptr_cast<HdlPtr>(hin);
  if ( !h ) return false;
  if ( !theHandler ) refillDefaults(ext);
  theHandler = h;
  isEmpty = false;
  return true;
}

template <typename HDLR>
void HandlerGroup<HDLR>::refillDefaultHandler(tStepHdlPtr h) {
  tHdlPtr ext = dynamic_ptr_cast<HdlPtr>(h);
  if ( ext ) theHandler = ext;
  else theHandler = theDefaultHandler;
  if ( theHandler ) {
    for ( int i = 0, N = theHints.size(); i < N; ++i )
      if ( theHints[i] == Hint::Default() ) return;
    theHints.push_front(Hint::Default());
    isEmpty = false;
  }
}

template <typename HDLR>
void HandlerGroup<HDLR>::clear() {
  theHandler = HdlPtr();
  HandlerGroupBase::clear();
}

template <typename HDLR>
string HandlerGroup<HDLR>::handlerClass() const {
  return ClassTraits<HDLR>::className();
}

template <typename HDLR>
void HandlerGroup<HDLR>::interfaceSetHandler(HdlPtr p) {
  theDefaultHandler = p;
}

template <typename HDLR>
typename HandlerGroup<HDLR>::HdlPtr
HandlerGroup<HDLR>::interfaceGetHandler() const {
  return theDefaultHandler;
}

}