xref: /freebsd/contrib/lutok/api-docs/html/a00903.html (revision 132f818ddbf457ee67d502cd89b5a18e0a34713d)
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=11"/>
6<meta name="generator" content="Doxygen 1.9.6"/>
7<meta name="viewport" content="width=device-width, initial-scale=1"/>
8<title>Lutok: lutok::file_not_found_error Class Reference</title>
9<link href="tabs.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="dynsections.js"></script>
12<link href="search/search.css" rel="stylesheet" type="text/css"/>
13<script type="text/javascript" src="search/searchdata.js"></script>
14<script type="text/javascript" src="search/search.js"></script>
15<link href="doxygen.css" rel="stylesheet" type="text/css" />
16</head>
17<body>
18<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
19<div id="titlearea">
20<table cellspacing="0" cellpadding="0">
21 <tbody>
22 <tr id="projectrow">
23  <td id="projectalign">
24   <div id="projectname">Lutok<span id="projectnumber">&#160;0.6.2</span>
25   </div>
26  </td>
27 </tr>
28 </tbody>
29</table>
30</div>
31<!-- end header part -->
32<!-- Generated by Doxygen 1.9.6 -->
33<script type="text/javascript">
34/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
35var searchBox = new SearchBox("searchBox", "search/",'.html');
36/* @license-end */
37</script>
38<script type="text/javascript" src="menudata.js"></script>
39<script type="text/javascript" src="menu.js"></script>
40<script type="text/javascript">
41/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
42$(function() {
43  initMenu('',true,false,'search.php','Search');
44  $(document).ready(function() { init_search(); });
45});
46/* @license-end */
47</script>
48<div id="main-nav"></div>
49<!-- window showing the filter options -->
50<div id="MSearchSelectWindow"
51     onmouseover="return searchBox.OnSearchSelectShow()"
52     onmouseout="return searchBox.OnSearchSelectHide()"
53     onkeydown="return searchBox.OnSearchSelectKey(event)">
54</div>
55
56<!-- iframe showing the search results (closed by default) -->
57<div id="MSearchResultsWindow">
58<div id="MSearchResults">
59<div class="SRPage">
60<div id="SRIndex">
61<div id="SRResults"></div>
62<div class="SRStatus" id="Loading">Loading...</div>
63<div class="SRStatus" id="Searching">Searching...</div>
64<div class="SRStatus" id="NoMatches">No Matches</div>
65</div>
66</div>
67</div>
68</div>
69
70<div id="nav-path" class="navpath">
71  <ul>
72<li class="navelem"><b>lutok</b></li><li class="navelem"><a class="el" href="a00903.html">file_not_found_error</a></li>  </ul>
73</div>
74</div><!-- top -->
75<div class="header">
76  <div class="summary">
77<a href="#pub-methods">Public Member Functions</a> &#124;
78<a href="#pri-attribs">Private Attributes</a> &#124;
79<a href="a00900.html">List of all members</a>  </div>
80  <div class="headertitle"><div class="title">lutok::file_not_found_error Class Reference</div></div>
81</div><!--header-->
82<div class="contents">
83
84<p>File not found error.
85 <a href="a00903.html#details">More...</a></p>
86
87<p><code>#include &lt;<a class="el" href="a00053_source.html">exceptions.hpp</a>&gt;</code></p>
88<div class="dynheader">
89Inheritance diagram for lutok::file_not_found_error:</div>
90<div class="dyncontent">
91 <div class="center">
92  <img src="a00903.png" usemap="#lutok::file_5Fnot_5Ffound_5Ferror_map" alt=""/>
93  <map id="lutok::file_5Fnot_5Ffound_5Ferror_map" name="lutok::file_5Fnot_5Ffound_5Ferror_map">
94<area href="a00895.html" title="Base exception for lua errors." alt="lutok::error" shape="rect" coords="0,112,160,136"/>
95  </map>
96</div></div>
97<table class="memberdecls">
98<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
99Public Member Functions</h2></td></tr>
100<tr class="memitem:a7e45e973895b0fca784397d05a9c5d29"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00903.html#a7e45e973895b0fca784397d05a9c5d29">file_not_found_error</a> (const std::string &amp;)</td></tr>
101<tr class="memdesc:a7e45e973895b0fca784397d05a9c5d29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new error.  <br /></td></tr>
102<tr class="separator:a7e45e973895b0fca784397d05a9c5d29"><td class="memSeparator" colspan="2">&#160;</td></tr>
103<tr class="memitem:a21b0cecf0221c87e70a0fecfaf755da5"><td class="memItemLeft" align="right" valign="top"><a id="a21b0cecf0221c87e70a0fecfaf755da5" name="a21b0cecf0221c87e70a0fecfaf755da5"></a>
104virtual&#160;</td><td class="memItemRight" valign="bottom"><b>~file_not_found_error</b> (void)  throw ()</td></tr>
105<tr class="memdesc:a21b0cecf0221c87e70a0fecfaf755da5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor for the error. <br /></td></tr>
106<tr class="separator:a21b0cecf0221c87e70a0fecfaf755da5"><td class="memSeparator" colspan="2">&#160;</td></tr>
107<tr class="memitem:a02c12b0b81aceaaf859b9eb0a5fdf376"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00903.html#a02c12b0b81aceaaf859b9eb0a5fdf376">filename</a> (void) const</td></tr>
108<tr class="memdesc:a02c12b0b81aceaaf859b9eb0a5fdf376"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the name of the file that could not be found.  <br /></td></tr>
109<tr class="separator:a02c12b0b81aceaaf859b9eb0a5fdf376"><td class="memSeparator" colspan="2">&#160;</td></tr>
110<tr class="inherit_header pub_methods_a00895"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_a00895')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="a00895.html">lutok::error</a></td></tr>
111<tr class="memitem:a0c0a2ad18088fcafc0ca2a3b61ac5e00 inherit pub_methods_a00895"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00895.html#a0c0a2ad18088fcafc0ca2a3b61ac5e00">error</a> (const std::string &amp;)</td></tr>
112<tr class="memdesc:a0c0a2ad18088fcafc0ca2a3b61ac5e00 inherit pub_methods_a00895"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a new error with a plain-text message.  <br /></td></tr>
113<tr class="separator:a0c0a2ad18088fcafc0ca2a3b61ac5e00 inherit pub_methods_a00895"><td class="memSeparator" colspan="2">&#160;</td></tr>
114<tr class="memitem:a0e8084a7eaeb9c462e9ebfe26c3c86e8 inherit pub_methods_a00895"><td class="memItemLeft" align="right" valign="top"><a id="a0e8084a7eaeb9c462e9ebfe26c3c86e8" name="a0e8084a7eaeb9c462e9ebfe26c3c86e8"></a>
115virtual&#160;</td><td class="memItemRight" valign="bottom"><b>~error</b> (void)  throw ()</td></tr>
116<tr class="memdesc:a0e8084a7eaeb9c462e9ebfe26c3c86e8 inherit pub_methods_a00895"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor for the error. <br /></td></tr>
117<tr class="separator:a0e8084a7eaeb9c462e9ebfe26c3c86e8 inherit pub_methods_a00895"><td class="memSeparator" colspan="2">&#160;</td></tr>
118</table><table class="memberdecls">
119<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
120Private Attributes</h2></td></tr>
121<tr class="memitem:a3d0b3583063025c59481b05e2d6345ec"><td class="memItemLeft" align="right" valign="top"><a id="a3d0b3583063025c59481b05e2d6345ec" name="a3d0b3583063025c59481b05e2d6345ec"></a>
122std::string&#160;</td><td class="memItemRight" valign="bottom"><b>_filename</b></td></tr>
123<tr class="memdesc:a3d0b3583063025c59481b05e2d6345ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name of the not-found file. <br /></td></tr>
124<tr class="separator:a3d0b3583063025c59481b05e2d6345ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
125</table>
126<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
127<div class="textblock"><p>File not found error. </p>
128</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
129<a id="a7e45e973895b0fca784397d05a9c5d29" name="a7e45e973895b0fca784397d05a9c5d29"></a>
130<h2 class="memtitle"><span class="permalink"><a href="#a7e45e973895b0fca784397d05a9c5d29">&#9670;&#160;</a></span>file_not_found_error()</h2>
131
132<div class="memitem">
133<div class="memproto">
134<table class="mlabels">
135  <tr>
136  <td class="mlabels-left">
137      <table class="memname">
138        <tr>
139          <td class="memname">lutok::file_not_found_error::file_not_found_error </td>
140          <td>(</td>
141          <td class="paramtype">const std::string &amp;&#160;</td>
142          <td class="paramname"><em>filename_</em></td><td>)</td>
143          <td></td>
144        </tr>
145      </table>
146  </td>
147  <td class="mlabels-right">
148<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
149  </tr>
150</table>
151</div><div class="memdoc">
152
153<p>Constructs a new error. </p>
154<dl class="params"><dt>Parameters</dt><dd>
155  <table class="params">
156    <tr><td class="paramname">filename_</td><td>The file that count not be found. </td></tr>
157  </table>
158  </dd>
159</dl>
160
161</div>
162</div>
163<h2 class="groupheader">Member Function Documentation</h2>
164<a id="a02c12b0b81aceaaf859b9eb0a5fdf376" name="a02c12b0b81aceaaf859b9eb0a5fdf376"></a>
165<h2 class="memtitle"><span class="permalink"><a href="#a02c12b0b81aceaaf859b9eb0a5fdf376">&#9670;&#160;</a></span>filename()</h2>
166
167<div class="memitem">
168<div class="memproto">
169      <table class="memname">
170        <tr>
171          <td class="memname">const std::string &amp; lutok::file_not_found_error::filename </td>
172          <td>(</td>
173          <td class="paramtype">void&#160;</td>
174          <td class="paramname"></td><td>)</td>
175          <td> const</td>
176        </tr>
177      </table>
178</div><div class="memdoc">
179
180<p>Gets the name of the file that could not be found. </p>
181<dl class="section return"><dt>Returns</dt><dd>The name of the file. </dd></dl>
182
183</div>
184</div>
185<hr/>The documentation for this class was generated from the following files:<ul>
186<li><a class="el" href="a00053_source.html">exceptions.hpp</a></li>
187<li>exceptions.cpp</li>
188</ul>
189</div><!-- contents -->
190<!-- start footer part -->
191<hr class="footer"/><address class="footer"><small>
192Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
193</small></address>
194</body>
195</html>
196