/usr/share/doc/libwreport-doc/apidocs/structwreport_1_1options_1_1LocalOverride.html is in libwreport-doc 3.5-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 | <!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.9.1"/>
<title>libwreport: wreport::options::LocalOverride< T > Struct Template 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! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">libwreport
 <span id="projectnumber">3.5</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<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="namespaces.html"><span>Namespaces</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="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacewreport.html">wreport</a></li><li class="navelem"><b>options</b></li><li class="navelem"><a class="el" href="structwreport_1_1options_1_1LocalOverride.html">LocalOverride</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">wreport::options::LocalOverride< T > Struct Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Temporarily override a variable while this object is in scope.
<a href="structwreport_1_1options_1_1LocalOverride.html#details">More...</a></p>
<p><code>#include <<a class="el" href="options_8h_source.html">options.h</a>></code></p>
<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:aa7f31f852263da9b773951189017b049"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa7f31f852263da9b773951189017b049"></a>
 </td><td class="memItemRight" valign="bottom"><b>LocalOverride</b> (T &param, const T &new_value)</td></tr>
<tr class="separator:aa7f31f852263da9b773951189017b049"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a6267d8a2fa0570751b6b80ef99766d47"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6267d8a2fa0570751b6b80ef99766d47"></a>
T </td><td class="memItemRight" valign="bottom"><b>old_value</b></td></tr>
<tr class="separator:a6267d8a2fa0570751b6b80ef99766d47"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a345c6475938ff4d5dac77aa6c395d054"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a345c6475938ff4d5dac77aa6c395d054"></a>
T & </td><td class="memItemRight" valign="bottom"><b>param</b></td></tr>
<tr class="separator:a345c6475938ff4d5dac77aa6c395d054"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template<typename T><br />
struct wreport::options::LocalOverride< T ></h3>
<p>Temporarily override a variable while this object is in scope. </p>
<p>Note that if the variable is global, then the override is temporally limited to the scope, but it is seen by all the functions that reference the variable functions.</p>
<p>Example: </p><div class="fragment"><div class="line">{</div>
<div class="line"> <span class="keyword">auto</span> o = options::local_override(options::var_silent_domain_errors, <span class="keyword">true</span>);</div>
<div class="line"> var.setd(value)</div>
<div class="line">}</div>
</div><!-- fragment --> </div><hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="options_8h_source.html">options.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 28 2016 05:14:21 for libwreport by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
|