This file is indexed.

/usr/share/doc/libinsighttoolkit4-dev/Migration/ImageBaseSetDirection.xml is in libinsighttoolkit4-dev 4.5.0-3.

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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Change SYSTEM "http://itk.org/migrationv4/ITKMigration.dtd">

<!--**
**
** ImageBaseSetDirection.xml
**
** >>>>>>>>>>>>>>>>>>>>>>>>>>>>
** THIS FILE HAS BEEN AUTOMATICALLY GENERATED. EDIT IT BEFORE COMMITING
** <<<<<<<<<<<<<<<<<<<<<<<<<<<
**
** Please, make sure this file validates the following w3c test before committing it: http://validator.w3.org
**-->
<Change>
    <!--**
    ** Title for the online migration page
    **-->
    <Title>
      ImageBase SetDirection API Change
    </Title>

    <!--**
    ** The author of the change
    **-->
    <Author>
      Bill Lorensen
    </Author>

    <!--**
    ** Date of creation for the XML document
    **-->
    <Date>
      2013-11-11
    </Date>

    <!--**
    ** Plain text description of the change
    ** Extracted from git commit messages
    **-->
    <Description>
      <![CDATA[
The signature for SetDirection has changed from SetDirection(const DirectionType direction) to SetDirection(const DirectionType &amp direction). The change was made to ImageBase and ImageAdaptor. Any classes that derive from ImageBase will also need to be changed.

The changes were suggested by Coverity. The Coverity error is:
      COMP: Big parameter passed by value
      CID 1106765 Big parameter passed by value
      Copying large values is inefficient, consider passing by reference;
      size thresholds for detection can be adjusted.
      In itk::​ImageBase&amp;lt;5u&gt;::​SetDirection(itk::​Matrix&amp;lt;double, 5u, 5u&gt;): A
      large function call parameter or exception catch statement is passed
      by value

      NOTEs: ImageAdaptor also needed the change since it derives from ImageBase.
      Other Set methods in ImageBase already passed their rguments by reference.

      ]]>
    </Description>

    <!--**
    ** Sample code snippets
    ** Extracted from git diff of changed files in Examples and Testing
    **-->
    <SampleCode>
      <Old>
        <![CDATA[
SetDirection(const DirectionType direction)
        ]]>
      </Old>

      <New>
        <![CDATA[
SetDirection(const DirectionType &ampdirection)
        ]]>
      </New>

    </SampleCode>

    <!--**
    ** The change-ids for all commits in the topic branch
    **-->
    <Gerrit-ChangeId>
      I94621042013ab9a8a814ba4759aa08c42d135f49
    </Gerrit-ChangeId>

    <!--**
    ** List of all changed files from the topic branch
    **-->
    <FileList>
      Modules/Core/Common/include/itkImageBase.h
      Modules/Core/Common/include/itkImageBase.hxx
      Modules/Core/ImageAdaptors/include/itkImageAdaptor.h
      Modules/Core/ImageAdaptors/include/itkImageAdaptor.hxx
    </FileList>

</Change>