Sophie

Sophie

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

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::XmpProperties 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="classExiv2_1_1XmpProperties.html">XmpProperties</a>
  </div>
</div>
<div class="contents">
<h1>Exiv2::XmpProperties Class Reference</h1><!-- doxytag: class="Exiv2::XmpProperties" -->XMP property reference, implemented as a static class.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;properties.hpp&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for Exiv2::XmpProperties:</div>
<div class="dynsection">
<p><center><img src="classExiv2_1_1XmpProperties__coll__graph.png" border="0" usemap="#Exiv2_1_1XmpProperties__coll__map" alt="Collaboration graph"></center>
<map name="Exiv2_1_1XmpProperties__coll__map">
<area shape="rect" id="node2" title="STL class." alt="" coords="25,96,207,123"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classExiv2_1_1XmpProperties-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 const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#ce720866dca9064dbd34a545f8869b6a">propertyTitle</a> (const <a class="el" href="classExiv2_1_1XmpKey.html">XmpKey</a> &amp;key)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the title (label) of the property.  <a href="#ce720866dca9064dbd34a545f8869b6a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#b5a86c7d0e8fb3517f47588a6a262598">propertyDesc</a> (const <a class="el" href="classExiv2_1_1XmpKey.html">XmpKey</a> &amp;key)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the description of the property.  <a href="#b5a86c7d0e8fb3517f47588a6a262598"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="namespaceExiv2.html#5153319711f35fe81cbc13f4b852450c">TypeId</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#1afe108a735f91f0f1afb5e0baffc06f">propertyType</a> (const <a class="el" href="classExiv2_1_1XmpKey.html">XmpKey</a> &amp;key)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the type for property <em>key</em>. The default for unknown keys is xmpText.  <a href="#1afe108a735f91f0f1afb5e0baffc06f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="structExiv2_1_1XmpPropertyInfo.html">XmpPropertyInfo</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#92d7405a277af2f52c1707b5ac5533c3">propertyInfo</a> (const <a class="el" href="classExiv2_1_1XmpKey.html">XmpKey</a> &amp;key)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return information for the property for key.  <a href="#92d7405a277af2f52c1707b5ac5533c3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#6b558be19460be890e68d93faa77fac1">ns</a> (const std::string &amp;prefix)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the namespace name for the schema associated with <em>prefix</em>.  <a href="#6b558be19460be890e68d93faa77fac1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#9377197dc487aa7053a9b8d8f19e7230">nsDesc</a> (const std::string &amp;prefix)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the namespace description for the schema associated with <em>prefix</em>.  <a href="#9377197dc487aa7053a9b8d8f19e7230"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="structExiv2_1_1XmpPropertyInfo.html">XmpPropertyInfo</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#e280a62dd2f58da353cdc4dede298103">propertyList</a> (const std::string &amp;prefix)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return read-only list of built-in properties for <em>prefix</em>.  <a href="#e280a62dd2f58da353cdc4dede298103"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="structExiv2_1_1XmpNsInfo.html">XmpNsInfo</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#88167c117a38bde4d9b52ba996e6f029">nsInfo</a> (const std::string &amp;prefix)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return information about a schema namespace for <em>prefix</em>. Always returns a valid pointer.  <a href="#88167c117a38bde4d9b52ba996e6f029"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#9242436f9f9475216b21ea0c4643c357">prefix</a> (const std::string &amp;ns)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the (preferred) prefix for schema namespace <em>ns</em>.  <a href="#9242436f9f9475216b21ea0c4643c357"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b7e72de6863587e9c18157f7ea527e4"></a><!-- doxytag: member="Exiv2::XmpProperties::printProperties" ref="9b7e72de6863587e9c18157f7ea527e4" args="(std::ostream &amp;os, const std::string &amp;prefix)" -->
static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#9b7e72de6863587e9c18157f7ea527e4">printProperties</a> (std::ostream &amp;os, const std::string &amp;prefix)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a list of properties of a schema namespace to output stream <em>os</em>. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="406a3bada810fc6f720a2c3a989e09e4"></a><!-- doxytag: member="Exiv2::XmpProperties::printProperty" ref="406a3bada810fc6f720a2c3a989e09e4" args="(std::ostream &amp;os, const std::string &amp;key, const Value &amp;value)" -->
static std::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#406a3bada810fc6f720a2c3a989e09e4">printProperty</a> (std::ostream &amp;os, const std::string &amp;key, const <a class="el" href="classExiv2_1_1Value.html">Value</a> &amp;value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Interpret and print the value of an XMP property. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#e58ee081625b7924563e93a1ba184fec">registerNs</a> (const std::string &amp;ns, const std::string &amp;prefix)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Register namespace <em>ns</em> with preferred prefix <em>prefix</em>.  <a href="#e58ee081625b7924563e93a1ba184fec"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#82d620dbdbc671a635c7b4d8a11c694f">unregisterNs</a> (const std::string &amp;ns)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unregister a custom namespace <em>ns</em>.  <a href="#82d620dbdbc671a635c7b4d8a11c694f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classExiv2_1_1XmpProperties.html#6758ab102c4b9d1330c184971fe56962">unregisterNs</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unregister all custom namespaces.  <a href="#6758ab102c4b9d1330c184971fe56962"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
XMP property reference, implemented as a static class. <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="6b558be19460be890e68d93faa77fac1"></a><!-- doxytag: member="Exiv2::XmpProperties::ns" ref="6b558be19460be890e68d93faa77fac1" args="(const std::string &amp;prefix)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static std::string Exiv2::XmpProperties::ns           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>prefix</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the namespace name for the schema associated with <em>prefix</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>prefix</em>&nbsp;</td><td>Prefix </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The namespace name </dd></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 no namespace is registered with <em>prefix</em>. </td></tr>
  </table>
