Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > abb2634846290d27f545cecded067e1f > files > 448

barry-devel-docs-0.17.1-4.fc14.noarch.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>Barry: Barry::DBData Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</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="namespaceBarry.html">Barry</a>::<a class="el" href="classBarry_1_1DBData.html">DBData</a>
  </div>
</div>
<div class="contents">
<h1>Barry::DBData Class Reference</h1><!-- doxytag: class="Barry::DBData" --><code>#include &lt;<a class="el" href="data_8h-source.html">data.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for Barry::DBData:</div>
<div class="dynsection">
<p><center><img src="classBarry_1_1DBData__coll__graph.png" border="0" usemap="#Barry_1_1DBData__coll__map" alt="Collaboration graph"></center>
<map name="Barry_1_1DBData__coll__map">
<area shape="rect" title="STL class." alt="" coords="117,83,197,109"><area shape="rect" title="STL class." alt="" coords="75,5,240,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classBarry_1_1DBData-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Database record data class. 
<p>
The purpose of this class is to contain the raw data that flows between low level activity such as device read/writes, backup read/writes, and record parsing.<p>
This class contains the low level record data block, unparsed, as well as the surrounding meta data, such as the database name it belongs to, the Unique ID, the Rec Type, and format version/type based on what commands were used to extract the data from the device. (When using newer commands, the format of the records, potentially including the individual field type codes, are different.)<p>
Possible bi-directional data flow in all of <a class="el" href="namespaceBarry.html" title="Project namespace, containing all related functions and classes.">Barry</a>: Note that this class, <a class="el" href="classBarry_1_1DBData.html" title="Database record data class.">DBData</a>, represents the data+meta stage.<p>
data+meta &lt;-&gt; device data+meta &lt;-&gt; backup file data+meta &lt;-&gt; record object record object &lt;-&gt; boost serialization contact record object &lt;-&gt; ldif<p>
Possible uni-directional data flow in all of <a class="el" href="namespaceBarry.html" title="Project namespace, containing all related functions and classes.">Barry</a>:<p>
record object -&gt; text dump 
<p>Definition at line <a class="el" href="data_8h-source.html#l00154">154</a> of file <a class="el" href="data_8h-source.html">data.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1DBData.html#b283fc79f70dcb0bea446f0cb1b9129d">DBData</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor, constructs an empty local Data object.  <a href="#b283fc79f70dcb0bea446f0cb1b9129d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1DBData.html#9f34d26d44270ee19a833ffc1a2a2a00">DBData</a> (const void *ValidData, size_t size)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a local Data object that points to external memory.  <a href="#9f34d26d44270ee19a833ffc1a2a2a00"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classBarry_1_1DBData.html#5c9f23ddbedf0ef42a47221c78ddec72">DBData</a> (Data &amp;externalData, bool copy)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If copy == false, constructs an external Data object, no local.  <a href="#5c9f23ddbedf0ef42a47221c78ddec72"></a><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="b283fc79f70dcb0bea446f0cb1b9129d"></a><!-- doxytag: member="Barry::DBData::DBData" ref="b283fc79f70dcb0bea446f0cb1b9129d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Barry::DBData::DBData           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Default constructor, constructs an empty local Data object. 
<p>

<p>Definition at line <a class="el" href="data_8cc-source.html#l00403">403</a> of file <a class="el" href="data_8cc-source.html">data.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="9f34d26d44270ee19a833ffc1a2a2a00"></a><!-- doxytag: member="Barry::DBData::DBData" ref="9f34d26d44270ee19a833ffc1a2a2a00" args="(const void *ValidData, size_t size)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Barry::DBData::DBData           </td>
          <td>(</td>
          <td class="paramtype">const void *&nbsp;</td>
          <td class="paramname"> <em>ValidData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_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>
Constructs a local Data object that points to external memory. 
<p>

<p>Definition at line <a class="el" href="data_8cc-source.html#l00412">412</a> of file <a class="el" href="data_8cc-source.html">data.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="5c9f23ddbedf0ef42a47221c78ddec72"></a><!-- doxytag: member="Barry::DBData::DBData" ref="5c9f23ddbedf0ef42a47221c78ddec72" args="(Data &amp;externalData, bool copy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Barry::DBData::DBData           </td>
          <td>(</td>
          <td class="paramtype">Data &amp;&nbsp;</td>
          <td class="paramname"> <em>externalData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>copy</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
If copy == false, constructs an external Data object, no local. 
<p>
If copy == true, constructs an internal Data object copy For speed, set copy to false. If you want Copy On Write behaviour, similar to Data(buf,size), then use the above (buf, size) constructor, not this one, since this constructor uses Data's copy constructor.<p>
If copy == true, constructs an internal Data object copy 
<p>Definition at line <a class="el" href="data_8cc-source.html#l00438">438</a> of file <a class="el" href="data_8cc-source.html">data.cc</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="data_8h-source.html">data.h</a><li><a class="el" href="data_8cc-source.html">data.cc</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 1 17:50:56 2011 for Barry by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>