<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="cutter-Object-inspection-functions">
<refmeta>
<refentrytitle role="top_of_page" id="cutter-Object-inspection-functions.top_of_page">オブジェクト調査関数</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>Cutterライブラリ</refmiscinfo>
</refmeta>
<refnamediv>
<refname>オブジェクト調査関数</refname>
<refpurpose>デバッグ用にオブジェクトの詳細を示す関数です。</refpurpose>
</refnamediv>

<refsect1 id="cutter-Object-inspection-functions.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_return" colwidth="150px"/>
<colspec colname="functions_name"/>
<tbody>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-direct">gcut_inspect_direct</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-int">gcut_inspect_int</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-uint">gcut_inspect_uint</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-int64">gcut_inspect_int64</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-uint64">gcut_inspect_uint64</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-size">gcut_inspect_size</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-char">gcut_inspect_char</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-string">gcut_inspect_string</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-type">gcut_inspect_type</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-flags">gcut_inspect_flags</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-enum">gcut_inspect_enum</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-pointer">gcut_inspect_pointer</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-boolean">gcut_inspect_boolean</link> <phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gcut-inspect-double">gcut_inspect_double</link> <phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="cutter-Object-inspection-functions.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">オブジェクト階層</title>
<screen>
</screen>
</refsect1>


<refsect1 id="cutter-Object-inspection-functions.description" role="desc">
<title role="desc.title">説明</title>
<para>デバッグするために、テスト結果ではオブジェクトの詳細を示す必要があります。このセクションの関数はオブジェクトの詳細を示す場合に役立ちます。</para>

