/usr/share/doc/mia-2.0/libdoc/classCInputFile.html is in libmia-2.0-doc 2.0.13-1.
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 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>CInputFile Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">CInputFile Class Reference<div class="ingroups"><a class="el" href="group__io.html">Input/output of files</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>A stdio FILE for opening a file for reading.
<a href="classCInputFile.html#details">More...</a></p>
<p><code>#include <<a class="el" href="file_8hh_source.html">mia/core/file.hh</a>></code></p>
<div class="dynheader">
Inheritance diagram for CInputFile:</div>
<div class="dyncontent">
<div class="center">
<img src="classCInputFile.png" usemap="#CInputFile_map" alt=""/>
<map id="CInputFile_map" name="CInputFile_map">
<area href="classCFile.html" title="A wrapper for the cstdio file type that closes the file automatically when the scope is left..." alt="CFile" shape="rect" coords="0,0,69,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aeb916b4fbb2d39c9cfcc8b6ed49077f6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCInputFile.html#aeb916b4fbb2d39c9cfcc8b6ed49077f6">CInputFile</a> (const std::string &filename)</td></tr>
<tr class="separator:aeb916b4fbb2d39c9cfcc8b6ed49077f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a58f80b90563fd6b8c8ef10cbaf30fe3d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCInputFile.html#a58f80b90563fd6b8c8ef10cbaf30fe3d">CInputFile</a> (const std::string &filename, bool from_stdin)</td></tr>
<tr class="separator:a58f80b90563fd6b8c8ef10cbaf30fe3d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classCFile"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classCFile')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classCFile.html">CFile</a></td></tr>
<tr class="memitem:abe0761a6a678ac8960689a27c31d9793 inherit pub_methods_classCFile"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCFile.html#abe0761a6a678ac8960689a27c31d9793">CFile</a> (const std::string &filename, bool from_stdio, bool write)</td></tr>
<tr class="separator:abe0761a6a678ac8960689a27c31d9793 inherit pub_methods_classCFile"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeee894ca43b68c2bbd26640d3d4a7dfc inherit pub_methods_classCFile"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCFile.html#aeee894ca43b68c2bbd26640d3d4a7dfc">operator PFILE</a> ()</td></tr>
<tr class="separator:aeee894ca43b68c2bbd26640d3d4a7dfc inherit pub_methods_classCFile"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a870b5a32c0e0dd2538a99b6004b86a98 inherit pub_methods_classCFile"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCFile.html#a870b5a32c0e0dd2538a99b6004b86a98">operator!</a> () const </td></tr>
<tr class="separator:a870b5a32c0e0dd2538a99b6004b86a98 inherit pub_methods_classCFile"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aebb1693f8c740d139f553b58874f82c1 inherit pub_methods_classCFile"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classCFile.html#aebb1693f8c740d139f553b58874f82c1">~CFile</a> () throw ()</td></tr>
<tr class="separator:aebb1693f8c740d139f553b58874f82c1 inherit pub_methods_classCFile"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A stdio FILE for opening a file for reading. </p>
<p>A simple wrapper for the stdio FILE type that handles opening and closing for reading and takes care, whether <em>stdin</em> should be used </p>
<p>Definition at line <a class="el" href="file_8hh_source.html#l00079">79</a> of file <a class="el" href="file_8hh_source.html">file.hh</a>.</p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="aeb916b4fbb2d39c9cfcc8b6ed49077f6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CInputFile::CInputFile </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>filename</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>constructor opens the file </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">filename</td><td>is the name of the file to be openend, if it is "-" then <em>stdin</em> is used </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a58f80b90563fd6b8c8ef10cbaf30fe3d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CInputFile::CInputFile </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>filename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>from_stdin</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>constructor opens the file </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">filename</td><td>is the name of the file to be openend </td></tr>
<tr><td class="paramname">from_stdin</td><td>force usage of <em>stdin</em> </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="file_8hh_source.html">file.hh</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jan 25 2014 23:52:09 by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
|