<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Generic Values</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table border="0" width="100%"> <tr> <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td> <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td> </tr> </table> <center> <a class="qindex" href="../../index.html">Main Page</a> <a href="group__Widgets.html">Widgets</a> <a class="qindex" href="namespaces.html"> Namespaces</a> <a href="../../tutorial/html/index.html"> Book</a> </center> <hr width="100%"/> <!-- Generated by Doxygen 1.3-rc1 --> <h1>Generic Values</h1>Glib::Value<> is specialized for almost any type used within the gtkmm libraries. <a href="#_details">More...</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Compounds</h2></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value.html">Value</a></td></tr> <tr><td> </td><td><font size=-1><em>Generic value implementation for custom types.</em> <a href="classGlib_1_1Value.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01bool_01_4.html">Value<bool></a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01char_01_4.html">Value<char></a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01const_01T_01_5_01_4.html">Value<const T*></a></td></tr> <tr><td> </td><td><font size=-1><em>Specialization for pointers to const instances of any type.</em> <a href="classGlib_1_1Value_3_01const_01T_01_5_01_4.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01double_01_4.html">Value<double></a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01float_01_4.html">Value<float></a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01Glib_1_1RefPtr_3_01const_01T_01_4_01_4.html">Value<Glib::RefPtr<const T>></a></td></tr> <tr><td> </td><td><font size=-1><em>Partial specialization for RefPtr<> to const <a class="el" href="classGlib_1_1Object.html">Glib::Object</a>.</em> <a href="classGlib_1_1Value_3_01Glib_1_1RefPtr_3_01const_01T_01_4_01_4.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01Glib_1_1RefPtr_3_01T_01_4_01_4.html">Value<Glib::RefPtr<T>></a></td></tr> <tr><td> </td><td><font size=-1><em>Partial specialization for RefPtr<> to <a class="el" href="classGlib_1_1Object.html">Glib::Object</a>.</em> <a href="classGlib_1_1Value_3_01Glib_1_1RefPtr_3_01T_01_4_01_4.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01Glib_1_1ustring_01_4.html">Value<Glib::ustring></a></td></tr> <tr><td> </td><td><font size=-1><em>Specialization for UTF-8 strings.</em> <a href="classGlib_1_1Value_3_01Glib_1_1ustring_01_4.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01int_01_4.html">Value<int></a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01long_01_4.html">Value<long></a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01long_01long_01_4.html">Value<long long></a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01std_1_1string_01_4.html">Value<std::string></a></td></tr> <tr><td> </td><td><font size=-1><em>Specialization for strings.</em> <a href="classGlib_1_1Value_3_01std_1_1string_01_4.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01T_01_5_01_4.html">Value<T*></a></td></tr> <tr><td> </td><td><font size=-1><em>Specialization for pointers to instances of any type.</em> <a href="classGlib_1_1Value_3_01T_01_5_01_4.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01unsigned_01char_01_4.html">Value<unsigned char></a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01unsigned_01int_01_4.html">Value<unsigned int></a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01unsigned_01long_01_4.html">Value<unsigned long></a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01unsigned_01long_01long_01_4.html">Value<unsigned long long></a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value_3_01void_01_5_01_4.html">Value<void*></a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value__Boxed.html">Value_Boxed</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value__Enum.html">Value_Enum</a></td></tr> <tr><td> </td><td><font size=-1><em>Base class of Glib::Value<T> specializations for enum types.</em> <a href="classGlib_1_1Value__Enum.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value__Flags.html">Value_Flags</a></td></tr> <tr><td> </td><td><font size=-1><em>Base class of Glib::Value<T> specializations for flags types.</em> <a href="classGlib_1_1Value__Flags.html#_details">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1Value__Pointer.html">Value_Pointer</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase.html">ValueBase</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase__Boxed.html">ValueBase_Boxed</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase__Enum.html">ValueBase_Enum</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase__Flags.html">ValueBase_Flags</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase__Object.html">ValueBase_Object</a></td></tr> <tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classGlib_1_1ValueBase__String.html">ValueBase_String</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Glib::Value<> is specialized for almost any type used within the gtkmm libraries. <p> <ul> <li>Basic types like <code>int</code>, <code>char</code>, <code>bool</code>, etc., also <code>void*</code>.<ul> <li><a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a> and std::string.</li><li>Pointers to classes derived from <a class="el" href="classGlib_1_1Object.html">Glib::Object</a>.</li><li>Glib::RefPtr<> pointer types, which are assumed to be <a class="el" href="classGlib_1_1Object.html">Glib::Object</a> pointers.</li><li>All flags and enum types used within the gtkmm libraries.</li></ul> </li></ul> <p> If a type doesn't fit into any of these categories, then a generic implementation for custom types will be used. The requirements imposed on custom types are described in the <a class="el" href="classGlib_1_1Value.html">Glib::Value</a> class documentation. <hr><address><small> Generated for gtkmm by <a href="http://www.doxygen.org/index.html"> Doxygen</a> 1.3-rc1 © 1997-2001</small></address> </body> </html>