</refsect1>
<refsect1 id="cutter-Object-inspection-functions.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gcut-inspect-direct" role="function" condition="since:1.0.6">
<title>gcut_inspect_direct ()</title>
<indexterm zone="gcut-inspect-direct" role="1.0.6"><primary>gcut_inspect_direct</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_direct (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                     <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                     <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>符号なし整数として<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
gcut_inspect_direct(string, GUINT_TO_POINTER(100), NULL) -> "100"
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>ユーザが渡したデータ。（無視されます）</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.6から</para></refsect2>
<refsect2 id="gcut-inspect-int" role="function" condition="since:1.0.6">
<title>gcut_inspect_int ()</title>
<indexterm zone="gcut-inspect-int" role="1.0.6"><primary>gcut_inspect_int</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_int (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                  <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                  <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>整数として<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
gint int_value = 100;
gcut_inspect_int(string, &int_value, NULL) -> "100"
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>ユーザが渡したデータ。（無視されます）</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.6から</para></refsect2>
<refsect2 id="gcut-inspect-uint" role="function" condition="since:1.0.6">
<title>gcut_inspect_uint ()</title>
<indexterm zone="gcut-inspect-uint" role="1.0.6"><primary>gcut_inspect_uint</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_uint (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                   <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                   <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>符号なし整数として<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
guint uint_value = 100;
gcut_inspect_uint(string, &uint_value, NULL) -> "100"
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>ユーザが渡したデータ。（無視されます）</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.6から</para></refsect2>
<refsect2 id="gcut-inspect-int64" role="function" condition="since:1.1.3">
<title>gcut_inspect_int64 ()</title>
<indexterm zone="gcut-inspect-int64" role="1.1.3"><primary>gcut_inspect_int64</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_int64 (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                    <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                    <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>64bit整数として<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
gint64 int64_value = 100;
gcut_inspect_int64(string, &int64_value, NULL) -> "100"
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>ユーザが渡したデータ。（無視されます）</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.3から</para></refsect2>
<refsect2 id="gcut-inspect-uint64" role="function" condition="since:1.1.3">
<title>gcut_inspect_uint64 ()</title>
<indexterm zone="gcut-inspect-uint64" role="1.1.3"><primary>gcut_inspect_uint64</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_uint64 (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                     <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                     <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>64bit符号なし整数として<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
guint64 uint64_value = 100;
gcut_inspect_uint64(string, &uint64_value, NULL) -> "100"
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>ユーザが渡したデータ。（無視されます）</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.3から</para></refsect2>
<refsect2 id="gcut-inspect-size" role="function" condition="since:1.1.3">
<title>gcut_inspect_size ()</title>
<indexterm zone="gcut-inspect-size" role="1.1.3"><primary>gcut_inspect_size</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_size (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                   <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                   <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>符号なし整数として<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
gsize size_value = 100;
gcut_inspect_size(string, &size_value, NULL) -> "100"
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>ユーザが渡したデータ。（無視されます）</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.3から</para></refsect2>
<refsect2 id="gcut-inspect-char" role="function" condition="since:1.1.3">
<title>gcut_inspect_char ()</title>
<indexterm zone="gcut-inspect-char" role="1.1.3"><primary>gcut_inspect_char</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_char (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                   <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                   <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>文字として<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
gcut_inspect_char(string, 'C', NULL) -> "'C'"
gcut_inspect_char(string, '\0', NULL) -> "'\0'"
gcut_inspect_char(string, '\n', NULL) -> "'\n'"
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>ユーザが渡したデータ。（無視されます）</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.3から</para></refsect2>
<refsect2 id="gcut-inspect-string" role="function" condition="since:1.0.6">
<title>gcut_inspect_string ()</title>
<indexterm zone="gcut-inspect-string" role="1.0.6"><primary>gcut_inspect_string</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_string (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                     <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                     <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>文字列として<parameter>data</parameter>の詳細を示します。<link linkend="NULL:CAPS"><literal>NULL</literal></link>でも構いません。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
gcut_inspect_string(string, "string", NULL) -> "\"string\""
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>ユーザが渡したデータ。（無視されます）</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.6から</para></refsect2>
<refsect2 id="gcut-inspect-type" role="function" condition="since:1.0.6">
<title>gcut_inspect_type ()</title>
<indexterm zone="gcut-inspect-type" role="1.0.6"><primary>gcut_inspect_type</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_type (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                   <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                   <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para><link linkend="GType"><literal>GType</literal></link>として<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
gcut_inspect_type(string, GTK_TYPE_WINDOW, NULL) -> "<GtkWindow>"
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>ユーザが渡したデータ。（無視されます）</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.6から</para></refsect2>
<refsect2 id="gcut-inspect-flags" role="function" condition="since:1.0.6">
<title>gcut_inspect_flags ()</title>
<indexterm zone="gcut-inspect-flags" role="1.0.6"><primary>gcut_inspect_flags</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_flags (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                    <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                    <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>GFlagsの型の値として<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
GType flags_type;
GtkWidgetFlags flags;

flags_type = GTK_TYPE_WIDGET_FLAGS;
flags = GTK_TOPLEVEL | GTK_VISIBLE;
gcut_inspect_flags(string, &flags, &flags_type);
-> #<GtkWidgetFlags: toplevel|visible (GTK_TOPLEVEL:0x10)|(GTK_VISIBLE:0x100)>
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>GFlagsの型のポインタ。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.6から</para></refsect2>
<refsect2 id="gcut-inspect-enum" role="function" condition="since:1.0.6">
<title>gcut_inspect_enum ()</title>
<indexterm zone="gcut-inspect-enum" role="1.0.6"><primary>gcut_inspect_enum</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_enum (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                   <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                   <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>GEnumの型の値として<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
GType enum_type;
GtkWidgetHelpType value;

enum_type = GTK_TYPE_WIDGET_HELP_TYPE;
value = GTK_WIDGET_HELP_TOOLTIP;
gcut_inspect_enum(string, &value, &enum_type);
-> #<GtkWidgetHelpType: tooltip(GTK_WIDGET_HELP_TOOLTIP:0)>
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>GEnumの型のポインタ。</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.6から</para></refsect2>
<refsect2 id="gcut-inspect-pointer" role="function" condition="since:1.0.6">
<title>gcut_inspect_pointer ()</title>
<indexterm zone="gcut-inspect-pointer" role="1.0.6"><primary>gcut_inspect_pointer</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_pointer (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                      <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                      <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>ポインタとして<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
memory = malloc(1);
gcut_inspect_pointer(string, memory, NULL) -> "#<0xXXXXXXX>"
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>ユーザが渡したデータ。（無視されます）</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.0.6から</para></refsect2>
<refsect2 id="gcut-inspect-boolean" role="function" condition="since:1.1.3">
<title>gcut_inspect_boolean ()</title>
<indexterm zone="gcut-inspect-boolean" role="1.1.3"><primary>gcut_inspect_boolean</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_boolean (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                      <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                      <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>真偽値として<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
gboolean boolean_value;

boolean_value = TRUE;
gcut_inspect_boolean(string, &boolean_value, NULL) -> "TRUE"
boolean_value = FALSE;
gcut_inspect_boolean(string, &boolean_value, NULL) -> "FALSE"
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>ユーザが渡したデータ。（無視されます）</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.3から</para></refsect2>
<refsect2 id="gcut-inspect-double" role="function" condition="since:1.1.3">
<title>gcut_inspect_double ()</title>
<indexterm zone="gcut-inspect-double" role="1.1.3"><primary>gcut_inspect_double</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gcut_inspect_double (<parameter><link linkend="GString"><type>GString</type></link> *string</parameter>,
                     <parameter><link linkend="gconstpointer"><type>gconstpointer</type></link> data</parameter>,
                     <parameter><link linkend="gpointer"><type>gpointer</type></link> user_data</parameter>);</programlisting>
<para>倍精度浮動小数点数として<parameter>data</parameter>の詳細を示します。</para>
<para>例:</para>
<informalexample><programlisting><![CDATA[
gdouble double_value = 2.9;
gcut_inspect_double(string, &double_value, NULL) -> "2.9"
]]></programlisting></informalexample>
<para/>
<refsect3 role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>string</para></entry>
<entry role="parameter_description"><para>出力の文字列。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>data</para></entry>
<entry role="parameter_description"><para>関心のある対象。</para></entry>
<entry role="parameter_annotations"/></row>
<row><entry role="parameter_name"><para>user_data</para></entry>
<entry role="parameter_description"><para>ユーザが渡したデータ。（無視されます）</para></entry>
<entry role="parameter_annotations"/></row>
</tbody></tgroup></informaltable>
</refsect3><para role="since">1.1.3から</para></refsect2>

</refsect1>
<refsect1 id="cutter-Object-inspection-functions.other_details" role="details">
<title role="details.title">Types and Values</title>

</refsect1>

</refentry>
