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

📄 group__g__usertypes.html

📁 ORACLE编程的好东西,纯C写的OCI封装.很好用,支持数据池.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
          <td class="paramkey"></td>          <td></td>          <td class="paramtype"><a class="el" href="struct_o_c_i___schema.html">OCI_Schema</a> *&nbsp;</td>          <td class="paramname"> <em>type</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>Create a local object instance. <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>con</em>&nbsp;</td><td>- Connection handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>- Object type</td></tr>  </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Return the object handle on success otherwise NULL on failure </dd></dl><p>Definition at line <a class="el" href="object_8c-source.html#l00253">253</a> of file <a class="el" href="object_8c-source.html">object.c</a>.</p></div></div><p><a class="anchor" name="g3fd2c9dfdcab2c56400c95c31cc0851e"></a><!-- doxytag: member="ocilib.h::OCI_ObjectFree" ref="g3fd2c9dfdcab2c56400c95c31cc0851e" args="(OCI_Object *obj)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_ObjectFree           </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>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Free a local object. <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>  </table></dl><dl class="warning" compact><dt><b>Warning:</b></dt><dd>Only object created with <a class="el" href="group__g__usertypes.html#ga29b16f5fa9a37f42155b77291ad0e47" title="Create a local object instance.">OCI_ObjectCreate()</a> should be freed by <a class="el" href="group__g__usertypes.html#g3fd2c9dfdcab2c56400c95c31cc0851e" title="Free a local object.">OCI_ObjectFree()</a></dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE on success otherwise FALSE </dd></dl><p>Definition at line <a class="el" href="object_8c-source.html#l00273">273</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#l00500">OCI_Object::buf</a>, <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#l00235">OCI_Connection::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00495">OCI_Object::handle</a>, <a class="el" href="ocilib__types_8h-source.html#l00496">OCI_Object::hstate</a>, <a class="el" href="ocilib__types_8h-source.html#l00560">OCI_Schema::nb_cols</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>, <a class="el" href="group__g__collection.html#g8663babe980c99ff0441feedff973912">OCI_CollFree()</a>, <a class="el" href="group__g__date.html#gedf77cfe4bd5dab7909e4c2fb5173b48">OCI_DateFree()</a>, <a class="el" href="group__g__file.html#gd4b58b6d80e24bb045fb82d78c5cf36a">OCI_FileFree()</a>, <a class="el" href="group__g__timestamp.html#g7623b368ab3486c15c6d671054fac3e3">OCI_IntervalFree()</a>, <a class="el" href="group__g__lob.html#gac269a3de312c2c7d1a6193a9ab79545">OCI_LobFree()</a>, <a class="el" href="group__g__usertypes.html#g3fd2c9dfdcab2c56400c95c31cc0851e">OCI_ObjectFree()</a>, <a class="el" href="group__g__timestamp.html#g60e9851db1175d6b650f9df00db274da">OCI_TimestampFree()</a>, and <a class="el" href="ocilib__types_8h-source.html#l00280">OCI_Column::type</a>.</p><p>Referenced by <a class="el" href="group__g__collection.html#gdf1010d812aa53c3b27d991fa47b4f98">OCI_ElemFree()</a>, and <a class="el" href="group__g__usertypes.html#g3fd2c9dfdcab2c56400c95c31cc0851e">OCI_ObjectFree()</a>.</p></div></div><p><a class="anchor" name="gb54b3d47511ea08681f17469bd67a8be"></a><!-- doxytag: member="ocilib.h::OCI_ObjectGetBigInt" ref="gb54b3d47511ea08681f17469bd67a8be" args="(OCI_Object *obj, const mtext *attr)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT big_int OCI_API OCI_ObjectGetBigInt           </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 big 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#gb54b3d47511ea08681f17469bd67a8be" title="Return the big integer value of the given object attribute.">OCI_ObjectGetBigInt()</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#l00406">406</a> of file <a class="el" href="object_8c-source.html">object.c</a>.</p></div></div><p><a class="anchor" name="ge1a5c025c74cf611e9ed4b1330b72db9"></a><!-- doxytag: member="ocilib.h::OCI_ObjectGetColl" ref="ge1a5c025c74cf611e9ed4b1330b72db9" 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___coll.html">OCI_Coll</a>* OCI_API OCI_ObjectGetColl           </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 collection 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#ge1a5c025c74cf611e9ed4b1330b72db9" title="Return the collection value of the given object attribute.">OCI_ObjectGetColl()</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#l00614">614</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#l00290">OCI_Column::nty</a>, <a class="el" href="ocilib__types_8h-source.html#l00498">OCI_Object::nty</a>, and <a class="el" href="ocilib__types_8h-source.html#l00499">OCI_Object::objs</a>.</p></div></div><p><a class="anchor" name="g482b6b2454951874790451be6bc810f7"></a><!-- doxytag: member="ocilib.h::OCI_ObjectGetDate" ref="g482b6b2454951874790451be6bc810f7" 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___date.html">OCI_Date</a>* OCI_API OCI_ObjectGetDate           </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 date 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#g482b6b2454951874790451be6bc810f7" title="Return the date value of the given object attribute.">OCI_ObjectGetDate()</a> returns a valid value only for date 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#l00517">517</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#l00497">OCI_Object::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00448">OCI_Date::handle</a>, and <a class="el" href="ocilib__types_8h-source.html#l00499">OCI_Object::objs</a>.</p></div></div><p>

⌨️ 快捷键说明

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