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

📄 classdbtimeseriesprocessor.html

📁 FastDb是高效的内存数据库系统
💻 HTML
📖 第 1 页 / 共 3 页
字号:
  <tr>    <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 </dd></dl>    </td>  </tr></table><a class="anchor" name="dbTimeSeriesProcessora5" doxytag="dbTimeSeriesProcessor::getNumberOfElements" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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 <a class="el" href="classdbTimeSeriesProcessor.html">dbTimeSeriesProcessor</a>&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> <em>oid</em>          </td>          <td class="md" valign="top">&nbsp;)&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. </dd></dl>    </td>  </tr></table><a class="anchor" name="dbTimeSeriesProcessora10" doxytag="dbTimeSeriesProcessor::hasElement" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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 <a class="el" href="classdbTimeSeriesProcessor.html">dbTimeSeriesProcessor</a>&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> <em>oid</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>time_t&nbsp;</td>          <td class="mdname" nowrap> <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 </dd></dl>    </td>  </tr></table><a class="anchor" name="dbTimeSeriesProcessora0" doxytag="dbTimeSeriesProcessor::process" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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 <a class="el" href="classdbTimeSeriesProcessor.html">dbTimeSeriesProcessor</a>&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>          </td>          <td class="md" valign="top">&nbsp;)&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 class="anchor" name="dbTimeSeriesProcessora12" doxytag="dbTimeSeriesProcessor::remove" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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 <a class="el" href="classdbTimeSeriesProcessor.html">dbTimeSeriesProcessor</a>&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> <em>oid</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>time_t&nbsp;</td>          <td class="mdname" nowrap> <em>from</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>time_t&nbsp;</td>          <td class="mdname" nowrap> <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 </dd></dl>    </td>  </tr></table><a class="anchor" name="dbTimeSeriesProcessora2" doxytag="dbTimeSeriesProcessor::select" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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 <a class="el" href="classdbTimeSeriesProcessor.html">dbTimeSeriesProcessor</a>&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> <em>oid</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>time_t&nbsp;</td>          <td class="mdname" nowrap> <em>from</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>time_t&nbsp;</td>          <td class="mdname" nowrap> <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 size="1"><address style="align: right;"><small>Generated on Thu Feb 12 13:04:49 2004 for FastDB by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.5 </small></address></body></html>

⌨️ 快捷键说明

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