This file is indexed.

/usr/include/CLHEP/Exceptions/ZMexception.icc is in libclhep-dev 2.1.4.1-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
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#ifndef ZMEXCEPTION_ICC
#error "Exceptions/ZMexception.icc included without Exceptions/ZMexception.h"
#endif


// ----------------------------------------------------------------------
//
// ZMexception.icc
//
// Constructor ZMexception
//	message()
//	count()
//	wasThrown()
//	handlerUsed()
//	severity()
//	location(line, filename)
//	fileName()
//	line()
//
// Revision History:
//      970912  MF	Initial version after separating .icc versus .cc
//      970916  WEB	Updated per code review
//      970917  WEB	Updated per code review 2
//	971211	WEB	Updated per code walkthrough
//      980421  WEB     Moved name() and facility() from .icc to .cc
//	980617	WEB	Added namespace support
//	990318  MF	Modified intializer list orders to avoid warnings
//
// ----------------------------------------------------------------------


namespace zmex  {


// ********************************
//
// Member functions in base class
//
// ********************************


//**********************
// Constructor
//**********************

inline ZMexception::ZMexception(
  const std::string  & mesg
, const ZMexSeverity howBad
, int                icount
)  :
  message_(mesg)
, line_( 0 )
, sourceFileName_( "not ZMthrow'n as of yet" )
, mySeverity_( howBad == ZMexSEVERITYenumLAST ? _classInfo.severity() : howBad )
, myCount_( icount )
, wasThrown_( false )
{ }

//**********************
// Information accessors
//**********************

// message()
//----------

inline std::string ZMexception::message() const {
  return  message_;
}

// count()
//--------

inline int ZMexception::count() const {
  return  myCount_;
}

// wasThrown()
//------------

inline bool ZMexception::wasThrown() const {
  return  wasThrown_;
}

inline void ZMexception::wasThrown( bool b ) const {
#ifdef DEFECT_NO_MUTABLE
  ZMexception * localThis = const_cast<ZMexception * const>(this);
  localThis->wasThrown_ = b;
#else
  wasThrown_ = b;
#endif
}


//**************
// handler names
//**************

// handlerUsed()
//--------------

inline std::string ZMexception::handlerUsed() const {
  return  handlerUsed_;
}

inline void ZMexception::handlerUsed( const std::string handlerName ) const {
#ifdef DEFECT_NO_MUTABLE
  ZMexception * localThis = const_cast<ZMexception * const>(this);
  localThis->handlerUsed_ = handlerName;
#else
  handlerUsed_ = handlerName;
#endif
}


//***********
// severity()
//***********

inline ZMexSeverity ZMexception::severity() const {
  return  mySeverity_;
}



//******************************
// location setter and accessors
//******************************

// location(line, filename)
// fileName()
// line()
//-------------------------

inline void ZMexception::location( int iline, const std::string filename ) const  {
#ifdef DEFECT_NO_MUTABLE
  ZMexception * localThis = const_cast<ZMexception * const>(this);
  localThis->line_ = iline;
  localThis->sourceFileName_ = filename;
#else
  line_ = iline;
  sourceFileName_ = filename;
#endif
}

inline std::string ZMexception::fileName() const {
  return  sourceFileName_;
}

inline int ZMexception::line() const {
  return  line_;
}

inline bool ZMexception::OKtoLog() const {
  return  classInfo().OKtoLog();
}


}  // namespace zmex