Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates > by-pkgid > 12cd2b60e7ffa1b93f26cacdd7197eb9 > files > 315

exiv2-doc-0.24-5.1.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.8"/>
<title>Exiv2: Exiv2::Internal::CiffHeader Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Exiv2
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.8 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;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>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceExiv2.html">Exiv2</a></li><li class="navelem"><a class="el" href="namespaceExiv2_1_1Internal.html">Internal</a></li><li class="navelem"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html">CiffHeader</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classExiv2_1_1Internal_1_1CiffHeader-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Exiv2::Internal::CiffHeader Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>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) image...">CiffEntry</a> objects. Most of its methods will walk the parse tree to perform the requested action.  
 <a href="classExiv2_1_1Internal_1_1CiffHeader.html#details">More...</a></p>

<p><code>#include &lt;crwimage_int.hpp&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a098550c33d4cba5c82eaf7d7e9dbed29"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a098550c33d4cba5c82eaf7d7e9dbed29"></a>
typedef std::auto_ptr&lt; <a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html">CiffHeader</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#a098550c33d4cba5c82eaf7d7e9dbed29">AutoPtr</a></td></tr>
<tr class="memdesc:a098550c33d4cba5c82eaf7d7e9dbed29"><td class="mdescLeft">&#160;</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 CIFF parse tree...">CiffHeader</a> auto_ptr type. <br /></td></tr>
<tr class="separator:a098550c33d4cba5c82eaf7d7e9dbed29"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Creators</div></td></tr>
<tr class="memitem:adf3cbe93196e7b0af5b89873dbbb5411"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adf3cbe93196e7b0af5b89873dbbb5411"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#adf3cbe93196e7b0af5b89873dbbb5411">CiffHeader</a> ()</td></tr>
<tr class="memdesc:adf3cbe93196e7b0af5b89873dbbb5411"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:adf3cbe93196e7b0af5b89873dbbb5411"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4b16507eae5e80a6724515092b89373"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4b16507eae5e80a6724515092b89373"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#aa4b16507eae5e80a6724515092b89373">~CiffHeader</a> ()</td></tr>
<tr class="memdesc:aa4b16507eae5e80a6724515092b89373"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor. <br /></td></tr>
<tr class="separator:aa4b16507eae5e80a6724515092b89373"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Manipulators</div></td></tr>
<tr class="memitem:a3d53434a9b7d2f5a9a791304e76488a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#a3d53434a9b7d2f5a9a791304e76488a7">read</a> (const <a class="el" href="namespaceExiv2.html#a16f60a5bd4207fe155f6cf93a15efa72">byte</a> *pData, uint32_t size)</td></tr>
<tr class="memdesc:a3d53434a9b7d2f5a9a791304e76488a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the CRW image from a data buffer, starting with the Ciff header.  <a href="#a3d53434a9b7d2f5a9a791304e76488a7">More...</a><br /></td></tr>
<tr class="separator:a3d53434a9b7d2f5a9a791304e76488a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a079c5bad818fdd9fe950b0438fdb8944"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#a079c5bad818fdd9fe950b0438fdb8944">add</a> (uint16_t crwTagId, uint16_t crwDir, <a class="el" href="classExiv2_1_1DataBuf.html">DataBuf</a> buf)</td></tr>
<tr class="memdesc:a079c5bad818fdd9fe950b0438fdb8944"><td class="mdescLeft">&#160;</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="#a079c5bad818fdd9fe950b0438fdb8944">More...</a><br /></td></tr>
<tr class="separator:a079c5bad818fdd9fe950b0438fdb8944"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b9ba517b40e199a1ffe81f91c7dad87"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#a5b9ba517b40e199a1ffe81f91c7dad87">remove</a> (uint16_t crwTagId, uint16_t crwDir)</td></tr>
<tr class="memdesc:a5b9ba517b40e199a1ffe81f91c7dad87"><td class="mdescLeft">&#160;</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="#a5b9ba517b40e199a1ffe81f91c7dad87">More...</a><br /></td></tr>
<tr class="separator:a5b9ba517b40e199a1ffe81f91c7dad87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Accessors</div></td></tr>
<tr class="memitem:a3ff2822606553f5fb21c159b8236738c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#a3ff2822606553f5fb21c159b8236738c">write</a> (<a class="el" href="namespaceExiv2.html#a6e7b9a2ef47caec919b15f1ae6ff4872">Blob</a> &amp;blob) const </td></tr>
<tr class="memdesc:a3ff2822606553f5fb21c159b8236738c"><td class="mdescLeft">&#160;</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="#a3ff2822606553f5fb21c159b8236738c">More...</a><br /></td></tr>
<tr class="separator:a3ff2822606553f5fb21c159b8236738c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a792e5455cfbc618dc56b1f952f453feb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#a792e5455cfbc618dc56b1f952f453feb">decode</a> (<a class="el" href="classExiv2_1_1Image.html">Image</a> &amp;image) const </td></tr>
<tr class="memdesc:a792e5455cfbc618dc56b1f952f453feb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Decode the CRW image and add it to <em>image</em>.  <a href="#a792e5455cfbc618dc56b1f952f453feb">More...</a><br /></td></tr>
<tr class="separator:a792e5455cfbc618dc56b1f952f453feb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac664aa3405f5911eeca041de450ade0e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#ac664aa3405f5911eeca041de450ade0e">print</a> (std::ostream &amp;os, const std::string &amp;prefix=&quot;&quot;) const </td></tr>
<tr class="memdesc:ac664aa3405f5911eeca041de450ade0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print debug info for the CRW image to <em>os</em>.  <a href="#ac664aa3405f5911eeca041de450ade0e">More...</a><br /></td></tr>
<tr class="separator:ac664aa3405f5911eeca041de450ade0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17ce435145295480f6344c73fd73b5d0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a17ce435145295480f6344c73fd73b5d0"></a>
<a class="el" href="namespaceExiv2.html#a94c225faf6d6c611a3828fae1c28efa6">ByteOrder</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#a17ce435145295480f6344c73fd73b5d0">byteOrder</a> () const </td></tr>
<tr class="memdesc:a17ce435145295480f6344c73fd73b5d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the byte order (little or big endian). <br /></td></tr>
<tr class="separator:a17ce435145295480f6344c73fd73b5d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00500dfe33f65e71912de0fc738ccdfe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classExiv2_1_1Internal_1_1CiffComponent.html">CiffComponent</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#a00500dfe33f65e71912de0fc738ccdfe">findComponent</a> (uint16_t crwTagId, uint16_t crwDir) const </td></tr>
<tr class="memdesc:a00500dfe33f65e71912de0fc738ccdfe"><td class="mdescLeft">&#160;</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="#a00500dfe33f65e71912de0fc738ccdfe">More...</a><br /></td></tr>
<tr class="separator:a00500dfe33f65e71912de0fc738ccdfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a97bc348326182b891ed63e1df7ddaf59"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a97bc348326182b891ed63e1df7ddaf59"></a>
static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#a97bc348326182b891ed63e1df7ddaf59">signature</a> ()</td></tr>
<tr class="memdesc:a97bc348326182b891ed63e1df7ddaf59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a pointer to the Canon CRW signature. <br /></td></tr>
<tr class="separator:a97bc348326182b891ed63e1df7ddaf59"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>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) image...">CiffEntry</a> objects. Most of its methods will walk the parse tree to perform the requested action. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a079c5bad818fdd9fe950b0438fdb8944"></a>
<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&#160;</td>
          <td class="paramname"><em>crwTagId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</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>&#160;</td>
          <td class="paramname"><em>buf</em>&#160;</td>
        </tr>
        <tr>
          <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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">crwTagId</td><td><a class="el" href="namespaceExiv2_1_1Internal_1_1Tag.html">Tag</a> to be added. </td></tr>
    <tr><td class="paramname">crwDir</td><td>Parent directory of the tag. </td></tr>
    <tr><td class="paramname">buf</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>
  </dd>
