This file is indexed.

/usr/include/siscone/siscone_error.h is in libsiscone-dev 2.0.6-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
// -*- C++ -*-
///////////////////////////////////////////////////////////////////////////////
// File: siscone_error.h                                                     //
// Description: header file for SISCone error messages (Csiscone_error)      //
// This file is part of the SISCone project.                                 //
// For more details, see http://projects.hepforge.org/siscone                //
//                                                                           //
// Copyright (c) 2006 Gavin Salam and Gregory Soyez                          //
//                                                                           //
// This program is free software; you can redistribute it and/or modify      //
// it under the terms of the GNU General Public License as published by      //
// the Free Software Foundation; either version 2 of the License, or         //
// (at your option) any later version.                                       //
//                                                                           //
// This program is distributed in the hope that it will be useful,           //
// but WITHOUT ANY WARRANTY; without even the implied warranty of            //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             //
// GNU General Public License for more details.                              //
//                                                                           //
// You should have received a copy of the GNU General Public License         //
// along with this program; if not, write to the Free Software               //
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA //
//                                                                           //
// $Revision:: 327                                                          $//
// $Date:: 2011-11-25 15:19:39 +0100 (Fri, 25 Nov 2011)                     $//
///////////////////////////////////////////////////////////////////////////////

#ifndef __SISCONE_ERROR_H__
#define __SISCONE_ERROR_H__

#include<iostream>
#include<string>

namespace siscone{

/// \class Csiscone_error
/// class corresponding to errors that will be thrown by siscone
class Csiscone_error {
public:
  /// default ctor
  Csiscone_error() {;};

  /// ctor with a given error message
  ///  \param message_in   the error message to be printed
  Csiscone_error(const std::string & message_in) {
    m_message = message_in; 
    if (m_print_errors) std::cerr << "siscone::Csiscone_error: "<< message_in << std::endl;
  };

  /// access to the error message
  std::string message() const {return m_message;};

  /// switch on/off the error message printing
  ///  \param print_errors   errors will be printed when true
  static void setm_print_errors(bool print_errors) {
    m_print_errors = print_errors;};

private:
  std::string m_message;       ///< the error message
  static bool m_print_errors;  ///< do we print error messages?
};

}
#endif