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

📄 classdbcomponent.html

📁 FastDb是高效的内存数据库系统
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>FastDB: dbComponent class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.5 --><div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a></div><h1>dbComponent Class Reference</h1><code>#include &lt;<a class="el" href="query_8h-source.html">query.h</a>&gt;</code><p><a href="classdbComponent-members.html">List of all members.</a><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><a class="anchor" name="dbComponenta0" doxytag="dbComponent::dbComponent" ></a>&nbsp;</td><td class="memItemRight" valign=bottom><b>dbComponent</b> (char const *s, char const *f=NULL)</td></tr><tr><td colspan=2><br><h2>Public Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="dbComponento0" doxytag="dbComponent::structure" ></a>char const *&nbsp;</td><td class="memItemRight" valign=bottom><b>structure</b></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="dbComponento1" doxytag="dbComponent::field" ></a>char const *&nbsp;</td><td class="memItemRight" valign=bottom><b>field</b></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>This class represents component of the structure. It is mostly needed for implementation of application specific database types. For example, look at <code>dbDate</code> class. It contains <code>int4 jday</code> component which stores time in seconds sinse 1970. This class defines its own comparison methods: <pre><div>     <a class="el" href="classdbQueryExpression.html">dbQueryExpression</a> operator == (char const* field) {          <a class="el" href="classdbQueryExpression.html">dbQueryExpression</a> expr;         expr = dbComponent(field,"jday"),"=",jday;         return expr;     } </pre></div> Making it possible to sepcify queries like this (assume that record has column "released" with type dbDate: <pre><div>     <a class="el" href="classdbQuery.html">dbQuery</a> q;     dbDate  date;     q = date == "released"; </pre></div> <p><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="query_8h-source.html">query.h</a></ul><hr size="1"><address style="align: right;"><small>Generated on Thu Feb 12 13:04:48 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 + -