Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > b36c97ff723e66f0f38bce83645c99dc > files > 478

exiv2-doc-0.18.2-1mdv2010.0.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Exiv2: Exiv2::Internal::TiffDirectory Class 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.5.9 -->
<div class="navigation" id="top">
  <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 class="current"><a href="annotated.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>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</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="navpath"><a class="el" href="namespaceExiv2.html">Exiv2</a>::<a class="el" href="namespaceExiv2_1_1Internal.html">Internal</a>::<a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html">TiffDirectory</a>
  </div>
</div>
<div class="contents">
<h1>Exiv2::Internal::TiffDirectory Class Reference</h1><!-- doxytag: class="Exiv2::Internal::TiffDirectory" --><!-- doxytag: inherits="Exiv2::Internal::TiffComponent" -->This class models a TIFF directory (Ifd). It is a composite component of the TIFF tree.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;tiffcomposite_int.hpp&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for Exiv2::Internal::TiffDirectory:</div>
<div class="dynsection">
<p><center><img src="classExiv2_1_1Internal_1_1TiffDirectory__inherit__graph.png" border="0" usemap="#Exiv2_1_1Internal_1_1TiffDirectory__inherit__map" alt="Inheritance graph"></center>
<map name="Exiv2_1_1Internal_1_1TiffDirectory__inherit__map">
<area shape="rect" id="node2" href="classExiv2_1_1Internal_1_1TiffComponent.html" title="Interface class for components of a TIFF directory hierarchy (Composite pattern)..." alt="" coords="5,5,325,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for Exiv2::Internal::TiffDirectory:</div>
<div class="dynsection">
<p><center><img src="classExiv2_1_1Internal_1_1TiffDirectory__coll__graph.png" border="0" usemap="#Exiv2_1_1Internal_1_1TiffDirectory__coll__map" alt="Collaboration graph"></center>
<map name="Exiv2_1_1Internal_1_1TiffDirectory__coll__map">
<area shape="rect" id="node2" href="classExiv2_1_1Internal_1_1TiffComponent.html" title="Interface class for components of a TIFF directory hierarchy (Composite pattern)..." alt="" coords="5,5,325,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classExiv2_1_1Internal_1_1TiffDirectory-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="5b553466fa0a98c78065f5c8ab6c3370"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::TiffDirectory" ref="5b553466fa0a98c78065f5c8ab6c3370" args="(uint16_t tag, uint16_t group, bool hasNext=true)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#5b553466fa0a98c78065f5c8ab6c3370">TiffDirectory</a> (uint16_t tag, uint16_t group, bool hasNext=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6a96bce72c035f3d06b65515a3987d4e"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::~TiffDirectory" ref="6a96bce72c035f3d06b65515a3987d4e" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#6a96bce72c035f3d06b65515a3987d4e">~TiffDirectory</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Virtual destructor. <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ef7bd156689b6eeb424051ac5afc5cb3"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::hasNext" ref="ef7bd156689b6eeb424051ac5afc5cb3" args="() const " -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#ef7bd156689b6eeb424051ac5afc5cb3">hasNext</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return true if the directory has a next pointer. <br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></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="51b3953f350803c19e27298ee05dd601"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::doAddPath" ref="51b3953f350803c19e27298ee05dd601" args="(uint16_t tag, TiffPath &amp;tiffPath)" -->
virtual <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html">TiffComponent</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#51b3953f350803c19e27298ee05dd601">doAddPath</a> (uint16_t tag, <a class="el" href="namespaceExiv2_1_1Internal.html#b19b0d2996c210036ff4c659eac717eb">TiffPath</a> &amp;tiffPath)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implements <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#2f118371ca882315b407ae5d04df6702" title="Add a TIFF entry tag to the component. Components on the path to the entry are added...">addPath()</a>. The default implementation does nothing. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0cd8d9ad166b653dd0c8fb9733b6d374"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::doAddChild" ref="0cd8d9ad166b653dd0c8fb9733b6d374" args="(TiffComponent::AutoPtr tiffComponent)" -->
virtual <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html">TiffComponent</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#0cd8d9ad166b653dd0c8fb9733b6d374">doAddChild</a> (<a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#e6f6d2a03171e797fccd52abde24e3ca">TiffComponent::AutoPtr</a> tiffComponent)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implements <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#1825bde24910a87e05777b4bd3c0ea5d" title="Add a child to the component. Default is to do nothing.">addChild()</a>. The default implementation does nothing. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="140035903eec245e85b08144e3188ac0"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::doAddNext" ref="140035903eec245e85b08144e3188ac0" args="(TiffComponent::AutoPtr tiffComponent)" -->
virtual <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html">TiffComponent</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#140035903eec245e85b08144e3188ac0">doAddNext</a> (<a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#e6f6d2a03171e797fccd52abde24e3ca">TiffComponent::AutoPtr</a> tiffComponent)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implements <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#f69c23f599da7c4cd46d7190af0aaac4" title="Add a &quot;next&quot; component to the component. Default is to do nothing.">addNext()</a>. The default implementation does nothing. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c24c3cf20ba342b1a3edca0d00ccd25"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::doAccept" ref="9c24c3cf20ba342b1a3edca0d00ccd25" args="(TiffVisitor &amp;visitor)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#9c24c3cf20ba342b1a3edca0d00ccd25">doAccept</a> (<a class="el" href="classExiv2_1_1Internal_1_1TiffVisitor.html">TiffVisitor</a> &amp;visitor)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implements <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#e76a57686b20b3f0db99dd43162e6aef" title="Interface to accept visitors (Visitor pattern). Visitors can perform operations on...">accept()</a>. <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Write support (Manipulators)</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3d9fdbb223252f77989bc1cc5ead4156"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::doWrite" ref="3d9fdbb223252f77989bc1cc5ead4156" args="(Blob &amp;blob, ByteOrder byteOrder, int32_t offset, uint32_t valueIdx, uint32_t dataIdx, uint32_t &amp;imageIdx)" -->
virtual uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#3d9fdbb223252f77989bc1cc5ead4156">doWrite</a> (<a class="el" href="namespaceExiv2.html#6e7b9a2ef47caec919b15f1ae6ff4872">Blob</a> &amp;blob, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder, int32_t offset, uint32_t valueIdx, uint32_t dataIdx, uint32_t &amp;imageIdx)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implements <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#55718c4016169c10a3f798aa5f578ef2" title="Write a TiffComponent to a binary image.">write()</a>. Write the TIFF directory, values and additional data, including the next-IFD, if any, to the blob, return the number of bytes written. <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Write support (Accessors)</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e87ae38689eaa320b482f3d36846f1f7"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::doWriteData" ref="e87ae38689eaa320b482f3d36846f1f7" args="(Blob &amp;blob, ByteOrder byteOrder, int32_t offset, uint32_t dataIdx, uint32_t &amp;imageIdx) const " -->
virtual uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#e87ae38689eaa320b482f3d36846f1f7">doWriteData</a> (<a class="el" href="namespaceExiv2.html#6e7b9a2ef47caec919b15f1ae6ff4872">Blob</a> &amp;blob, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder, int32_t offset, uint32_t dataIdx, uint32_t &amp;imageIdx) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This class does not really implement <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#785a467e54a53a59858ef2675c209cb4" title="Write the IFD data of this component to a binary image. Return the number of bytes...">writeData()</a>, it only has <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#55718c4016169c10a3f798aa5f578ef2" title="Write a TiffComponent to a binary image.">write()</a>. This method must not be called; it commits suicide. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="310638a6158b1b7c87eb1c26b09ffade"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::doWriteImage" ref="310638a6158b1b7c87eb1c26b09ffade" args="(Blob &amp;blob, ByteOrder byteOrder) const " -->
virtual uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#310638a6158b1b7c87eb1c26b09ffade">doWriteImage</a> (<a class="el" href="namespaceExiv2.html#6e7b9a2ef47caec919b15f1ae6ff4872">Blob</a> &amp;blob, <a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a> byteOrder) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implements <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#e2628c0c912cb171367d75b557dbeb96" title="Write the image data of this component to a binary image. Return the number of bytes...">writeImage()</a>. Write the image data of the TIFF directory to the blob by forwarding the call to each component as well as the next-IFD, if there is any. Return the number of bytes written. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="87123a7c0ad59e20787bae08aaf05a96"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::doSize" ref="87123a7c0ad59e20787bae08aaf05a96" args="() const " -->
virtual uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#87123a7c0ad59e20787bae08aaf05a96">doSize</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implements <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#70cb160a3ee96b6f3d4121e85f3628ab" title="Return the size in bytes of the IFD value of this component when written to a binary...">size()</a>. Return the size of the TIFF directory, values and additional data, including the next-IFD, if any. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2246533d9c0b513e9a1401cb9d9372fc"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::doCount" ref="2246533d9c0b513e9a1401cb9d9372fc" args="() const " -->
virtual uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#2246533d9c0b513e9a1401cb9d9372fc">doCount</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implements <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#8a6995093d8709c2f5061512d0d0f21f" title="Return the number of components in this component.">count()</a>. Return the number of entries in the TIFF directory. Does not count entries which are marked as deleted. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3dc705651c85afc175c22a5a57d1fe78"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::doSizeData" ref="3dc705651c85afc175c22a5a57d1fe78" args="() const " -->
virtual uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#3dc705651c85afc175c22a5a57d1fe78">doSizeData</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This class does not really implement <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#5c6eabeeb172dd41745f6713bcfcb34f" title="Return the size in bytes of the IFD data of this component when written to a binary...">sizeData()</a>, it only has <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#70cb160a3ee96b6f3d4121e85f3628ab" title="Return the size in bytes of the IFD value of this component when written to a binary...">size()</a>. This method must not be called; it commits suicide. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b0c59e2aef3ff4f0bc48f27ba108e22d"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::doSizeImage" ref="b0c59e2aef3ff4f0bc48f27ba108e22d" args="() const " -->
virtual uint32_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffDirectory.html#b0c59e2aef3ff4f0bc48f27ba108e22d">doSizeImage</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Implements <a class="el" href="classExiv2_1_1Internal_1_1TiffComponent.html#192645bb7f6f48a8e4bbf0fc330555e4" title="Return the size in bytes of the image data of this component when written to a binary...">sizeImage()</a>. Return the sum of the image sizes of all components plus that of the next-IFD, if there is any. <br></td></tr>
<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5dd5ce530d9b1012873f50e10c03477d"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::TiffEncoder" ref="5dd5ce530d9b1012873f50e10c03477d" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><b>TiffEncoder</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="85ccad188e17b30cc59a6652212619d0"></a><!-- doxytag: member="Exiv2::Internal::TiffDirectory::TiffPrinter" ref="85ccad188e17b30cc59a6652212619d0" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><b>TiffPrinter</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This class models a TIFF directory (Ifd). It is a composite component of the TIFF tree. <hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="tiffcomposite__int_8hpp.html">tiffcomposite_int.hpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jun 25 15:18:15 2009 for Exiv2 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>