This file is indexed.

/usr/include/trilinos/Pike_StatusTest_Composite.hpp is in libtrilinos-pike-dev 12.4.2-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
#ifndef PIKE_STATUS_TESTS_COMPOSITE_HPP
#define PIKE_STATUS_TESTS_COMPOSITE_HPP

#include "Pike_StatusTest.hpp"
#include <vector>

namespace Teuchos { class ParameterList; }

namespace pike {

  class StatusTestAbstractFactory;

  class Composite : 
    public pike::StatusTest {

  public:

    enum CompositeType {
      AND,
      OR
    };

    //! Default ctor.
    Composite(const pike::Composite::CompositeType type = OR);
    
    void addTest(const Teuchos::RCP<pike::StatusTest>& t);
    
    pike::SolveStatus checkStatus(const pike::Solver& solver, const CheckType checkType = pike::COMPLETE);
    
    pike::SolveStatus getStatus() const;
    
    void reset();

    void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=verbLevel_default) const;

    void setParameterList(const Teuchos::RCP<Teuchos::ParameterList>& paramList,
			  const pike::StatusTestAbstractFactory& factory);

    Teuchos::RCP<const Teuchos::ParameterList> getValidParameters() const;

  private:
    void checkAnd(const pike::Solver& solver, const CheckType checkType);
    void checkOr(const pike::Solver& solver, const CheckType checkType);

  private:
    CompositeType type_;
    std::vector<Teuchos::RCP<pike::StatusTest> > tests_;
    Teuchos::RCP<Teuchos::ParameterList> validParameters_;
    Teuchos::RCP<Teuchos::ParameterList> myParameters_;
    pike::SolveStatus status_;
    
    
    typedef std::vector<Teuchos::RCP<pike::StatusTest> >::iterator TestIterator;
    typedef std::vector<Teuchos::RCP<pike::StatusTest> >::const_iterator TestConstIterator;
  };

  //! Non-member ctor.
  Teuchos::RCP<pike::Composite> composite(const pike::Composite::CompositeType type = pike::Composite::OR);

}

#endif