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

📄 group__g__usertypes.html

📁 ORACLE编程的好东西,纯C写的OCI封装.很好用,支持数据池.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<a class="anchor" name="g625c2fc05309303f698fd447f438d527"></a><!-- doxytag: member="ocilib.h::OCI_ObjectGetDouble" ref="g625c2fc05309303f698fd447f438d527" args="(OCI_Object *obj, const mtext *attr)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT double OCI_API OCI_ObjectGetDouble           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___object.html">OCI_Object</a> *&nbsp;</td>          <td class="paramname"> <em>obj</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const mtext *&nbsp;</td>          <td class="paramname"> <em>attr</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the double value of the given object attribute. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>obj</em>&nbsp;</td><td>- Object handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>attr</em>&nbsp;</td><td>- Attribute name</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>If the attribute is found in the object descriptor attributes list, then a datatype check is performed for integrity. <a class="el" href="group__g__usertypes.html#g625c2fc05309303f698fd447f438d527" title="Return the double value of the given object attribute.">OCI_ObjectGetDouble()</a> returns a valid value only for integer and number based attributes</dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Attribute value or 0.0 on failure or wrong attribute type </dd></dl><p>Definition at line <a class="el" href="object_8c-source.html#l00432">432</a> of file <a class="el" href="object_8c-source.html">object.c</a>.</p></div></div><p><a class="anchor" name="g77da8639680cdc1f374efa80d6d389dc"></a><!-- doxytag: member="ocilib.h::OCI_ObjectGetFile" ref="g77da8639680cdc1f374efa80d6d389dc" args="(OCI_Object *obj, const mtext *attr)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___file.html">OCI_File</a>* OCI_API OCI_ObjectGetFile           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___object.html">OCI_Object</a> *&nbsp;</td>          <td class="paramname"> <em>obj</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const mtext *&nbsp;</td>          <td class="paramname"> <em>attr</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the file value of the given object attribute. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>obj</em>&nbsp;</td><td>- Object handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>attr</em>&nbsp;</td><td>- Attribute name</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>If the attribute is found in the object descriptor attributes list, then a datatype check is performed for integrity. <a class="el" href="group__g__usertypes.html#g77da8639680cdc1f374efa80d6d389dc" title="Return the file value of the given object attribute.">OCI_ObjectGetFile()</a> returns a valid value only for files based attributes</dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Attribute value or NULL on failure or wrong attribute type </dd></dl><p>Definition at line <a class="el" href="object_8c-source.html#l00712">712</a> of file <a class="el" href="object_8c-source.html">object.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00559">OCI_Schema::cols</a>, <a class="el" href="ocilib__types_8h-source.html#l00497">OCI_Object::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00498">OCI_Object::nty</a>, <a class="el" href="ocilib__types_8h-source.html#l00499">OCI_Object::objs</a>, and <a class="el" href="ocilib__types_8h-source.html#l00291">OCI_Column::subtype</a>.</p></div></div><p><a class="anchor" name="g05bf984246cbaaa6d554af9cfb8d99e9"></a><!-- doxytag: member="ocilib.h::OCI_ObjectGetInt" ref="g05bf984246cbaaa6d554af9cfb8d99e9" args="(OCI_Object *obj, const mtext *attr)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT int OCI_API OCI_ObjectGetInt           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___object.html">OCI_Object</a> *&nbsp;</td>          <td class="paramname"> <em>obj</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const mtext *&nbsp;</td>          <td class="paramname"> <em>attr</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the integer value of the given object attribute. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>obj</em>&nbsp;</td><td>- Object handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>attr</em>&nbsp;</td><td>- Attribute name</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>If the attribute is found in the object descriptor attributes list, then a datatype check is performed for integrity. <a class="el" href="group__g__usertypes.html#g05bf984246cbaaa6d554af9cfb8d99e9" title="Return the integer value of the given object attribute.">OCI_ObjectGetInt()</a> returns a valid value only for integer and number based attributes</dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Attribute value or 0 on failure or wrong attribute type </dd></dl><p>Definition at line <a class="el" href="object_8c-source.html#l00380">380</a> of file <a class="el" href="object_8c-source.html">object.c</a>.</p></div></div><p><a class="anchor" name="gea3e41e37f3a6490aad8c0355adbcd5d"></a><!-- doxytag: member="ocilib.h::OCI_ObjectGetInterval" ref="gea3e41e37f3a6490aad8c0355adbcd5d" args="(OCI_Object *obj, const mtext *attr)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___interval.html">OCI_Interval</a>* OCI_API OCI_ObjectGetInterval           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___object.html">OCI_Object</a> *&nbsp;</td>          <td class="paramname"> <em>obj</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const mtext *&nbsp;</td>          <td class="paramname"> <em>attr</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the interval value of the given object attribute. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>obj</em>&nbsp;</td><td>- Object handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>attr</em>&nbsp;</td><td>- Attribute name</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>If the attribute is found in the object descriptor attributes list, then a datatype check is performed for integrity. <a class="el" href="group__g__usertypes.html#gea3e41e37f3a6490aad8c0355adbcd5d" title="Return the interval value of the given object attribute.">OCI_ObjectGetInterval()</a> returns a valid value only for intervals based attributes</dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Attribute value or NULL on failure or wrong attribute type </dd></dl><p>Definition at line <a class="el" href="object_8c-source.html#l00580">580</a> of file <a class="el" href="object_8c-source.html">object.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00559">OCI_Schema::cols</a>, <a class="el" href="ocilib__types_8h-source.html#l00497">OCI_Object::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00498">OCI_Object::nty</a>, <a class="el" href="ocilib__types_8h-source.html#l00499">OCI_Object::objs</a>, and <a class="el" href="ocilib__types_8h-source.html#l00291">OCI_Column::subtype</a>.</p></div></div><p><a class="anchor" name="ge75646c8a8c994d2ebd83d992bc97c18"></a><!-- doxytag: member="ocilib.h::OCI_ObjectGetLob" ref="ge75646c8a8c994d2ebd83d992bc97c18" args="(OCI_Object *obj, const mtext *attr)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___lob.html">OCI_Lob</a>* OCI_API OCI_ObjectGetLob           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___object.html">OCI_Object</a> *&nbsp;</td>          <td class="paramname"> <em>obj</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const mtext *&nbsp;</td>          <td class="paramname"> <em>attr</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div>

⌨️ 快捷键说明

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