</dl>

<p>References <a class="el" href="classExiv2_1_1Internal_1_1CiffComponent.html#ae56e6ee4b1da653b6d44ef9f0969e025">Exiv2::Internal::CiffComponent::add()</a>, <a class="el" href="classExiv2_1_1Internal_1_1CrwMap.html#ae8e294d1437f8087521e7566e298f79b">Exiv2::Internal::CrwMap::loadStack()</a>, and <a class="el" href="classExiv2_1_1Internal_1_1CiffComponent.html#aa1847aa0d7f71378eae491af41a337d2">Exiv2::Internal::CiffComponent::setValue()</a>.</p>

</div>
</div>
<a class="anchor" id="a792e5455cfbc618dc56b1f952f453feb"></a>
<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;&#160;</td>
          <td class="paramname"><em>image</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Decode the CRW image and add it to <em>image</em>. </p>
<p>Walk the parse tree and convert CIFF entries to metadata entries which are added to <em>image</em>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">image</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 to the Exiv2...">Image</a> to add metadata to </td></tr>
  </table>
  </dd>
</dl>

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

</div>
</div>
<a class="anchor" id="a00500dfe33f65e71912de0fc738ccdfe"></a>
<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&#160;</td>
          <td class="paramname"><em>crwTagId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>crwDir</em>&#160;</td>
        </tr>
        <tr>
          <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>
