/usr/share/doc/source-highlight/test_refs.h.html is in source-highlight 3.1.6-2ubuntu1.
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 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite">
<title>Contains references to tags</title>
</head>
<body bgcolor="white">
<pre><tt><font color="#000000">01:</font> <i><font color="#9A1900">/*</font></i>
<font color="#000000">02:</font> <i><font color="#9A1900">** Copyright (C) 1999, 2000, 2001 Lorenzo Bettini</font></i>
<font color="#000000">03:</font> <i><font color="#9A1900">** </font></i>
<font color="#000000">04:</font> <i><font color="#9A1900">** This program is free software; you can redistribute it and/or modify</font></i>
<font color="#000000">05:</font> <i><font color="#9A1900">** it under the terms of the GNU General Public License as published by</font></i>
<font color="#000000">06:</font> <i><font color="#9A1900">** the Free Software Foundation; either version 3 of the License, or</font></i>
<font color="#000000">07:</font> <i><font color="#9A1900">** (at your option) any later version.</font></i>
<font color="#000000">08:</font> <i><font color="#9A1900">** </font></i>
<font color="#000000">09:</font> <i><font color="#9A1900">** This program is distributed in the hope that it will be useful,</font></i>
<font color="#000000">10:</font> <i><font color="#9A1900">** but WITHOUT ANY WARRANTY; without even the implied warranty of</font></i>
<font color="#000000">11:</font> <i><font color="#9A1900">** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</font></i>
<font color="#000000">12:</font> <i><font color="#9A1900">** GNU General Public License for more details.</font></i>
<font color="#000000">13:</font> <i><font color="#9A1900">** </font></i>
<font color="#000000">14:</font> <i><font color="#9A1900">** You should have received a copy of the GNU General Public License</font></i>
<font color="#000000">15:</font> <i><font color="#9A1900">** along with this program; if not, write to the Free Software</font></i>
<font color="#000000">16:</font> <i><font color="#9A1900">** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</font></i>
<font color="#000000">17:</font> <i><font color="#9A1900">** </font></i>
<font color="#000000">18:</font> <i><font color="#9A1900">*/</font></i>
<font color="#000000">19:</font>
<font color="#000000">20:</font> <i><font color="#9A1900">// this file also contains the definition of mysum as a #define</font></i>
<font color="#000000">21:</font>
<font color="#000000">22:</font> <i><font color="#9A1900">// textgenerator.h : Text Generator class &&</font></i>
<font color="#000000">23:</font>
<font color="#000000">24:</font> <b><font color="#000080">#ifndef</font></b> <a href="test_refs.h.html#25">_TEXTGEN_H</a>
<font color="#000000">25:</font> <b><font color="#000080">#define</font></b> <a name="25">_TEXTGEN_H</a>
<font color="#000000">26:</font>
<font color="#000000">27:</font> <b><font color="#000080">#define</font></b> <b><font color="#000000"><a name="27">foo</a></font></b><font color="#990000">(</font>x<font color="#990000">)</font> <font color="#990000">(</font>x <font color="#990000">+</font> <font color="#993399">1</font><font color="#990000">)</font>
<font color="#000000">28:</font>
<font color="#000000">29:</font> <b><font color="#000080">#define</font></b> <a name="29">mysum</a> myfunbody
<font color="#000000">30:</font>
<font color="#000000">31:</font> <b><font color="#000080">#include</font></b> <font color="#FF0000"><iostream.h></font> <i><font color="#9A1900">// for cerr</font></i>
<font color="#000000">32:</font>
<font color="#000000">33:</font> <b><font color="#000080">#include</font></b> <font color="#FF0000">"genfun.h"</font> <i><font color="#9A1900">/* for generating functions */</font></i>
<font color="#000000">34:</font>
<font color="#000000">35:</font> <b><font color="#0000FF">class</font></b> <font color="#008080"><a name="35">TextGenerator</a></font> <font color="#FF0000">{</font>
<font color="#000000">36:</font> <b><font color="#0000FF">public</font></b> <font color="#990000">:</font>
<font color="#000000">37:</font> <b><font color="#0000FF">virtual</font></b> <font color="#009900">void</font> <b><font color="#000000">generate</font></b><font color="#990000">(</font> <b><font color="#0000FF">const</font></b> <font color="#009900">char</font> <font color="#990000">*</font>s <font color="#990000">)</font> <b><font color="#0000FF">const</font></b><font color="#990000">;</font>
<a href="test_refs.cpp.html#3">generate -> test_refs.cpp:3</a>
<a href="test_refs.cpp.html#8">generate -> test_refs.cpp:8</a>
<font color="#000000">38:</font> <b><font color="#0000FF">virtual</font></b> <font color="#009900">void</font> <b><font color="#000000">generate</font></b><font color="#990000">(</font> <b><font color="#0000FF">const</font></b> <font color="#009900">char</font> <font color="#990000">*</font>s<font color="#990000">,</font> <font color="#009900">int</font> start<font color="#990000">,</font> <font color="#009900">int</font> end <font color="#990000">)</font> <b><font color="#0000FF">const</font></b><font color="#990000">;</font>
<a href="test_refs.cpp.html#3">generate -> test_refs.cpp:3</a>
<a href="test_refs.cpp.html#8">generate -> test_refs.cpp:8</a>
<font color="#000000">39:</font> <b><font color="#0000FF">virtual</font></b> <font color="#009900">void</font> <b><font color="#000000"><a href="test_refs.cpp.html#15">generateln</a></font></b><font color="#990000">(</font> <b><font color="#0000FF">const</font></b> <font color="#009900">char</font> <font color="#990000">*</font>s <font color="#990000">)</font> <b><font color="#0000FF">const</font></b><font color="#990000">;</font>
<font color="#000000">40:</font> <b><font color="#0000FF">virtual</font></b> <font color="#009900">void</font> <b><font color="#000000"><a href="test_refs.cpp.html#21">generateEntire</a></font></b><font color="#990000">(</font> <b><font color="#0000FF">const</font></b> <font color="#009900">char</font> <font color="#990000">*</font>s <font color="#990000">)</font> <b><font color="#0000FF">const</font></b><font color="#990000">;</font>
<font color="#000000">41:</font> <b><font color="#0000FF">virtual</font></b> <font color="#009900">void</font> <b><font color="#000000"><a name="41">startTextGeneration</a></font></b><font color="#990000">()</font> <b><font color="#0000FF">const</font></b> <font color="#FF0000">{}</font>
<font color="#000000">42:</font> <b><font color="#0000FF">virtual</font></b> <font color="#009900">void</font> <b><font color="#000000"><a name="42">endTextGeneration</a></font></b><font color="#990000">()</font> <b><font color="#0000FF">const</font></b> <font color="#FF0000">{}</font>
<font color="#000000">43:</font> <b><font color="#0000FF">virtual</font></b> <font color="#009900">void</font> <b><font color="#000000"><a href="test_refs.cpp.html#28">beginText</a></font></b><font color="#990000">(</font> <b><font color="#0000FF">const</font></b> <font color="#009900">char</font> <font color="#990000">*</font>s <font color="#990000">)</font> <b><font color="#0000FF">const</font></b><font color="#990000">;</font>
<font color="#000000">44:</font> <b><font color="#0000FF">virtual</font></b> <font color="#009900">void</font> <b><font color="#000000"><a href="test_refs.cpp.html#35">endText</a></font></b><font color="#990000">(</font> <b><font color="#0000FF">const</font></b> <font color="#009900">char</font> <font color="#990000">*</font>s <font color="#990000">)</font> <b><font color="#0000FF">const</font></b><font color="#990000">;</font>
<font color="#000000">45:</font> <font color="#FF0000">}</font> <font color="#990000">;</font>
<font color="#000000">46:</font>
<font color="#000000">47:</font> <i><font color="#9A1900">// Decorator</font></i>
<font color="#000000">48:</font> <b><font color="#0000FF">class</font></b> <font color="#008080"><a name="48">TextDecorator</a></font> <font color="#990000">:</font> <b><font color="#0000FF">public</font></b> <a href="test_refs.h.html#35">TextGenerator</a> <font color="#FF0000">{</font>
<font color="#000000">49:</font> <b><font color="#0000FF">protected</font></b> <font color="#990000">:</font>
<font color="#000000">50:</font> <font color="#008080"><a href="test_refs.h.html#35">TextGenerator</a></font> <font color="#990000">*</font><a name="50">decorated</a> <font color="#990000">;</font>
<font color="#000000">51:</font>
<font color="#000000">52:</font> <b><font color="#0000FF">public</font></b> <font color="#990000">:</font>
<font color="#000000">53:</font> <b><font color="#000000">TextDecorator</font></b><font color="#990000">(</font> <font color="#008080"><a href="test_refs.h.html#35">TextGenerator</a></font> <font color="#990000">*</font>t <font color="#990000">);</font>
<a href="test_refs.cpp.html#42">TextDecorator -> test_refs.cpp:42</a>
<a href="test_refs.h.html#48">TextDecorator -> test_refs.h:48</a>
<font color="#000000">54:</font>
<font color="#000000">55:</font> <b><font color="#0000FF">virtual</font></b> <font color="#009900">void</font> <b><font color="#000000">startTextGeneration</font></b><font color="#990000">()</font> <b><font color="#0000FF">const</font></b><font color="#990000">;</font>
<a href="test_refs.cpp.html#46">startTextGeneration -> test_refs.cpp:46</a>
<a href="test_refs.cpp.html#53">startTextGeneration -> test_refs.cpp:53</a>
<a href="test_refs.h.html#41">startTextGeneration -> test_refs.h:41</a>
<font color="#000000">56:</font> <b><font color="#0000FF">virtual</font></b> <font color="#009900">void</font> <b><font color="#000000">endTextGeneration</font></b><font color="#990000">()</font> <b><font color="#0000FF">const</font></b><font color="#990000">;</font>
<a href="test_refs.cpp.html#60">endTextGeneration -> test_refs.cpp:60</a>
<a href="test_refs.h.html#42">endTextGeneration -> test_refs.h:42</a>
<font color="#000000">57:</font>
<font color="#000000">58:</font> <i><font color="#9A1900">// pure virtual functions</font></i>
<font color="#000000">59:</font> <b><font color="#0000FF">virtual</font></b> <font color="#009900">void</font> <b><font color="#000000">startDecorate</font></b><font color="#990000">()</font> <b><font color="#0000FF">const</font></b> <font color="#990000">=</font> <font color="#993399">0</font> <font color="#990000">;</font>
<font color="#000000">60:</font> <b><font color="#0000FF">virtual</font></b> <font color="#009900">void</font> <b><font color="#000000">endDecorate</font></b><font color="#990000">()</font> <b><font color="#0000FF">const</font></b> <font color="#990000">=</font> <font color="#993399">0</font> <font color="#990000">;</font>
<font color="#000000">61:</font> <font color="#FF0000">}</font> <font color="#990000">;</font>
<font color="#000000">62:</font>
<font color="#000000">63:</font> <b><font color="#000080">#endif</font></b> <i><font color="#9A1900">// _TEXTGEN_H</font></i>
<font color="#000000">64:</font> </tt></pre>
</body>
</html>
|