Sophie

Sophie

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

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::TiffMapping 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_1TiffMapping.html">TiffMapping</a>
  </div>
</div>
<div class="contents">
<h1>Exiv2::Internal::TiffMapping Class Reference</h1><!-- doxytag: class="Exiv2::Internal::TiffMapping" -->Table of TIFF decoding and encoding functions and find functions. This class is separated from the metadata decoder and encoder visitors so that the parser can be parametrized with a different table if needed. This is used, eg., for CR2 format, which uses a different decoder table.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;tiffimage_int.hpp&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for Exiv2::Internal::TiffMapping:</div>
<div class="dynsection">
<p><center><img src="classExiv2_1_1Internal_1_1TiffMapping__coll__graph.png" border="0" usemap="#Exiv2_1_1Internal_1_1TiffMapping__coll__map" alt="Collaboration graph"></center>
<map name="Exiv2_1_1Internal_1_1TiffMapping__coll__map">
<area shape="rect" id="node2" href="structExiv2_1_1Internal_1_1TiffMappingInfo.html" title="TIFF mapping table for functions to decode special cases." alt="" coords="5,5,347,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classExiv2_1_1Internal_1_1TiffMapping-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="namespaceExiv2_1_1Internal.html#fce7181e4775c5fec3c580c08042b1ca">DecoderFct</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffMapping.html#2a27c5a284e19a30a02305f770e19002">findDecoder</a> (const std::string &amp;make, uint32_t extendedTag, uint16_t group)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find the decoder function for a key.  <a href="#2a27c5a284e19a30a02305f770e19002"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="namespaceExiv2_1_1Internal.html#e1dc6f098c07a468066b0b6c99b8fdd9">EncoderFct</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1TiffMapping.html#7869f71ce2f9a94800d58078582e6ca3">findEncoder</a> (const std::string &amp;make, uint32_t extendedTag, uint16_t group)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Find special encoder function for a key.  <a href="#7869f71ce2f9a94800d58078582e6ca3"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Table of TIFF decoding and encoding functions and find functions. This class is separated from the metadata decoder and encoder visitors so that the parser can be parametrized with a different table if needed. This is used, eg., for CR2 format, which uses a different decoder table. <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="2a27c5a284e19a30a02305f770e19002"></a><!-- doxytag: member="Exiv2::Internal::TiffMapping::findDecoder" ref="2a27c5a284e19a30a02305f770e19002" args="(const std::string &amp;make, uint32_t extendedTag, uint16_t group)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceExiv2_1_1Internal.html#fce7181e4775c5fec3c580c08042b1ca">DecoderFct</a> Exiv2::Internal::TiffMapping::findDecoder           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>make</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&nbsp;</td>
          <td class="paramname"> <em>extendedTag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&nbsp;</td>
          <td class="paramname"> <em>group</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Find the decoder function for a key. 
<p>
If the returned pointer is 0, the tag should not be decoded, else the decoder function should be used.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>make</em>&nbsp;</td><td>Camera make </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>extendedTag</em>&nbsp;</td><td>Extended tag </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>group</em>&nbsp;</td><td>Group</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to the decoder function </dd></dl>

<p>References <a class="el" href="tiffcomposite__int_8hpp_source.html#l00359">Exiv2::Internal::TiffMappingInfo::decoderFct_</a>, <a class="el" href="tiffvisitor_8cpp_source.html#l00374">Exiv2::Internal::TiffDecoder::decodeStdTiffEntry()</a>, and <a class="el" href="types_8hpp_source.html#l00449">Exiv2::find()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7869f71ce2f9a94800d58078582e6ca3"></a><!-- doxytag: member="Exiv2::Internal::TiffMapping::findEncoder" ref="7869f71ce2f9a94800d58078582e6ca3" args="(const std::string &amp;make, uint32_t extendedTag, uint16_t group)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceExiv2_1_1Internal.html#e1dc6f098c07a468066b0b6c99b8fdd9">EncoderFct</a> Exiv2::Internal::TiffMapping::findEncoder           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>make</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&nbsp;</td>
          <td class="paramname"> <em>extendedTag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&nbsp;</td>
          <td class="paramname"> <em>group</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Find special encoder function for a key. 
<p>
If the returned pointer is 0, the tag should be encoded with the encoder function of the TIFF component, else the encoder function should be used.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>make</em>&nbsp;</td><td>Camera make </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>extendedTag</em>&nbsp;</td><td>Extended tag </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>group</em>&nbsp;</td><td>Group</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to the encoder function </dd></dl>

<p>References <a class="el" href="tiffcomposite__int_8hpp_source.html#l00360">Exiv2::Internal::TiffMappingInfo::encoderFct_</a>, and <a class="el" href="types_8hpp_source.html#l00449">Exiv2::find()</a>.</p>

<p>Referenced by <a class="el" href="exif_8cpp_source.html#l00455">Exiv2::ExifParser::encode()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="tiffimage__int_8hpp.html">tiffimage_int.hpp</a><li>tiffimage.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jun 25 15:18:16 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>