<p>Finds <em>crwTagId</em> in directory <em>crwDir</em>, returning a pointer to the component or 0 if not found. </p>

<p>References <a class="el" href="classExiv2_1_1Internal_1_1CiffComponent.html#a106b9412754841caaf95f4220dc45771">Exiv2::Internal::CiffComponent::findComponent()</a>.</p>

</div>
</div>
<a class="anchor" id="ac664aa3405f5911eeca041de450ade0e"></a>
<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;&#160;</td>
          <td class="paramname"><em>os</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>prefix</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">os</td><td>Output stream to write to. </td></tr>
    <tr><td class="paramname">prefix</td><td>Prefix to be written before each line of output. </td></tr>
  </table>
  </dd>
</dl>

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

</div>
</div>
<a class="anchor" id="a3d53434a9b7d2f5a9a791304e76488a7"></a>
<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#a16f60a5bd4207fe155f6cf93a15efa72">byte</a> *&#160;</td>
          <td class="paramname"><em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pData</td><td>Pointer to the data buffer. </td></tr>
    <tr><td class="paramname">size</td><td>Number of bytes in the data buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Error</td><td>If the image cannot be parsed. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="namespaceExiv2.html#a2ac010ed4daa22c05b792ade639cda07">Exiv2::getULong()</a>, <a class="el" href="classExiv2_1_1Internal_1_1CiffDirectory.html#a576d1c93e772acfc663c1f199e668ee5">Exiv2::Internal::CiffDirectory::readDirectory()</a>, and <a class="el" href="classExiv2_1_1Internal_1_1CiffHeader.html#a97bc348326182b891ed63e1df7ddaf59">signature()</a>.</p>

</div>
</div>
<a class="anchor" id="a5b9ba517b40e199a1ffe81f91c7dad87"></a>
<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&#160;</td>
          <td class="paramname"><em>crwTagId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>crwDir</em>&#160;</td>
        </tr>
        <tr>
          <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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">crwTagId</td><td><a class="el" href="namespaceExiv2_1_1Internal_1_1Tag.html">Tag</a> id to be removed. </td></tr>
    <tr><td class="paramname">crwDir</td><td>Parent directory of the tag. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="classExiv2_1_1Internal_1_1CrwMap.html#ae8e294d1437f8087521e7566e298f79b">Exiv2::Internal::CrwMap::loadStack()</a>, and <a class="el" href="classExiv2_1_1Internal_1_1CiffComponent.html#a796cd02123f8f107f98c0e3bb5221208">Exiv2::Internal::CiffComponent::remove()</a>.</p>

</div>
</div>
<a class="anchor" id="a3ff2822606553f5fb21c159b8236738c"></a>
<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#a6e7b9a2ef47caec919b15f1ae6ff4872">Blob</a> &amp;&#160;</td>
          <td class="paramname"><em>blob</em></td><td>)</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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">blob</td><td>Binary image to add to.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">Error</td><td>If the image cannot be written. </td></tr>
  </table>
  </dd>
</dl>

<p>References <a class="el" href="namespaceExiv2.html#a717a4bb844932a834dd109ce2554a2a4">Exiv2::append()</a>, <a class="el" href="namespaceExiv2.html#ac40b07808b158c7d196d12d55c677338">Exiv2::ul2Data()</a>, and <a class="el" href="classExiv2_1_1Internal_1_1CiffComponent.html#a28f3354567a79aed51d111ef51fa5f58">Exiv2::Internal::CiffComponent::write()</a>.</p>

</div>
</div>
<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>
<li>crwimage.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 4 2016 17:51:51 for Exiv2 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.8
</small></address>
</body>
</html>