⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classdbtimeseriesprocessor.html

📁 俄罗斯牛人KK的作品,著名的ORDBMS,这里上传最新的3.39版本源代码.希望了解对象关系数据库的同好,请不要错过.
💻 HTML
📖 第 1 页 / 共 3 页
字号:
    <td>      &nbsp;    </td>    <td><p>Get the time of the last element in time series <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>oid</em>&nbsp;</td><td>time series identifer (OID of the object associated with this time series) </td></tr></table></dl><dl compact><dt><b>Returns: </b></dt><dd>latest time in times series or -1 if there are no elements in time series </dl>    </td>  </tr></table><a name="dbTimeSeriesProcessora5" doxytag="dbTimeSeriesProcessor::getNumberOfElements"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> size_t dbTimeSeriesProcessor&lt; T &gt;::getNumberOfElements </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">oid_t&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>oid</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get number of elements in time series. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>oid</em>&nbsp;</td><td>time series identifer (OID of the object associated with this time series) </td></tr></table></dl><dl compact><dt><b>Returns: </b></dt><dd>number of elements in time series. </dl>    </td>  </tr></table><a name="dbTimeSeriesProcessora10" doxytag="dbTimeSeriesProcessor::hasElement"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> bool dbTimeSeriesProcessor&lt; T &gt;::hasElement </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">oid_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>oid</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>time_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>t</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Check if there is element for specified data in time series <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>oid</em>&nbsp;</td><td>time series identifer (OID of the object associated with this time series) </td></tr><tr><td valign=top><em>t</em>&nbsp;</td><td>timestamp of checked element </td></tr></table></dl><dl compact><dt><b>Returns: </b></dt><dd><code>true</code> if element with specifed times exists in time series </dl>    </td>  </tr></table><a name="dbTimeSeriesProcessora0" doxytag="dbTimeSeriesProcessor::process"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> virtual void dbTimeSeriesProcessor&lt; T &gt;::process </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">T const &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Virtual method for processing elements, Should be redefinedin derived class. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>data</em>&nbsp;</td><td>reference to the processed data element </td></tr></table></dl>    </td>  </tr></table><a name="dbTimeSeriesProcessora12" doxytag="dbTimeSeriesProcessor::remove"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> int dbTimeSeriesProcessor&lt; T &gt;::remove </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">oid_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>oid</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>time_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>from</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>time_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>till</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Remove elements for the sepcified period <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>oid</em>&nbsp;</td><td>time series identifer (OID of the object associated with this time series) </td></tr><tr><td valign=top><em>from</em>&nbsp;</td><td>inclusive low bound for element timestamp (set 0 to disable this criteria) </td></tr><tr><td valign=top><em>till</em>&nbsp;</td><td>inclusive high bound for element timestamp (set INFINITE_TIME to disable this criteria) </td></tr></table></dl><dl compact><dt><b>Returns: </b></dt><dd>number of removed elements </dl>    </td>  </tr></table><a name="dbTimeSeriesProcessora2" doxytag="dbTimeSeriesProcessor::select"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> void dbTimeSeriesProcessor&lt; T &gt;::select </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">oid_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>oid</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>time_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>from</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>time_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>till</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Process elements in the block belonging to the specified range <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>oid</em>&nbsp;</td><td>time series identifer (OID of the object associated with this time series) </td></tr><tr><td valign=top><em>from</em>&nbsp;</td><td>inclusive low bound for element timestamp (set 0 to disable this criteria) </td></tr><tr><td valign=top><em>till</em>&nbsp;</td><td>inclusive high bound for element timestamp (set INFINITE_TIME to disable this criteria) </td></tr></table></dl>    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="timeseries_8h-source.html">timeseries.h</a></ul><hr><address style="align: right;"><small>Generated on Mon Oct 23 13:23:59 2006 for FastDB by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -