Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > a00abf5f94bf470fd4cc9e10b2d135e0 > files > 751

lib64db4.8-devel-4.8.26-1mdv2010.1.x86_64.rpm

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!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/html; charset=UTF-8" />
    <title>Chapter 22.  ElementRef and ElementHolder Wappers</title>
    <link rel="stylesheet" href="apiReference.css" type="text/css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
    <link rel="start" href="index.html" title="Berkeley DB C++ Standard Template Library API Reference" />
    <link rel="up" href="index.html" title="Berkeley DB C++ Standard Template Library API Reference" />
    <link rel="prev" href="dbstl_helper_classes.html" title="Chapter 21.  Dbstl Helper Classes" />
    <link rel="next" href="ElementHolder.html" title="Chapter 23.  ElementHolder" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">Chapter 22. 
 ElementRef and ElementHolder Wappers  </th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="dbstl_helper_classes.html">Prev</a> </td>
          <th width="60%" align="center"> </th>
          <td width="20%" align="right"> <a accesskey="n" href="ElementHolder.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="chapter" lang="en" xml:lang="en">
      <div class="titlepage">
        <div>
          <div>
            <h2 class="title"><a id="Element_wrappers"></a>Chapter 22. 
 ElementRef and ElementHolder Wappers  </h2>
          </div>
        </div>
      </div>
      <p>An <a class="link" href="ElementRef.html" title="Chapter 24.  ElementRef">ElementRef</a>
 and <a class="link" href="ElementHolder.html" title="Chapter 23.  ElementHolder">ElementHolder</a>
 object represents the reference to the data element referenced by an iterator. </p>
      <p>Each iterator object has an <a class="link" href="ElementRef.html" title="Chapter 24.  ElementRef">ElementRef</a>
 or <a class="link" href="ElementHolder.html" title="Chapter 23.  ElementHolder">ElementHolder</a>
 object that stores the data element that the iterator points to.</p>
      <p>The <a class="link" href="ElementHolder.html" title="Chapter 23.  ElementHolder">ElementHolder</a>
 class is used to store primitive types into STL containers.</p>
      <p>The <a class="link" href="ElementRef.html" title="Chapter 24.  ElementRef">ElementRef</a>
 class is used to store other types into STL containers.</p>
      <p>The <a class="link" href="ElementRef.html" title="Chapter 24.  ElementRef">ElementRef</a>
 and <a class="link" href="ElementHolder.html" title="Chapter 23.  ElementHolder">ElementHolder</a>
 classes have identical interfaces, and are treated the same by other STL classes. Since the <a class="link" href="ElementRef.html" title="Chapter 24.  ElementRef">ElementRef</a>
 class inherits from the template data class, all methods have a _DB_STL_ prefix to avoid name clashes.</p>
      <p>An <a class="link" href="ElementRef.html" title="Chapter 24.  ElementRef">ElementRef</a>
 or <a class="link" href="ElementHolder.html" title="Chapter 23.  ElementHolder">ElementHolder</a>
 class corresponds to a single iterator instance. An Element object is generally owned by an iterator object. The ownership relationship is swapped in some specific situations, specifically for the dereference and array index operator. </p>
      <h4><a id="id1568376"></a> Public Members </h4>
      <div class="informaltable">
        <table border="1" width="80%">
          <colgroup>
            <col />
            <col />
          </colgroup>
          <thead>
            <tr>
              <th>Member</th>
              <th>Description</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td>
<a class="link" href="ElementRef.html" title="Chapter 24.  ElementRef">
ElementRef</a>
</td>
              <td>
ElementRef</td>
            </tr>
            <tr>
              <td>
<a class="link" href="ElementHolder.html" title="Chapter 23.  ElementHolder">
ElementHolder</a>
</td>
              <td>
ElementHolder</td>
            </tr>
          </tbody>
        </table>
      </div>
      <h4><a id="id1568813"></a>
Group</h4>
      <p>
<a class="xref" href="dbstl_helper_classes.html" title="Chapter 21.  Dbstl Helper Classes">
 Dbstl Helper Classes  </a>
</p>
      <p>
</p>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="dbstl_helper_classes.html">Prev</a> </td>
          <td width="20%" align="center"> </td>
          <td width="40%" align="right"> <a accesskey="n" href="ElementHolder.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">Chapter 21. 
 Dbstl Helper Classes   </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> Chapter 23. 
 ElementHolder  </td>
        </tr>
      </table>
    </div>
  </body>
</html>