Sophie

Sophie

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

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::CiffHeader 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_1CiffHeader.html">CiffHeader</a>
  </div>
</div>
<div class="contents">
<h1>Exiv2::Internal::CiffHeader Class Reference</h1><!-- doxytag: class="Exiv2::Internal::CiffHeader" -->This class models the header of a CRW (Canon Raw data) image. It is the head of a CIFF parse tree, consisting of <a class="el" href="classExiv2_1_1Internal_1_1CiffDirectory.html" title="This class models a CIFF directory of a CRW (Canon Raw data) image.">CiffDirectory</a> and <a class="el" href="classExiv2_1_1Internal_1_1CiffEntry.html" title="This class models one directory entry of a CIFF directory of a CRW (Canon Raw data)...">CiffEntry</a> objects. Most of its methods will walk the parse tree to perform the requested action.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;crwimage_int.hpp&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for Exiv2::Internal::CiffHeader:</div>
<div class="dynsection">
<p><center><img src="classExiv2_1_1Internal_1_1CiffHeader__coll__graph.png" border="0" usemap="#Exiv2_1_1Internal_1_1CiffHeader__coll__map" alt="Collaboration graph"></center>
<map name="Exiv2_1_1Internal_1_1CiffHeader__coll__map">
<area shape="rect" id="node2" href="classExiv2_1_1Internal_1_1CiffDirectory.html" title="This class models a CIFF directory of a CRW (Canon Raw data) image." alt="" coords="5,83,325,109"><area shape="rect" id="node4" href="classExiv2_1_1Internal_1_1CiffComponent.html" title="Interface class for components of the CIFF directory hierarchy of a CRW (Canon Raw..." 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_1CiffHeader-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="098550c33d4cba5c82eaf7d7e9dbed29"></a><!-- doxytag: member="Exiv2::Internal::CiffHeader::AutoPtr" ref="098550c33d4cba5c82eaf7d7e9dbed29" args="" -->
typedef std::auto_ptr&lt; <a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html">CiffHeader</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#098550c33d4cba5c82eaf7d7e9dbed29">AutoPtr</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html" title="This class models the header of a CRW (Canon Raw data) image. It is the head of a...">CiffHeader</a> auto_ptr type. <br></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="df3cbe93196e7b0af5b89873dbbb5411"></a><!-- doxytag: member="Exiv2::Internal::CiffHeader::CiffHeader" ref="df3cbe93196e7b0af5b89873dbbb5411" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#df3cbe93196e7b0af5b89873dbbb5411">CiffHeader</a> ()</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="a4b16507eae5e80a6724515092b89373"></a><!-- doxytag: member="Exiv2::Internal::CiffHeader::~CiffHeader" ref="a4b16507eae5e80a6724515092b89373" args="()" -->
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#a4b16507eae5e80a6724515092b89373">~CiffHeader</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Virtual destructor. <br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#3d53434a9b7d2f5a9a791304e76488a7">read</a> (const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *pData, uint32_t size)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read the CRW image from a data buffer, starting with the Ciff header.  <a href="#3d53434a9b7d2f5a9a791304e76488a7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#079c5bad818fdd9fe950b0438fdb8944">add</a> (uint16_t crwTagId, uint16_t crwDir, <a class="el" href="classExiv2_1_1DataBuf.html">DataBuf</a> buf)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the value of entry <em>crwTagId</em> in directory <em>crwDir</em> to <em>buf</em>. If this tag doesn't exist, it is added along with all directories needed.  <a href="#079c5bad818fdd9fe950b0438fdb8944"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#5b9ba517b40e199a1ffe81f91c7dad87">remove</a> (uint16_t crwTagId, uint16_t crwDir)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove entry <em>crwTagId</em> in directory <em>crwDir</em> from the parse tree. If it's the last entry in the directory, the directory is removed as well, etc.  <a href="#5b9ba517b40e199a1ffe81f91c7dad87"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#3ff2822606553f5fb21c159b8236738c">write</a> (<a class="el" href="namespaceExiv2.html#6e7b9a2ef47caec919b15f1ae6ff4872">Blob</a> &amp;blob) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Write the CRW image to the binary image <em>blob</em>, starting with the Ciff header. This method appends to the blob.  <a href="#3ff2822606553f5fb21c159b8236738c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#792e5455cfbc618dc56b1f952f453feb">decode</a> (<a class="el" href="classExiv2_1_1Image.html">Image</a> &amp;image) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Decode the CRW image and add it to <em>image</em>.  <a href="#792e5455cfbc618dc56b1f952f453feb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#c664aa3405f5911eeca041de450ade0e">print</a> (std::ostream &amp;os, const std::string &amp;prefix=&quot;&quot;) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print debug info for the CRW image to <em>os</em>.  <a href="#c664aa3405f5911eeca041de450ade0e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="17ce435145295480f6344c73fd73b5d0"></a><!-- doxytag: member="Exiv2::Internal::CiffHeader::byteOrder" ref="17ce435145295480f6344c73fd73b5d0" args="() const " -->
<a class="el" href="namespaceExiv2.html#94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#17ce435145295480f6344c73fd73b5d0">byteOrder</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the byte order (little or big endian). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classExiv2_1_1Internal_1_1CiffComponent.html">CiffComponent</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#00500dfe33f65e71912de0fc738ccdfe">findComponent</a> (uint16_t crwTagId, uint16_t crwDir) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Finds <em>crwTagId</em> in directory <em>crwDir</em> in the parse tree, returning a pointer to the component or 0 if not found.  <a href="#00500dfe33f65e71912de0fc738ccdfe"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97bc348326182b891ed63e1df7ddaf59"></a><!-- doxytag: member="Exiv2::Internal::CiffHeader::signature" ref="97bc348326182b891ed63e1df7ddaf59" args="()" -->
static const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#97bc348326182b891ed63e1df7ddaf59">signature</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a pointer to the Canon CRW signature. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
This class models the header of a CRW (Canon Raw data) image. It is the head of a CIFF parse tree, consisting of <a class="el" href="classExiv2_1_1Internal_1_1CiffDirectory.html" title="This class models a CIFF directory of a CRW (Canon Raw data) image.">CiffDirectory</a> and <a class="el" href="classExiv2_1_1Internal_1_1CiffEntry.html" title="This class models one directory entry of a CIFF directory of a CRW (Canon Raw data)...">CiffEntry</a> objects. Most of its methods will walk the parse tree to perform the requested action. <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="079c5bad818fdd9fe950b0438fdb8944"></a><!-- doxytag: member="Exiv2::Internal::CiffHeader::add" ref="079c5bad818fdd9fe950b0438fdb8944" args="(uint16_t crwTagId, uint16_t crwDir, DataBuf buf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Internal::CiffHeader::add           </td>
          <td>(</td>
          <td class="paramtype">uint16_t&nbsp;</td>
          <td class="paramname"> <em>crwTagId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&nbsp;</td>
          <td class="paramname"> <em>crwDir</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classExiv2_1_1DataBuf.html">DataBuf</a>&nbsp;</td>
          <td class="paramname"> <em>buf</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the value of entry <em>crwTagId</em> in directory <em>crwDir</em> to <em>buf</em>. If this tag doesn't exist, it is added along with all directories needed. 
<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>crwTagId</em>&nbsp;</td><td><a class="el" href="namespaceExiv2_1_1Internal_1_1Tag.html">Tag</a> to be added. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>crwDir</em>&nbsp;</td><td>Parent directory of the tag. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>buf</em>&nbsp;</td><td><a class="el" href="classExiv2_1_1Value.html" title="Common interface for all types of values used with metadata.">Value</a> to be set. </td></tr>
  </table>
</dl>

<p>References <a class="el" href="crwimage_8cpp_source.html#l00350">Exiv2::Internal::CiffComponent::add()</a>, <a class="el" href="crwimage_8cpp_source.html#l01141">Exiv2::Internal::CrwMap::loadStack()</a>, and <a class="el" href="crwimage_8cpp_source.html#l00701">Exiv2::Internal::CiffComponent::setValue()</a>.</p>

</div>
</div><p>
<a class="anchor" name="792e5455cfbc618dc56b1f952f453feb"></a><!-- doxytag: member="Exiv2::Internal::CiffHeader::decode" ref="792e5455cfbc618dc56b1f952f453feb" args="(Image &amp;image) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Internal::CiffHeader::decode           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classExiv2_1_1Image.html">Image</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>image</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Decode the CRW image and add it to <em>image</em>. 
<p>
Walk the parse tree and convert CIFF entries to metadata entries which are added to <em>image</em>.<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>image</em>&nbsp;</td><td><a class="el" href="classExiv2_1_1Image.html" title="Abstract base class defining the interface for an image. This is the top-level interface...">Image</a> to add metadata to </td></tr>
  </table>
</dl>

<p>References <a class="el" href="crwimage_8cpp_source.html#l00478">Exiv2::Internal::CiffComponent::decode()</a>.</p>

</div>
</div><p>
<a class="anchor" name="00500dfe33f65e71912de0fc738ccdfe"></a><!-- doxytag: member="Exiv2::Internal::CiffHeader::findComponent" ref="00500dfe33f65e71912de0fc738ccdfe" args="(uint16_t crwTagId, uint16_t crwDir) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classExiv2_1_1Internal_1_1CiffComponent.html">CiffComponent</a> * Exiv2::Internal::CiffHeader::findComponent           </td>
          <td>(</td>
          <td class="paramtype">uint16_t&nbsp;</td>
          <td class="paramname"> <em>crwTagId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&nbsp;</td>
          <td class="paramname"> <em>crwDir</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Finds <em>crwTagId</em> in directory <em>crwDir</em> in the parse tree, returning a pointer to the component or 0 if not found. 
<p>
Finds <em>crwTagId</em> in directory <em>crwDir</em>, returning a pointer to the component or 0 if not found. 
<p>References <a class="el" href="crwimage_8cpp_source.html#l00754">Exiv2::Internal::CiffComponent::findComponent()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c664aa3405f5911eeca041de450ade0e"></a><!-- doxytag: member="Exiv2::Internal::CiffHeader::print" ref="c664aa3405f5911eeca041de450ade0e" args="(std::ostream &amp;os, const std::string &amp;prefix=&quot;&quot;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Internal::CiffHeader::print           </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>prefix</em> = <code>&quot;&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Print debug info for the CRW image to <em>os</em>. 
<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>os</em>&nbsp;</td><td>Output stream to write to. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>prefix</em>&nbsp;</td><td>Prefix to be written before each line of output. </td></tr>
  </table>
</dl>

<p>References <a class="el" href="crwimage_8cpp_source.html#l00659">Exiv2::Internal::CiffComponent::print()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3d53434a9b7d2f5a9a791304e76488a7"></a><!-- doxytag: member="Exiv2::Internal::CiffHeader::read" ref="3d53434a9b7d2f5a9a791304e76488a7" args="(const byte *pData, uint32_t size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Internal::CiffHeader::read           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceExiv2.html#16f60a5bd4207fe155f6cf93a15efa72">byte</a> *&nbsp;</td>
          <td class="paramname"> <em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&nbsp;</td>
          <td class="paramname"> <em>size</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Read the CRW image from a data buffer, starting with the Ciff header. 
<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>pData</em>&nbsp;</td><td>Pointer to the data buffer. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>Number of bytes in the data buffer.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classExiv2_1_1Error.html" title="Simple error class used for exceptions. An output operator is provided to print errors...">Error</a></em>&nbsp;</td><td>If the image cannot be parsed. </td></tr>
  </table>
</dl>

<p>References <a class="el" href="types_8cpp_source.html#l00191">Exiv2::getULong()</a>, <a class="el" href="crwimage_8cpp_source.html#l00445">Exiv2::Internal::CiffDirectory::readDirectory()</a>, and <a class="el" href="crwimage__int_8hpp_source.html#l00490">signature()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5b9ba517b40e199a1ffe81f91c7dad87"></a><!-- doxytag: member="Exiv2::Internal::CiffHeader::remove" ref="5b9ba517b40e199a1ffe81f91c7dad87" args="(uint16_t crwTagId, uint16_t crwDir)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Internal::CiffHeader::remove           </td>
          <td>(</td>
          <td class="paramtype">uint16_t&nbsp;</td>
          <td class="paramname"> <em>crwTagId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&nbsp;</td>
          <td class="paramname"> <em>crwDir</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Remove entry <em>crwTagId</em> in directory <em>crwDir</em> from the parse tree. If it's the last entry in the directory, the directory is removed as well, etc. 
<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>crwTagId</em>&nbsp;</td><td><a class="el" href="namespaceExiv2_1_1Internal_1_1Tag.html">Tag</a> id to be removed. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>crwDir</em>&nbsp;</td><td>Parent directory of the tag. </td></tr>
  </table>
</dl>

<p>References <a class="el" href="crwimage_8cpp_source.html#l01141">Exiv2::Internal::CrwMap::loadStack()</a>, and <a class="el" href="crwimage_8cpp_source.html#l00872">Exiv2::Internal::CiffComponent::remove()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3ff2822606553f5fb21c159b8236738c"></a><!-- doxytag: member="Exiv2::Internal::CiffHeader::write" ref="3ff2822606553f5fb21c159b8236738c" args="(Blob &amp;blob) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Exiv2::Internal::CiffHeader::write           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceExiv2.html#6e7b9a2ef47caec919b15f1ae6ff4872">Blob</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>blob</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Write the CRW image to the binary image <em>blob</em>, starting with the Ciff header. This method appends to the blob. 
<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>blob</em>&nbsp;</td><td>Binary image to add to.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classExiv2_1_1Error.html" title="Simple error class used for exceptions. An output operator is provided to print errors...">Error</a></em>&nbsp;</td><td>If the image cannot be written. </td></tr>
  </table>
</dl>

<p>References <a class="el" href="image_8cpp_source.html#l00372">Exiv2::append()</a>, <a class="el" href="types_8cpp_source.html#l00252">Exiv2::ul2Data()</a>, and <a class="el" href="crwimage_8cpp_source.html#l00532">Exiv2::Internal::CiffComponent::write()</a>.</p>

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