/usr/share/doc/libwreport-doc/apidocs/structwreport_1_1error__alloc.html is in libwreport-doc 2.1-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 | <!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"/>
<title>libwreport: wreport::error_alloc Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<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">2.1</span></div>
</td>
</tr>
</tbody>
</table>
</div>
<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"><a class="el" href="structwreport_1_1error__alloc.html">error_alloc</a> </li>
</ul>
</div>
</div>
<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::error_alloc Struct Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="wreport::error_alloc" --><!-- doxytag: inherits="wreport::error" -->
<p>Reports that memory allocation has failed.
<a href="structwreport_1_1error__alloc.html#details">More...</a></p>
<p><code>#include <<a class="el" href="error_8h_source.html">error.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for wreport::error_alloc:</div>
<div class="dyncontent">
<div class="center">
<img src="structwreport_1_1error__alloc.png" usemap="#wreport::error_alloc_map" alt=""/>
<map id="wreport::error_alloc_map" name="wreport::error_alloc_map">
<area href="structwreport_1_1error.html" title="Base class for DB-All.e exceptions." alt="wreport::error" shape="rect" coords="0,0,124,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__alloc.html#ad865d6f9457fbf6d62bb2765989f5b3f">error_alloc</a> (const char *<a class="el" href="structwreport_1_1error__alloc.html#a80ac7757e9ea6469d40aa5cda22f962e">msg</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacewreport.html#a53c24a445a0ba1700685384ab3230af0">ErrorCode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__alloc.html#a8bf27eb0d664b53518985ce2065c3950">code</a> () const throw ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Exception-specific error code. <a href="#a8bf27eb0d664b53518985ce2065c3950"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeffc52932f4d9cefb06dfca97057f569"></a><!-- doxytag: member="wreport::error_alloc::what" ref="aeffc52932f4d9cefb06dfca97057f569" args="() const " -->
virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__alloc.html#aeffc52932f4d9cefb06dfca97057f569">what</a> () const throw ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Throw the exception, building the message printf-style. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80ac7757e9ea6469d40aa5cda22f962e"></a><!-- doxytag: member="wreport::error_alloc::msg" ref="a80ac7757e9ea6469d40aa5cda22f962e" args="" -->
const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structwreport_1_1error__alloc.html#a80ac7757e9ea6469d40aa5cda22f962e">msg</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">error message returned by <a class="el" href="structwreport_1_1error__alloc.html#aeffc52932f4d9cefb06dfca97057f569" title="Throw the exception, building the message printf-style.">what()</a> <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Reports that memory allocation has failed. </p>
</div><hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="ad865d6f9457fbf6d62bb2765989f5b3f"></a><!-- doxytag: member="wreport::error_alloc::error_alloc" ref="ad865d6f9457fbf6d62bb2765989f5b3f" args="(const char *msg)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wreport::error_alloc::error_alloc </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>msg</em></td><td>)</td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">msg</td><td>error message. It is a plain const char* in this case in order to keep things as simple as possible in case we really are very short of memory. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8bf27eb0d664b53518985ce2065c3950"></a><!-- doxytag: member="wreport::error_alloc::code" ref="a8bf27eb0d664b53518985ce2065c3950" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacewreport.html#a53c24a445a0ba1700685384ab3230af0">ErrorCode</a> wreport::error_alloc::code </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const throw ()<code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Exception-specific error code. </p>
<p>This is useful to map C++ exceptions to C or Fortran error codes </p>
<p>Implements <a class="el" href="structwreport_1_1error.html#abcd943aabfd41f631597eb4730d2f5f4">wreport::error</a>.</p>
<p>References <a class="el" href="namespacewreport.html#a53c24a445a0ba1700685384ab3230af0aef39e92a55d9c0e38b62cb582bdbd35d">wreport::WR_ERR_ALLOC</a>.</p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="error_8h_source.html">error.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jul 28 2011 00:13:15 for libwreport by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
|