</dl>

<p>Referenced by <a class="el" href="xmp_8cpp_source.html#l00581">Exiv2::XmpParser::encode()</a>.</p>

</div>
</div><p>
<a class="anchor" name="9377197dc487aa7053a9b8d8f19e7230"></a><!-- doxytag: member="Exiv2::XmpProperties::nsDesc" ref="9377197dc487aa7053a9b8d8f19e7230" args="(const std::string &amp;prefix)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const char* Exiv2::XmpProperties::nsDesc           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>prefix</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the namespace description for the schema associated with <em>prefix</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>prefix</em>&nbsp;</td><td>Prefix </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The namespace description </dd></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 no namespace is registered with <em>prefix</em>. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="88167c117a38bde4d9b52ba996e6f029"></a><!-- doxytag: member="Exiv2::XmpProperties::nsInfo" ref="88167c117a38bde4d9b52ba996e6f029" args="(const std::string &amp;prefix)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="structExiv2_1_1XmpNsInfo.html">XmpNsInfo</a>* Exiv2::XmpProperties::nsInfo           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>prefix</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return information about a schema namespace for <em>prefix</em>. Always returns a valid pointer. 
<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>prefix</em>&nbsp;</td><td>The prefix </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the related information </dd></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 no namespace is registered with <em>prefix</em>. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="9242436f9f9475216b21ea0c4643c357"></a><!-- doxytag: member="Exiv2::XmpProperties::prefix" ref="9242436f9f9475216b21ea0c4643c357" args="(const std::string &amp;ns)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static std::string Exiv2::XmpProperties::prefix           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>ns</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the (preferred) prefix for schema namespace <em>ns</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>ns</em>&nbsp;</td><td>Schema namespace </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The prefix or an empty string if namespace <em>ns</em> is not registered. </dd></dl>

<p>Referenced by <a class="el" href="xmp_8cpp_source.html#l00434">Exiv2::XmpParser::decode()</a>.</p>

</div>
</div><p>
<a class="anchor" name="b5a86c7d0e8fb3517f47588a6a262598"></a><!-- doxytag: member="Exiv2::XmpProperties::propertyDesc" ref="b5a86c7d0e8fb3517f47588a6a262598" args="(const XmpKey &amp;key)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const char* Exiv2::XmpProperties::propertyDesc           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1XmpKey.html">XmpKey</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the description of the property. 
<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>key</em>&nbsp;</td><td>The property key </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The description of the property, 0 if the key is of an unknown property. </dd></dl>

</div>
</div><p>
<a class="anchor" name="92d7405a277af2f52c1707b5ac5533c3"></a><!-- doxytag: member="Exiv2::XmpProperties::propertyInfo" ref="92d7405a277af2f52c1707b5ac5533c3" args="(const XmpKey &amp;key)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="structExiv2_1_1XmpPropertyInfo.html">XmpPropertyInfo</a>* Exiv2::XmpProperties::propertyInfo           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1XmpKey.html">XmpKey</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return information for the property for key. 
<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>key</em>&nbsp;</td><td>The property key </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the property information, 0 if the key is of an unknown property. </dd></dl>

