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

📄 group__g__usertypes.html

📁 oci的源码,可以在任何平台上编译,相当方便实用
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<tr><td class="memItemLeft" nowrap align="right" valign="top">OCI_EXPORT <a class="el" href="struct_o_c_i___ref.html">OCI_Ref</a> *OCI_API&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__g__usertypes.html#gdd765dc3c5ebe2f3472c4fc2760e9b29">OCI_RefCreate</a> (<a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *con, <a class="el" href="struct_o_c_i___type_info.html">OCI_TypeInfo</a> *typinf)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a local Ref instance.  <a href="#gdd765dc3c5ebe2f3472c4fc2760e9b29"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">OCI_EXPORT boolean OCI_API&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__g__usertypes.html#g4d38338b68e78fbf2be15a9fc7a01b46">OCI_RefFree</a> (<a class="el" href="struct_o_c_i___ref.html">OCI_Ref</a> *ref)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Free a local Ref.  <a href="#g4d38338b68e78fbf2be15a9fc7a01b46"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">OCI_EXPORT boolean OCI_API&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__g__usertypes.html#g655de98d5835093f5c3ae92be2dd1feb">OCI_RefAssign</a> (<a class="el" href="struct_o_c_i___ref.html">OCI_Ref</a> *ref, <a class="el" href="struct_o_c_i___ref.html">OCI_Ref</a> *ref_src)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assign a Ref to another one.  <a href="#g655de98d5835093f5c3ae92be2dd1feb"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">OCI_EXPORT <a class="el" href="struct_o_c_i___type_info.html">OCI_TypeInfo</a> *OCI_API&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__g__usertypes.html#g10297abbda0bb65a93d07d23c975e153">OCI_RefGetTypeInfo</a> (<a class="el" href="struct_o_c_i___ref.html">OCI_Ref</a> *ref)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the type info object associated to the Ref.  <a href="#g10297abbda0bb65a93d07d23c975e153"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">OCI_EXPORT <a class="el" href="struct_o_c_i___object.html">OCI_Object</a> *OCI_API&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__g__usertypes.html#ge101916e55785052645366228f3a8751">OCI_RefGetObject</a> (<a class="el" href="struct_o_c_i___ref.html">OCI_Ref</a> *ref)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the object pointed by the Ref handle.  <a href="#ge101916e55785052645366228f3a8751"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">OCI_EXPORT boolean OCI_API&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__g__usertypes.html#g0517048cf09404346e3c40d7ad0b22df">OCI_RefIsNull</a> (<a class="el" href="struct_o_c_i___ref.html">OCI_Ref</a> *ref)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check if the Ref points to an object or not.  <a href="#g0517048cf09404346e3c40d7ad0b22df"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">OCI_EXPORT boolean OCI_API&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__g__usertypes.html#g70a93d2b8828277fecd24f7c6fd8b114">OCI_RefSetNull</a> (<a class="el" href="struct_o_c_i___ref.html">OCI_Ref</a> *ref)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Nullify the given Ref handle.  <a href="#g70a93d2b8828277fecd24f7c6fd8b114"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">OCI_EXPORT unsigned int OCI_API&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__g__usertypes.html#gb0bab77534a41f49a94bb593c35e03b4">OCI_RefGetHexSize</a> (<a class="el" href="struct_o_c_i___ref.html">OCI_Ref</a> *ref)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the size of the hex representation of the given Ref handle.  <a href="#gb0bab77534a41f49a94bb593c35e03b4"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">OCI_EXPORT boolean OCI_API&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__g__usertypes.html#g4634e5657c97065fb952a7e67b5447e8">OCI_RefToText</a> (<a class="el" href="struct_o_c_i___ref.html">OCI_Ref</a> *ref, int size, mtext *str)</td></tr><tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts a Ref handle value to a hexadecimal string.  <a href="#g4634e5657c97065fb952a7e67b5447e8"></a><br></td></tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="g0eb65d12c69fa2a0721182c73b9fe6a1"></a><!-- doxytag: member="ocilib.h::OCI_ObjectAssign" ref="g0eb65d12c69fa2a0721182c73b9fe6a1" args="(OCI_Object *obj, OCI_Object *obj_src)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_ObjectAssign           </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"><a class="el" href="struct_o_c_i___object.html">OCI_Object</a> *&nbsp;</td>          <td class="paramname"> <em>obj_src</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>Assign an object to another one. <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>- Destination Object handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>obj_src</em>&nbsp;</td><td>- Source Object handle</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Oracle proceeds to a deep copy of the object content<p>The two object handles must have the same type otherwise an exception is thrown</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#l00467">467</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#l00546">OCI_Object::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00269">OCI_Connection::cxt</a>, <a class="el" href="ocilib__types_8h-source.html#l00267">OCI_Connection::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00544">OCI_Object::handle</a>, <a class="el" href="ocilib__types_8h-source.html#l00552">OCI_Object::idx_ind</a>, <a class="el" href="ocilib__types_8h-source.html#l00551">OCI_Object::tab_ind</a>, <a class="el" href="ocilib__types_8h-source.html#l00629">OCI_TypeInfo::tdo</a>, and <a class="el" href="ocilib__types_8h-source.html#l00547">OCI_Object::typinf</a>.</p><p>Referenced by <a class="el" href="group__g__collection.html#gfc49861e1198edbe57eda8b98e77aa6a">OCI_ElemSetObject()</a>, and <a class="el" href="group__g__usertypes.html#g874ad68cde4b8bcbaacb9056f97896d9">OCI_ObjectSetObject()</a>.</p></div></div><p><a class="anchor" name="g5e8f1db675e2b4fe74c82bdc79be8294"></a><!-- doxytag: member="ocilib.h::OCI_ObjectCreate" ref="g5e8f1db675e2b4fe74c82bdc79be8294" args="(OCI_Connection *con, OCI_TypeInfo *typinf)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___object.html">OCI_Object</a>* OCI_API OCI_ObjectCreate           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype"><a class="el" href="struct_o_c_i___type_info.html">OCI_TypeInfo</a> *&nbsp;</td>          <td class="paramname"> <em>typinf</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>typinf</em>&nbsp;</td><td>- Object type (type info handle)</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#l00413">413</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#g5e8f1db675e2b4fe74c82bdc79be8294" 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#l00433">433</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#l00549">OCI_Object::buf</a>, <a class="el" href="ocilib__types_8h-source.html#l00546">OCI_Object::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00267">OCI_Connection::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00544">OCI_Object::handle</a>, <a class="el" href="ocilib__types_8h-source.html#l00545">OCI_Object::hstate</a>, and <a class="el" href="ocilib__types_8h-source.html#l00548">OCI_Object::objs</a>.</p><p>Referenced by <a class="el" href="group__g__collection.html#gdf1010d812aa53c3b27d991fa47b4f98">OCI_ElemFree()</a>, <a class="el" href="group__g__usertypes.html#g36700af6778222904fb6d78c306a124a">OCI_ObjectGetSelfRef()</a>, <a class="el" href="group__g__usertypes.html#g655de98d5835093f5c3ae92be2dd1feb">OCI_RefAssign()</a>, and <a class="el" href="group__g__usertypes.html#g70a93d2b8828277fecd24f7c6fd8b114">OCI_RefSetNull()</a>.</p>

⌨️ 快捷键说明

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