This file is indexed.

/usr/include/IGSTK/igstkNDIErrorEvent.h is in libigstk4-dev 4.4.0-2build2.

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
/*=========================================================================

  Program:   Image Guided Surgery Software Toolkit
  Module:    $RCSfile: igstkNDIErrorEvent.h,v $
  Language:  C++
  Date:      $Date: 2008-02-11 01:41:51 $
  Version:   $Revision: 1.7 $

  Copyright (c) ISC  Insight Software Consortium.  All rights reserved.
  See IGSTKCopyright.txt or http://www.igstk.org/copyright.htm for details.

     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notices for more information.

=========================================================================*/
#ifndef __igstkNDIErrorEvent_h
#define __igstkNDIErrorEvent_h


#include "igstkEvents.h"


namespace igstk
{

/** \class NDIErrorEvent
 *  \brief Report errors for the NDICommandInterpreter
 *
 *  The NDIErrorEvent is generated whenever NDICommandInterpreter
 *  encounters an error while communicating with an NDI tracking
 *  device.
 */

class NDIErrorEvent : public IGSTKEvent 
{

public: 
  typedef NDIErrorEvent Self; 
  typedef IGSTKEvent    Superclass;

  /** Constructor */
  NDIErrorEvent() {
    m_ErrorCode = 0; };

  /** Constructor with error code */
  NDIErrorEvent( int errorCode ) {
    m_ErrorCode = errorCode; }

  /** Copy constructor */
  NDIErrorEvent(const Self & s) : IGSTKEvent( s ) {
    m_ErrorCode = s.m_ErrorCode; }
 
  /** Destructor */
  virtual ~NDIErrorEvent() {};

  /** Get the name of this event */
  virtual const char * GetEventName() const {
    return "NDIErrorEvent"; }

  /** check whether an event derives from this event */
  virtual bool CheckEvent(const ::itk::EventObject* e) const {
    return dynamic_cast<const Self*>(e); }

  /** Make another event of the same type */
  virtual ::itk::EventObject* MakeObject() const {
    return new Self; }

  /** Get the error code */
  const unsigned int GetErrorCode() const {
    return m_ErrorCode; }

private:
  void operator=(const Self&); 

  // Payload of this event.
  int  m_ErrorCode;
};

}

#endif