📄 group__g__usertypes.html
字号:
<tr><td valign="top"></td><td valign="top"><em>obj</em> </td><td>- Object handle </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr</em> </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#g95ba08a32cf97b7bed6235cc48bd2300" title="Return the string value of the given object attribute.">OCI_ObjectGetString()</a> returns a valid value only for string 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#l00445">445</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>, and <a class="el" href="ocilib__types_8h-source.html#l00501">OCI_Object::buflen</a>.</p></div></div><p><a class="anchor" name="g35a2a5b42dc6a188c7c1226ea2472d2a"></a><!-- doxytag: member="ocilib.h::OCI_ObjectGetTimeStamp" ref="g35a2a5b42dc6a188c7c1226ea2472d2a" 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___timestamp.html">OCI_Timestamp</a>* OCI_API OCI_ObjectGetTimeStamp </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___object.html">OCI_Object</a> * </td> <td class="paramname"> <em>obj</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const mtext * </td> <td class="paramname"> <em>attr</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the timestamp 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> </td><td>- Object handle </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr</em> </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. OCI_ObjectGetTimestamp() returns a valid value only for timestamps 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#l00546">546</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="g73200e2bdceefd839151825b2dcdfdc2"></a><!-- doxytag: member="ocilib.h::OCI_ObjectGetUnsignedBigInt" ref="g73200e2bdceefd839151825b2dcdfdc2" args="(OCI_Object *obj, const mtext *attr)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT big_uint OCI_API OCI_ObjectGetUnsignedBigInt </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___object.html">OCI_Object</a> * </td> <td class="paramname"> <em>obj</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const mtext * </td> <td class="paramname"> <em>attr</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the unsigned 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> </td><td>- Object handle </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr</em> </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#g73200e2bdceefd839151825b2dcdfdc2" title="Return the unsigned big integer value of the given object attribute.">OCI_ObjectGetUnsignedBigInt()</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#l00419">419</a> of file <a class="el" href="object_8c-source.html">object.c</a>.</p></div></div><p><a class="anchor" name="g689f788d7a209d771e3bd58df9e2d107"></a><!-- doxytag: member="ocilib.h::OCI_ObjectGetUnsignedInt" ref="g689f788d7a209d771e3bd58df9e2d107" args="(OCI_Object *obj, const mtext *attr)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_ObjectGetUnsignedInt </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___object.html">OCI_Object</a> * </td> <td class="paramname"> <em>obj</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const mtext * </td> <td class="paramname"> <em>attr</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the unsigned 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> </td><td>- Object handle </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr</em> </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#g689f788d7a209d771e3bd58df9e2d107" title="Return the unsigned integer value of the given object attribute.">OCI_ObjectGetUnsignedInt()</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#l00393">393</a> of file <a class="el" href="object_8c-source.html">object.c</a>.</p></div></div><p><a class="anchor" name="gd3b4fbb26ad147d477a9865fffa318f7"></a><!-- doxytag: member="ocilib.h::OCI_ObjectGetUnsignedShort" ref="gd3b4fbb26ad147d477a9865fffa318f7" args="(OCI_Object *obj, const mtext *attr)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT unsigned short OCI_API OCI_ObjectGetUnsignedShort </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___object.html">OCI_Object</a> * </td> <td class="paramname"> <em>obj</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const mtext * </td> <td class="paramname"> <em>attr</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the unsigned short 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> </td><td>- Object handle </td></tr> <tr><td valign="top"></td><td valign="top"><em>attr</em> </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#gd3b4fbb26ad147d477a9865fffa318f7" title="Return the unsigned short value of the given object attribute.">OCI_ObjectGetUnsignedShort()</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#l00366">366</a> of file <a class="el" href="object_8c-source.html">object.c</a>.</p></div></div><p><a class="anchor" name="g345e271c4a631c57c034477136f564ed"></a><!-- doxytag: member="ocilib.h::OCI_ObjectSetBigInt" ref="g345e271c4a631c57c034477136f564ed" args="(OCI_Object *obj, const mtext *attr, big_int value)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT boolean OCI_API OCI_ObjectSetBigInt </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___object.html">OCI_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -