This file is indexed.

/usr/share/doc/libitpp-dev/html/codingrules.html is in libitpp-doc 4.3.1-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
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  <title>Welcome to IT++!</title>
  <link href="doxygen.css" rel="stylesheet" type="text/css">
  <link href="tabs.css" rel="stylesheet" type="text/css">
  <link rel="shortcut icon" href="favicon.ico">
</head>
<body>
<div style="width: 100%; height: 40px; background-color: #ffff00; border: 1px solid #b0b0b0; margin: 5px 5px 5px 0; padding: 2px;">
  <a href="http://itpp.sourceforge.net"><img src="itpp_logo.png" alt="IT++ Logo" style="float: left; border: 0;"></a>
</div>
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
          <div class="left">
            <form id="FSearchBox" action="search.php" method="get">
              <img id="MSearchSelect" src="search/mag.png" alt=""/>
              <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" 
                     onfocus="searchBox.OnSearchFieldFocus(true)" 
                     onblur="searchBox.OnSearchFieldFocus(false)"/>
            </form>
          </div><div class="right"></div>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Coding Rules </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>In the following sections we describe the naming conventions which are used for files, classes, structures, local variables, and global variables.</p>
<h1><a class="anchor" id="cr_variables"></a>
Default Naming Rules for Variables</h1>
<p>Variables are named using lower-case letters and words are separated using under-score. Abbreviations, when used in variable names, are also written with lower-case letters. Examples:</p>
<ul>
<li>
<code>`fft_size'</code>  </li>
<li>
<code>`nrof_paths'</code>  </li>
<li>
<code>`my_variable_name'</code>  </li>
</ul>
<p>Some variable names or parts of variable names are commonly used in several different functions and files to denote the same thing. For instance the following common names and prefixes should be used:</p>
<ul>
<li>
<code>`rows'</code> - number of rows in a matrix  </li>
<li>
<code>`cols'</code> - number of columns in a matrix  </li>
<li>
<code>`nrof_'</code> - number of ...  </li>
</ul>
<h1><a class="anchor" id="cr_files"></a>
Default Naming Rules for Files</h1>
<p>Files are named using lower-case letters and words are separated using under-score. Abbreviations, when used in file names, are also written with lower-case letters.</p>
<p>Source files are named using <code>`.cpp'</code> suffix, whereas header files end with <code>`.h'</code> extension. Examples:</p>
<ul>
<li>
<code>`my_file.h'</code>  </li>
<li>
<code>`my_file.cpp'</code>  </li>
</ul>
<h1><a class="anchor" id="cr_functions"></a>
Default Naming Rules for Functions</h1>
<p>Function names are named using lower-case letters and words are separated using under-score. Abbreviations, when used in function names, are also written with lower-case letters. This rule applies both to stand-alone functions as well as to member functions of classes. Example:</p>
<ul>
<li>
<code>int my_function_name(int a, int b)</code>  </li>
</ul>
<h1><a class="anchor" id="cr_classes"></a>
Default Naming Rules for Classes and Structures</h1>
<p>Each new word in a class or structure name should always start with a capital letter and the words should be separated with an under-score. Abbreviations are written with capital letters. Examples:</p>
<ul>
<li>
<code>`My_Class_Name'</code>  </li>
<li>
<code>`My_Struct_Name'</code>  </li>
<li>
<code>`OFDM'</code>  </li>
</ul>
<h1><a class="anchor" id="cr_classes_functionality"></a>
Default Functionality of Classes</h1>
<p>All classes that are configured by input parameters should include:</p>
<ul>
<li>
default empty constructor  </li>
<li>
one or more additional constructor(s) that takes input parameters and initializes the class instance  </li>
<li>
setup function, preferably named <code>`setup'</code> or <code>`set_parameters'</code>  </li>
</ul>
<p>Explicit destructor functions are not required, unless they are needed. It shall not be possible to use any of the other member functions unless the class has been properly initiated with the input parameters. </p>
</div></div><!-- contents -->
<div style="clear: both; width: 100%; height: 31px; background-color: #ffff00; border: 1px solid #b0b0b0; margin: 5px 5px 5px 0; padding: 2px;">
  <a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=37044&amp;type=1" alt="SourceForge Logo" style="float: right; border: 0;"></a>
  <p style="padding-left: 10px; font-size: 85%;">Generated on Sat Mar 22 2014 05:34:27 for IT++ by <a href="http://www.doxygen.org/index.html">Doxygen</a> 1.8.6</p>
</div>
</body>
</html>