<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>gconfmm: Gnome::Conf::Value Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.5 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceGnome.html">Gnome</a>::<a class="el" href="namespaceGnome_1_1Conf.html">Conf</a>::<a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> </div> </div> <div class="contents"> <h1>Gnome::Conf::Value Class Reference</h1><!-- doxytag: class="Gnome::Conf::Value" -->Wrapper for primitive types. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="value_8h-source.html">value.h</a>></code> <p> <p> <a href="classGnome_1_1Conf_1_1Value-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#cb0c2f82bf9dd85f24598d292033bb0d">Value</a> (<a class="el" href="value__listhelpers_8h.html#e67b1074c428a8fff32bc6a4723ff506">GConfValue</a> *castitem, bool make_a_copy=false)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#63e0eb1d6375c72a95b63dfd2fef14c7">Value</a> (const <a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> &src)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#0ee044d4a39026b8fdc83a8186b62775">operator=</a> (const <a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> &src)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#5ee8070008b29d6aa3adf5cb6518df56">~Value</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="value__listhelpers_8h.html#e67b1074c428a8fff32bc6a4723ff506">GConfValue</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#64a706d96cf56e45493d62af2de8e030">gobj</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="value__listhelpers_8h.html#e67b1074c428a8fff32bc6a4723ff506">GConfValue</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#3ed04516a95e2f424e68f3bd7a25def3">gobj</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="value__listhelpers_8h.html#e67b1074c428a8fff32bc6a4723ff506">GConfValue</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#a20c40a20038668847d808aa5f8138fe">gobj_copy</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. <a href="#a20c40a20038668847d808aa5f8138fe"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#8c00daedf4f3316e6dcc5dce8b8d1fed">Value</a> (<a class="el" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> type=VALUE_INVALID)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <a href="#8c00daedf4f3316e6dcc5dce8b8d1fed"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#ca4f8a7fb134f4504eec174b31ba75bc">set</a> (gint val)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the integer value of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_INT. <a href="#ca4f8a7fb134f4504eec174b31ba75bc"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#aed2eaecb076294d4826c569dc1d7cea">set</a> (gdouble val)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the float value of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_FLOAT. <a href="#aed2eaecb076294d4826c569dc1d7cea"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#bacfef96aa8e3e88d2db5fc2d4dbd179">set</a> (bool val)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the boolean value of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_BOOL. <a href="#bacfef96aa8e3e88d2db5fc2d4dbd179"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#6af6c2114a0b3e7f2a2357fe70ca9e1a">set</a> (const <a class="el" href="classGnome_1_1Conf_1_1Schema.html">Schema</a> &sc)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the <a class="el" href="classGnome_1_1Conf_1_1Schema.html">Schema</a> of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_SCHEMA. <a href="#6af6c2114a0b3e7f2a2357fe70ca9e1a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#39e30c82fdab76881d8d411274aae74c">set_car</a> (const <a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> &car)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the car (in a pair, the first element) of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_PAIR. <a href="#39e30c82fdab76881d8d411274aae74c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#fa1ae6bc950e794370fdb7c6955e07ca">set_cdr</a> (const <a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> &cdr)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the cdr (in a pair, the second element) of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_PAIR. <a href="#fa1ae6bc950e794370fdb7c6955e07ca"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#a75ad8c830bfd6cd8c10f0fcd8a0a20a">set</a> (const Glib::ustring &val)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the string of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_STRING. <a href="#a75ad8c830bfd6cd8c10f0fcd8a0a20a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#057d5d8c8027990dabaf9fbae00a2537">set_list_type</a> (<a class="el" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> type)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the type of the elements of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> with type VALUE_LIST. <a href="#057d5d8c8027990dabaf9fbae00a2537"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#8e4cbbfc2a605e853592da868c2eead4">set_int_list</a> (const SListHandle_ValueInt &list)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> to contain a list of integers. <a href="#8e4cbbfc2a605e853592da868c2eead4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#6f8b6313b7b487aa9264349ad9f98672">set_bool_list</a> (const SListHandle_ValueBool &list)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> to contain a list of bools. <a href="#6f8b6313b7b487aa9264349ad9f98672"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#2f98753d0eff221d8eec0c2764656b9a">set_float_list</a> (const SListHandle_ValueFloat &list)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> to contain a list of doubles. <a href="#2f98753d0eff221d8eec0c2764656b9a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#215663f91d77cad35af3232d49a36b3a">set_string_list</a> (const SListHandle_ValueString &list)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> to contain a list of strings. <a href="#215663f91d77cad35af3232d49a36b3a"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#ee60d27cfad352d13d99cfecfdb190be">set_schema_list</a> (const SListHandle_ValueSchema &list)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> to contain a list of <a class="el" href="classGnome_1_1Conf_1_1Schema.html">Schema</a>. <a href="#ee60d27cfad352d13d99cfecfdb190be"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#27c8d797c64256a594ac457e927cfa4e">get_type</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the type of the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <a href="#27c8d797c64256a594ac457e927cfa4e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#9c979507cd99c59592acf0f6099b14a7">get_list_type</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the type of the list elements of the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <a href="#9c979507cd99c59592acf0f6099b14a7"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#e713e70be42ee07b556e991ebc9c3ba5">get_int</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the integer that the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> contains. <a href="#e713e70be42ee07b556e991ebc9c3ba5"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#7e45d55bacdcc7acf992d4cd0a2bce7d">get_bool</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the boolean that the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> contains. <a href="#7e45d55bacdcc7acf992d4cd0a2bce7d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#bf9a318b91ce642cb83a9de77bc772cc">get_float</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the double that the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> contains. <a href="#bf9a318b91ce642cb83a9de77bc772cc"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#150f2513c6baf8842f782c5a98ff135e">get_string</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the string that the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> contains. <a href="#150f2513c6baf8842f782c5a98ff135e"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGnome_1_1Conf_1_1Schema.html">Schema</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#2ed9e0bbd8f490d079c459bb3c384569">get_schema</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a copy of the <a class="el" href="classGnome_1_1Conf_1_1Schema.html">Schema</a> of the value. <a href="#2ed9e0bbd8f490d079c459bb3c384569"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#a8887b5281653902c092d9b047295271">get_car</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a copy of the car of a VALUE_PAIR <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <a href="#a8887b5281653902c092d9b047295271"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#2ff294a59591c01192d49ce53e968a9d">get_cdr</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a copy of the cdr of a VALUE_PAIR <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <a href="#2ff294a59591c01192d49ce53e968a9d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">SListHandle_ValueFloat </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#4a262a2aa81835cbe3860cd127cdfd74">get_float_list</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a list of doubles from the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <a href="#4a262a2aa81835cbe3860cd127cdfd74"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">SListHandle_ValueInt </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#30205c3f2ab0fde1f8d6ab4964d2408f">get_int_list</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the list of integers from the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <a href="#30205c3f2ab0fde1f8d6ab4964d2408f"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">SListHandle_ValueBool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#34e039c984e46a4897f4ee0029dfe209">get_bool_list</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the list of booleans from the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <a href="#34e039c984e46a4897f4ee0029dfe209"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">SListHandle_ValueString </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#d5ea7e8fd838b810135f0d6f19858ddc">get_string_list</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the list of strings from the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <a href="#d5ea7e8fd838b810135f0d6f19858ddc"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">SListHandle_ValueSchema </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#dc1d8390cbcec05ced2e317181b873f0">get_schema_list</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the list of Schemas from the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <a href="#dc1d8390cbcec05ced2e317181b873f0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::ustring </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#5c0cc371ff9d8a3fca58b0fe23dd7741">to_string</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> to a string. <a href="#5c0cc371ff9d8a3fca58b0fe23dd7741"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="value__listhelpers_8h.html#e67b1074c428a8fff32bc6a4723ff506">GConfValue</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#3e545e5eab3bb4c21281aede72376c3b">gobject_</a></td></tr> <tr><td colspan="2"><br><h2>Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGnome_1_1Conf_1_1Value.html">Gnome::Conf::Value</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Conf_1_1Value.html#c7ccdd8cc2e19e77705b7c41c6bcd151">wrap</a> (<a class="el" href="value__listhelpers_8h.html#e67b1074c428a8fff32bc6a4723ff506">GConfValue</a> *object, bool take_copy=false)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A Glib::wrap() method for this object. <a href="#c7ccdd8cc2e19e77705b7c41c6bcd151"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Wrapper for primitive types. <p> This class wraps the primitive types that are passed to and from instances of <a class="el" href="classGnome_1_1Conf_1_1Client.html" title="The main Gnome::Conf object.">Gnome::Conf::Client</a>. It has an associated <code>ValueType</code>, which is specified at creation time, but can be changed with assignment. If the type is <code>VALUE_INVALID</code> then the effect of the set and get methods is undefined. Using a default-constructed <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> without using any of the set methods produces undefined behaviour.<p> Compound Values of type VALUE_PAIR and VALUE_LIST can only have elements whose types are neither VALUE_PAIR or VALUE_LIST - they can only have primitive types.<p> The <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> class has copy-by-value semantics - all arguments to the set methods are copied.<p> Note that while the type is named VALUE_FLOAT, the accessors for floating-point values use <code>double</code>, not <code>float</code>, to preserve accuracy. <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="cb0c2f82bf9dd85f24598d292033bb0d"></a><!-- doxytag: member="Gnome::Conf::Value::Value" ref="cb0c2f82bf9dd85f24598d292033bb0d" args="(GConfValue *castitem, bool make_a_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gnome::Conf::Value::Value </td> <td>(</td> <td class="paramtype"><a class="el" href="value__listhelpers_8h.html#e67b1074c428a8fff32bc6a4723ff506">GConfValue</a> * </td> <td class="paramname"> <em>castitem</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>make_a_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="63e0eb1d6375c72a95b63dfd2fef14c7"></a><!-- doxytag: member="Gnome::Conf::Value::Value" ref="63e0eb1d6375c72a95b63dfd2fef14c7" args="(const Value &src)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gnome::Conf::Value::Value </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> & </td> <td class="paramname"> <em>src</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="5ee8070008b29d6aa3adf5cb6518df56"></a><!-- doxytag: member="Gnome::Conf::Value::~Value" ref="5ee8070008b29d6aa3adf5cb6518df56" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gnome::Conf::Value::~Value </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="8c00daedf4f3316e6dcc5dce8b8d1fed"></a><!-- doxytag: member="Gnome::Conf::Value::Value" ref="8c00daedf4f3316e6dcc5dce8b8d1fed" args="(ValueType type=VALUE_INVALID)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gnome::Conf::Value::Value </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> </td> <td class="paramname"> <em>type</em> = <code>VALUE_INVALID</code> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Create a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <p> You should call a <a class="el" href="classGnome_1_1Conf_1_1Value.html#ca4f8a7fb134f4504eec174b31ba75bc" title="Set the integer value of a Value whose type is VALUE_INT.">set()</a> method before using the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>type,:</em> </td><td>The type of the produced value. </td></tr> </table> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="0ee044d4a39026b8fdc83a8186b62775"></a><!-- doxytag: member="Gnome::Conf::Value::operator=" ref="0ee044d4a39026b8fdc83a8186b62775" args="(const Value &src)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a>& Gnome::Conf::Value::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> & </td> <td class="paramname"> <em>src</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="64a706d96cf56e45493d62af2de8e030"></a><!-- doxytag: member="Gnome::Conf::Value::gobj" ref="64a706d96cf56e45493d62af2de8e030" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="value__listhelpers_8h.html#e67b1074c428a8fff32bc6a4723ff506">GConfValue</a>* Gnome::Conf::Value::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>References <a class="el" href="value_8h-source.html#l00131">gobject_</a>.</p> </div> </div><p> <a class="anchor" name="3ed04516a95e2f424e68f3bd7a25def3"></a><!-- doxytag: member="Gnome::Conf::Value::gobj" ref="3ed04516a95e2f424e68f3bd7a25def3" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="value__listhelpers_8h.html#e67b1074c428a8fff32bc6a4723ff506">GConfValue</a>* Gnome::Conf::Value::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>References <a class="el" href="value_8h-source.html#l00131">gobject_</a>.</p> </div> </div><p> <a class="anchor" name="a20c40a20038668847d808aa5f8138fe"></a><!-- doxytag: member="Gnome::Conf::Value::gobj_copy" ref="a20c40a20038668847d808aa5f8138fe" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="value__listhelpers_8h.html#e67b1074c428a8fff32bc6a4723ff506">GConfValue</a>* Gnome::Conf::Value::gobj_copy </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. <p> </div> </div><p> <a class="anchor" name="ca4f8a7fb134f4504eec174b31ba75bc"></a><!-- doxytag: member="Gnome::Conf::Value::set" ref="ca4f8a7fb134f4504eec174b31ba75bc" args="(gint val)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set </td> <td>(</td> <td class="paramtype">gint </td> <td class="paramname"> <em>val</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Set the integer value of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_INT. <p> </div> </div><p> <a class="anchor" name="aed2eaecb076294d4826c569dc1d7cea"></a><!-- doxytag: member="Gnome::Conf::Value::set" ref="aed2eaecb076294d4826c569dc1d7cea" args="(gdouble val)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set </td> <td>(</td> <td class="paramtype">gdouble </td> <td class="paramname"> <em>val</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Set the float value of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_FLOAT. <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>val,:</em> </td><td>the <code>double</code> this <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> will be se to. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="bacfef96aa8e3e88d2db5fc2d4dbd179"></a><!-- doxytag: member="Gnome::Conf::Value::set" ref="bacfef96aa8e3e88d2db5fc2d4dbd179" args="(bool val)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>val</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Set the boolean value of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_BOOL. <p> </div> </div><p> <a class="anchor" name="6af6c2114a0b3e7f2a2357fe70ca9e1a"></a><!-- doxytag: member="Gnome::Conf::Value::set" ref="6af6c2114a0b3e7f2a2357fe70ca9e1a" args="(const Schema &sc)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGnome_1_1Conf_1_1Schema.html">Schema</a> & </td> <td class="paramname"> <em>sc</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Set the <a class="el" href="classGnome_1_1Conf_1_1Schema.html">Schema</a> of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_SCHEMA. <p> </div> </div><p> <a class="anchor" name="39e30c82fdab76881d8d411274aae74c"></a><!-- doxytag: member="Gnome::Conf::Value::set_car" ref="39e30c82fdab76881d8d411274aae74c" args="(const Value &car)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set_car </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> & </td> <td class="paramname"> <em>car</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Set the car (in a pair, the first element) of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_PAIR. <p> </div> </div><p> <a class="anchor" name="fa1ae6bc950e794370fdb7c6955e07ca"></a><!-- doxytag: member="Gnome::Conf::Value::set_cdr" ref="fa1ae6bc950e794370fdb7c6955e07ca" args="(const Value &cdr)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set_cdr </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> & </td> <td class="paramname"> <em>cdr</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Set the cdr (in a pair, the second element) of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_PAIR. <p> </div> </div><p> <a class="anchor" name="a75ad8c830bfd6cd8c10f0fcd8a0a20a"></a><!-- doxytag: member="Gnome::Conf::Value::set" ref="a75ad8c830bfd6cd8c10f0fcd8a0a20a" args="(const Glib::ustring &val)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set </td> <td>(</td> <td class="paramtype">const Glib::ustring & </td> <td class="paramname"> <em>val</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Set the string of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> whose type is VALUE_STRING. <p> </div> </div><p> <a class="anchor" name="057d5d8c8027990dabaf9fbae00a2537"></a><!-- doxytag: member="Gnome::Conf::Value::set_list_type" ref="057d5d8c8027990dabaf9fbae00a2537" args="(ValueType type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set_list_type </td> <td>(</td> <td class="paramtype"><a class="el" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> </td> <td class="paramname"> <em>type</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the type of the elements of a <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> with type VALUE_LIST. <p> </div> </div><p> <a class="anchor" name="8e4cbbfc2a605e853592da868c2eead4"></a><!-- doxytag: member="Gnome::Conf::Value::set_int_list" ref="8e4cbbfc2a605e853592da868c2eead4" args="(const SListHandle_ValueInt &list)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set_int_list </td> <td>(</td> <td class="paramtype">const SListHandle_ValueInt & </td> <td class="paramname"> <em>list</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> to contain a list of integers. <p> set_list_type(VALUE_INT) must have been called prior this call. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>list,:</em> </td><td>an STL-compatible container whose value_type is <code>int</code> </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="6f8b6313b7b487aa9264349ad9f98672"></a><!-- doxytag: member="Gnome::Conf::Value::set_bool_list" ref="6f8b6313b7b487aa9264349ad9f98672" args="(const SListHandle_ValueBool &list)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set_bool_list </td> <td>(</td> <td class="paramtype">const SListHandle_ValueBool & </td> <td class="paramname"> <em>list</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> to contain a list of bools. <p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGnome_1_1Conf_1_1Value.html#8e4cbbfc2a605e853592da868c2eead4" title="Sets the Value to contain a list of integers.">set_int_list</a> </dd></dl> </div> </div><p> <a class="anchor" name="2f98753d0eff221d8eec0c2764656b9a"></a><!-- doxytag: member="Gnome::Conf::Value::set_float_list" ref="2f98753d0eff221d8eec0c2764656b9a" args="(const SListHandle_ValueFloat &list)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set_float_list </td> <td>(</td> <td class="paramtype">const SListHandle_ValueFloat & </td> <td class="paramname"> <em>list</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> to contain a list of doubles. <p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGnome_1_1Conf_1_1Value.html#8e4cbbfc2a605e853592da868c2eead4" title="Sets the Value to contain a list of integers.">set_int_list</a> </dd></dl> </div> </div><p> <a class="anchor" name="215663f91d77cad35af3232d49a36b3a"></a><!-- doxytag: member="Gnome::Conf::Value::set_string_list" ref="215663f91d77cad35af3232d49a36b3a" args="(const SListHandle_ValueString &list)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set_string_list </td> <td>(</td> <td class="paramtype">const SListHandle_ValueString & </td> <td class="paramname"> <em>list</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> to contain a list of strings. <p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGnome_1_1Conf_1_1Value.html#8e4cbbfc2a605e853592da868c2eead4" title="Sets the Value to contain a list of integers.">set_int_list</a> </dd></dl> </div> </div><p> <a class="anchor" name="ee60d27cfad352d13d99cfecfdb190be"></a><!-- doxytag: member="Gnome::Conf::Value::set_schema_list" ref="ee60d27cfad352d13d99cfecfdb190be" args="(const SListHandle_ValueSchema &list)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Conf::Value::set_schema_list </td> <td>(</td> <td class="paramtype">const SListHandle_ValueSchema & </td> <td class="paramname"> <em>list</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> to contain a list of <a class="el" href="classGnome_1_1Conf_1_1Schema.html">Schema</a>. <p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGnome_1_1Conf_1_1Value.html#8e4cbbfc2a605e853592da868c2eead4" title="Sets the Value to contain a list of integers.">set_int_list</a> </dd></dl> </div> </div><p> <a class="anchor" name="27c8d797c64256a594ac457e927cfa4e"></a><!-- doxytag: member="Gnome::Conf::Value::get_type" ref="27c8d797c64256a594ac457e927cfa4e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> Gnome::Conf::Value::get_type </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Get the type of the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the type of the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> </dd></dl> </div> </div><p> <a class="anchor" name="9c979507cd99c59592acf0f6099b14a7"></a><!-- doxytag: member="Gnome::Conf::Value::get_list_type" ref="9c979507cd99c59592acf0f6099b14a7" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="group__gconfmmEnums.html#g20fb20bb54017f616a098ecec72927a1">ValueType</a> Gnome::Conf::Value::get_list_type </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Get the type of the list elements of the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <p> Do not call this method on non-list Values. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the type of the list elements. </dd></dl> </div> </div><p> <a class="anchor" name="e713e70be42ee07b556e991ebc9c3ba5"></a><!-- doxytag: member="Gnome::Conf::Value::get_int" ref="e713e70be42ee07b556e991ebc9c3ba5" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int Gnome::Conf::Value::get_int </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Get the integer that the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> contains. <p> </div> </div><p> <a class="anchor" name="7e45d55bacdcc7acf992d4cd0a2bce7d"></a><!-- doxytag: member="Gnome::Conf::Value::get_bool" ref="7e45d55bacdcc7acf992d4cd0a2bce7d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gnome::Conf::Value::get_bool </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Get the boolean that the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> contains. <p> </div> </div><p> <a class="anchor" name="bf9a318b91ce642cb83a9de77bc772cc"></a><!-- doxytag: member="Gnome::Conf::Value::get_float" ref="bf9a318b91ce642cb83a9de77bc772cc" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double Gnome::Conf::Value::get_float </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Get the double that the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> contains. <p> </div> </div><p> <a class="anchor" name="150f2513c6baf8842f782c5a98ff135e"></a><!-- doxytag: member="Gnome::Conf::Value::get_string" ref="150f2513c6baf8842f782c5a98ff135e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Glib::ustring Gnome::Conf::Value::get_string </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Get the string that the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> contains. <p> </div> </div><p> <a class="anchor" name="2ed9e0bbd8f490d079c459bb3c384569"></a><!-- doxytag: member="Gnome::Conf::Value::get_schema" ref="2ed9e0bbd8f490d079c459bb3c384569" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGnome_1_1Conf_1_1Schema.html">Schema</a> Gnome::Conf::Value::get_schema </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Get a copy of the <a class="el" href="classGnome_1_1Conf_1_1Schema.html">Schema</a> of the value. <p> </div> </div><p> <a class="anchor" name="a8887b5281653902c092d9b047295271"></a><!-- doxytag: member="Gnome::Conf::Value::get_car" ref="a8887b5281653902c092d9b047295271" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> Gnome::Conf::Value::get_car </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Get a copy of the car of a VALUE_PAIR <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <p> </div> </div><p> <a class="anchor" name="2ff294a59591c01192d49ce53e968a9d"></a><!-- doxytag: member="Gnome::Conf::Value::get_cdr" ref="2ff294a59591c01192d49ce53e968a9d" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGnome_1_1Conf_1_1Value.html">Value</a> Gnome::Conf::Value::get_cdr </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Get a copy of the cdr of a VALUE_PAIR <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <p> </div> </div><p> <a class="anchor" name="4a262a2aa81835cbe3860cd127cdfd74"></a><!-- doxytag: member="Gnome::Conf::Value::get_float_list" ref="4a262a2aa81835cbe3860cd127cdfd74" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SListHandle_ValueFloat Gnome::Conf::Value::get_float_list </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Gets a list of doubles from the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <p> Typical usage is <div class="fragment"><pre class="fragment"> std::vector<double> foo = value.get_float_list(); </pre></div>. <dl class="return" compact><dt><b>Returns:</b></dt><dd>: an STL-compatible container with doubles as its value type. Assign to an std::vector, list or deque for proper use. </dd></dl> </div> </div><p> <a class="anchor" name="30205c3f2ab0fde1f8d6ab4964d2408f"></a><!-- doxytag: member="Gnome::Conf::Value::get_int_list" ref="30205c3f2ab0fde1f8d6ab4964d2408f" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SListHandle_ValueInt Gnome::Conf::Value::get_int_list </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Retrieves the list of integers from the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGnome_1_1Conf_1_1Value.html#4a262a2aa81835cbe3860cd127cdfd74" title="Gets a list of doubles from the Value.">get_float_list</a> </dd></dl> </div> </div><p> <a class="anchor" name="34e039c984e46a4897f4ee0029dfe209"></a><!-- doxytag: member="Gnome::Conf::Value::get_bool_list" ref="34e039c984e46a4897f4ee0029dfe209" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SListHandle_ValueBool Gnome::Conf::Value::get_bool_list </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Retrieves the list of booleans from the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGnome_1_1Conf_1_1Value.html#4a262a2aa81835cbe3860cd127cdfd74" title="Gets a list of doubles from the Value.">get_float_list</a> </dd></dl> </div> </div><p> <a class="anchor" name="d5ea7e8fd838b810135f0d6f19858ddc"></a><!-- doxytag: member="Gnome::Conf::Value::get_string_list" ref="d5ea7e8fd838b810135f0d6f19858ddc" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SListHandle_ValueString Gnome::Conf::Value::get_string_list </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Retrieves the list of strings from the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <p> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGnome_1_1Conf_1_1Value.html#4a262a2aa81835cbe3860cd127cdfd74" title="Gets a list of doubles from the Value.">get_float_list</a> </dd></dl> </div> </div><p> <a class="anchor" name="dc1d8390cbcec05ced2e317181b873f0"></a><!-- doxytag: member="Gnome::Conf::Value::get_schema_list" ref="dc1d8390cbcec05ced2e317181b873f0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">SListHandle_ValueSchema Gnome::Conf::Value::get_schema_list </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Retrieves the list of Schemas from the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a>. <p> get_float_list </div> </div><p> <a class="anchor" name="5c0cc371ff9d8a3fca58b0fe23dd7741"></a><!-- doxytag: member="Gnome::Conf::Value::to_string" ref="5c0cc371ff9d8a3fca58b0fe23dd7741" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Glib::ustring Gnome::Conf::Value::to_string </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Convert the <a class="el" href="classGnome_1_1Conf_1_1Value.html" title="Wrapper for primitive types.">Value</a> to a string. <p> The string is not machine-parseable. Do not depend on the format of the string. </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="c7ccdd8cc2e19e77705b7c41c6bcd151"></a><!-- doxytag: member="Gnome::Conf::Value::wrap" ref="c7ccdd8cc2e19e77705b7c41c6bcd151" args="(GConfValue *object, bool take_copy=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGnome_1_1Conf_1_1Value.html">Gnome::Conf::Value</a> wrap </td> <td>(</td> <td class="paramtype"><a class="el" href="value__listhelpers_8h.html#e67b1074c428a8fff32bc6a4723ff506">GConfValue</a> * </td> <td class="paramname"> <em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p> A Glib::wrap() method for this 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>object</em> </td><td>The C instance. </td></tr> <tr><td valign="top"></td><td valign="top"><em>take_copy</em> </td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="3e545e5eab3bb4c21281aede72376c3b"></a><!-- doxytag: member="Gnome::Conf::Value::gobject_" ref="3e545e5eab3bb4c21281aede72376c3b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="value__listhelpers_8h.html#e67b1074c428a8fff32bc6a4723ff506">GConfValue</a>* <a class="el" href="classGnome_1_1Conf_1_1Value.html#3e545e5eab3bb4c21281aede72376c3b">Gnome::Conf::Value::gobject_</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Referenced by <a class="el" href="value_8h-source.html#l00124">gobj()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="value_8h-source.html">value.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 9 14:41:21 2008 for gconfmm by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> </body> </html>