This file is indexed.

/usr/include/KWWidgets/vtkKWStateMachineCluster.h is in libkwwidgets1-dev 1.0.0~cvs20100930-8.

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

  Module:    $RCSfile: vtkKWStateMachineCluster.h,v $

  Copyright (c) Kitware, Inc.
  All rights reserved.
  See Copyright.txt or http://www.kitware.com/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 notice for more information.

=========================================================================*/
// .NAME vtkKWStateMachineCluster - a state machine cluster.
// .SECTION Description
// This class is the basis for a state machine cluster, i.e. a means
// to logically group states together. Clusters are not used by the 
// state machine per se, they are just a convenient way to group states
// logically together, and can be used by state machine writers
// (see vtkKWStateMachineDOTWriter) to display clusters as groups.
// .SECTION Thanks
// This work is part of the National Alliance for Medical Image
// Computing (NAMIC), funded by the National Institutes of Health
// through the NIH Roadmap for Medical Research, Grant U54 EB005149.
// Information on the National Centers for Biomedical Computing
// can be obtained from http://nihroadmap.nih.gov/bioinformatics.
// .SECTION See Also
// vtkKWStateMachine vtkKWStateMachineState

#ifndef __vtkKWStateMachineCluster_h
#define __vtkKWStateMachineCluster_h

#include "vtkKWObject.h"

class vtkKWStateMachineState;
class vtkKWStateMachineClusterInternals;

class KWWidgets_EXPORT vtkKWStateMachineCluster : public vtkKWObject
{
public:
  static vtkKWStateMachineCluster* New();
  vtkTypeRevisionMacro(vtkKWStateMachineCluster, vtkKWObject);
  void PrintSelf(ostream& os, vtkIndent indent);

  // Description:
  // Get id.
  vtkGetMacro(Id, vtkIdType);

  // Description:
  // Set/Get simple name.
  vtkGetStringMacro(Name);
  vtkSetStringMacro(Name);

  // Description:
  // Add a state.
  // Return 1 on success, 0 otherwise.
  virtual int AddState(vtkKWStateMachineState *state);
  virtual int HasState(vtkKWStateMachineState *state);
  virtual int GetNumberOfStates();
  virtual vtkKWStateMachineState* GetNthState(int rank);

protected:
  vtkKWStateMachineCluster();
  ~vtkKWStateMachineCluster();

  vtkIdType Id;
  char *Name;

  // Description:
  // Remove state(s).
  virtual void RemoveState(vtkKWStateMachineState *state);
  virtual void RemoveAllStates();

  // PIMPL Encapsulation for STL containers
  //BTX
  vtkKWStateMachineClusterInternals *Internals;
  //ETX

private:

  static vtkIdType IdCounter;

  vtkKWStateMachineCluster(const vtkKWStateMachineCluster&); // Not implemented
  void operator=(const vtkKWStateMachineCluster&); // Not implemented
};

#endif