</div>
</div><p>
<a class="anchor" name="e280a62dd2f58da353cdc4dede298103"></a><!-- doxytag: member="Exiv2::XmpProperties::propertyList" ref="e280a62dd2f58da353cdc4dede298103" args="(const std::string &amp;prefix)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="structExiv2_1_1XmpPropertyInfo.html">XmpPropertyInfo</a>* Exiv2::XmpProperties::propertyList           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>prefix</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return read-only list of built-in properties for <em>prefix</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>prefix</em>&nbsp;</td><td>Prefix </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to the built-in properties for prefix, may be 0 if none is configured in the namespace info. </dd></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 no namespace is registered with <em>prefix</em>. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="ce720866dca9064dbd34a545f8869b6a"></a><!-- doxytag: member="Exiv2::XmpProperties::propertyTitle" ref="ce720866dca9064dbd34a545f8869b6a" args="(const XmpKey &amp;key)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const char* Exiv2::XmpProperties::propertyTitle           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1XmpKey.html">XmpKey</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the title (label) of the property. 
<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>key</em>&nbsp;</td><td>The property key </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The title (label) of the property, 0 if the key is of an unknown property. </dd></dl>

</div>
</div><p>
<a class="anchor" name="1afe108a735f91f0f1afb5e0baffc06f"></a><!-- doxytag: member="Exiv2::XmpProperties::propertyType" ref="1afe108a735f91f0f1afb5e0baffc06f" args="(const XmpKey &amp;key)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="namespaceExiv2.html#5153319711f35fe81cbc13f4b852450c">TypeId</a> Exiv2::XmpProperties::propertyType           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classExiv2_1_1XmpKey.html">XmpKey</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the type for property <em>key</em>. The default for unknown keys is xmpText. 
<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>key</em>&nbsp;</td><td>The property key </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The type of the property </dd></dl>

<p>Referenced by <a class="el" href="xmp_8cpp_source.html#l00281">Exiv2::Xmpdatum::setValue()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e58ee081625b7924563e93a1ba184fec"></a><!-- doxytag: member="Exiv2::XmpProperties::registerNs" ref="e58ee081625b7924563e93a1ba184fec" args="(const std::string &amp;ns, const std::string &amp;prefix)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Exiv2::XmpProperties::registerNs           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>ns</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></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>
Register namespace <em>ns</em> with preferred prefix <em>prefix</em>. 
<p>
If the namespace is a known or previously registered namespace, the prefix is overwritten.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>This invalidates XMP keys generated with the previous prefix. </dd></dl>
<dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="xmpsample_8cpp-example.html#a18">xmpsample.cpp</a>.</dl>
<p>Referenced by <a class="el" href="xmp_8cpp_source.html#l00434">Exiv2::XmpParser::decode()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6758ab102c4b9d1330c184971fe56962"></a><!-- doxytag: member="Exiv2::XmpProperties::unregisterNs" ref="6758ab102c4b9d1330c184971fe56962" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Exiv2::XmpProperties::unregisterNs           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Unregister all custom namespaces. 
<p>
The function only unregisters namespaces registered earlier, it does not unregister built-in namespaces.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>This invalidates XMP keys generated in any custom namespace. </dd></dl>

<p>Referenced by <a class="el" href="xmp_8cpp_source.html#l00388">Exiv2::XmpParser::terminate()</a>.</p>

</div>
</div><p>
<a class="anchor" name="82d620dbdbc671a635c7b4d8a11c694f"></a><!-- doxytag: member="Exiv2::XmpProperties::unregisterNs" ref="82d620dbdbc671a635c7b4d8a11c694f" args="(const std::string &amp;ns)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void Exiv2::XmpProperties::unregisterNs           </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&nbsp;</td>
          <td class="paramname"> <em>ns</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Unregister a custom namespace <em>ns</em>. 
<p>
The function only has an effect if there is a namespace <em>ns</em> registered earlier, it does not unregister built-in namespaces.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>This invalidates XMP keys generated in this namespace. </dd></dl>

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