File: classExiv2_1_1IoCloser.html

package info (click to toggle)
exiv2 0.10-1.4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 13,124 kB
  • ctags: 5,665
  • sloc: cpp: 20,697; xml: 15,118; sh: 10,526; ansic: 1,887; makefile: 367; awk: 64; python: 36
file content (66 lines) | stat: -rw-r--r-- 5,639 bytes parent folder | download | duplicates (2)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Exiv2: Exiv2::IoCloser Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="examples.html"><span>Examples</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="namespaceExiv2.html">Exiv2</a>::<a class="el" href="classExiv2_1_1IoCloser.html">IoCloser</a></div>
<h1>Exiv2::IoCloser Class Reference</h1><!-- doxytag: class="Exiv2::IoCloser" -->Utility class that closes a <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance upon destruction. Meant to be used as a stack variable in functions that need to ensure <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instances get closed. Useful when functions return errors from many locations.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;basicio.hpp&gt;</code>
<p>
Collaboration diagram for Exiv2::IoCloser:<p><center><img src="classExiv2_1_1IoCloser__coll__graph.png" border="0" usemap="#Exiv2_1_1IoCloser__coll__map" alt="Collaboration graph"></center>
<map name="Exiv2_1_1IoCloser__coll__map">
<area href="classExiv2_1_1BasicIo.html" shape="rect" coords="8,7,115,31" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classExiv2_1_1IoCloser-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Creators</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="72accf64d9ef3d84869f046709ce3a46"></a><!-- doxytag: member="Exiv2::IoCloser::IoCloser" ref="72accf64d9ef3d84869f046709ce3a46" args="(BasicIo &amp;bio)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1IoCloser.html#72accf64d9ef3d84869f046709ce3a46">IoCloser</a> (<a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> &amp;bio)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor, takes a <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> reference. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0aedeadca821f9729742963c2f9ec54d"></a><!-- doxytag: member="Exiv2::IoCloser::~IoCloser" ref="0aedeadca821f9729742963c2f9ec54d" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1IoCloser.html#0aedeadca821f9729742963c2f9ec54d">~IoCloser</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor, closes the <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> reference. <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bf6fd92de40b9371b0df6e52ba63016a"></a><!-- doxytag: member="Exiv2::IoCloser::close" ref="bf6fd92de40b9371b0df6e52ba63016a" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1IoCloser.html#bf6fd92de40b9371b0df6e52ba63016a">close</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Close the <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> if it is open. <br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="efe0b0d7b2bf97cffac29fa5a388e75b"></a><!-- doxytag: member="Exiv2::IoCloser::bio_" ref="efe0b0d7b2bf97cffac29fa5a388e75b" args="" -->
<a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1IoCloser.html#efe0b0d7b2bf97cffac29fa5a388e75b">bio_</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> reference. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Utility class that closes a <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instance upon destruction. Meant to be used as a stack variable in functions that need to ensure <a class="el" href="classExiv2_1_1BasicIo.html">BasicIo</a> instances get closed. Useful when functions return errors from many locations. 
<p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="basicio_8hpp.html">basicio.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Jun 2 23:54:46 2006 for Exiv2 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>